Public Member Functions | Private Attributes | List of all members
lexy::buffer< Encoding, MemoryResource >::builder Class Reference

Allows the creation of an uninitialized buffer that is then filled by the user. More...

#include <buffer.hpp>

Public Member Functions

 builder (std::size_t size, MemoryResource *resource=_detail::get_memory_resource< MemoryResource >())
 
char_typedata () const noexcept
 
buffer finish () &&noexcept
 
std::size_t size () const noexcept
 

Private Attributes

buffer _buffer
 

Detailed Description

template<typename Encoding = default_encoding, typename MemoryResource = void>
class lexy::buffer< Encoding, MemoryResource >::builder

Allows the creation of an uninitialized buffer that is then filled by the user.

Definition at line 108 of file buffer.hpp.

Constructor & Destructor Documentation

◆ builder()

template<typename Encoding = default_encoding, typename MemoryResource = void>
lexy::buffer< Encoding, MemoryResource >::builder::builder ( std::size_t  size,
MemoryResource *  resource = _detail::get_memory_resource<MemoryResource>() 
)
inlineexplicit

Definition at line 111 of file buffer.hpp.

Member Function Documentation

◆ data()

template<typename Encoding = default_encoding, typename MemoryResource = void>
char_type* lexy::buffer< Encoding, MemoryResource >::builder::data ( ) const
inlinenoexcept

Definition at line 119 of file buffer.hpp.

◆ finish()

template<typename Encoding = default_encoding, typename MemoryResource = void>
buffer lexy::buffer< Encoding, MemoryResource >::builder::finish ( ) &&
inlinenoexcept

Definition at line 128 of file buffer.hpp.

◆ size()

template<typename Encoding = default_encoding, typename MemoryResource = void>
std::size_t lexy::buffer< Encoding, MemoryResource >::builder::size ( ) const
inlinenoexcept

Definition at line 123 of file buffer.hpp.

Member Data Documentation

◆ _buffer

template<typename Encoding = default_encoding, typename MemoryResource = void>
buffer lexy::buffer< Encoding, MemoryResource >::builder::_buffer
private

Definition at line 134 of file buffer.hpp.


The documentation for this class was generated from the following file:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19