Public Types | Public Member Functions | Private Attributes | List of all members
lexy::read_file_result< Encoding, MemoryResource > Class Template Reference

#include <file.hpp>

Public Types

using char_type = typename encoding::char_type
 
using encoding = Encoding
 

Public Member Functions

lexy::buffer< Encoding, MemoryResource > && buffer () &&noexcept
 
const lexy::buffer< Encoding, MemoryResource > & buffer () const &noexcept
 
file_error error () const noexcept
 
 operator bool () const noexcept
 
 read_file_result (file_error ec, lexy::buffer< Encoding, MemoryResource > &&buffer) noexcept
 
 read_file_result (file_error ec, MemoryResource *resource) noexcept
 

Private Attributes

lexy::buffer< Encoding, MemoryResource > _buffer
 
file_error _ec
 

Detailed Description

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

Definition at line 49 of file file.hpp.

Member Typedef Documentation

◆ char_type

template<typename Encoding = default_encoding, typename MemoryResource = void>
using lexy::read_file_result< Encoding, MemoryResource >::char_type = typename encoding::char_type

Definition at line 53 of file file.hpp.

◆ encoding

template<typename Encoding = default_encoding, typename MemoryResource = void>
using lexy::read_file_result< Encoding, MemoryResource >::encoding = Encoding

Definition at line 52 of file file.hpp.

Constructor & Destructor Documentation

◆ read_file_result() [1/2]

template<typename Encoding = default_encoding, typename MemoryResource = void>
lexy::read_file_result< Encoding, MemoryResource >::read_file_result ( file_error  ec,
lexy::buffer< Encoding, MemoryResource > &&  buffer 
)
inlineexplicitnoexcept

Definition at line 79 of file file.hpp.

◆ read_file_result() [2/2]

template<typename Encoding = default_encoding, typename MemoryResource = void>
lexy::read_file_result< Encoding, MemoryResource >::read_file_result ( file_error  ec,
MemoryResource *  resource 
)
inlineexplicitnoexcept

Definition at line 83 of file file.hpp.

Member Function Documentation

◆ buffer() [1/2]

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

Definition at line 65 of file file.hpp.

◆ buffer() [2/2]

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

Definition at line 60 of file file.hpp.

◆ error()

template<typename Encoding = default_encoding, typename MemoryResource = void>
file_error lexy::read_file_result< Encoding, MemoryResource >::error ( ) const
inlinenoexcept

Definition at line 71 of file file.hpp.

◆ operator bool()

template<typename Encoding = default_encoding, typename MemoryResource = void>
lexy::read_file_result< Encoding, MemoryResource >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 55 of file file.hpp.

Member Data Documentation

◆ _buffer

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

Definition at line 90 of file file.hpp.

◆ _ec

template<typename Encoding = default_encoding, typename MemoryResource = void>
file_error lexy::read_file_result< Encoding, MemoryResource >::_ec
private

Definition at line 91 of file file.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