Project Alice
Loading...
Searching...
No Matches
serialization::out_buffer Class Reference

#include <stools.hpp>

Public Member Functions

char const * data () const
 
size_t size () const
 
void finish_pending ()
 
void start_section ()
 
void finish_section ()
 
void finalize ()
 
template<typename T >
void write (T const &d)
 
template<typename T >
void write_fixed (T const *d, size_t count)
 
template<typename T >
void write_variable (T const *d, size_t count)
 
void write_relocation (std::function< void(out_buffer &)> &&f)
 
void write_relocation (size_t reloc_address, std::function< void(out_buffer &)> &&f)
 
size_t get_data_position () const
 
void write (std::string_view sv)
 
void write (std::string const &s)
 
void write (std::wstring_view sv)
 
void write (std::wstring const &s)
 

Detailed Description

Definition at line 16 of file stools.hpp.

Member Function Documentation

◆ data()

char const * serialization::out_buffer::data ( ) const
inline

Definition at line 22 of file stools.hpp.

◆ finalize()

void serialization::out_buffer::finalize ( )
inline

Definition at line 54 of file stools.hpp.

Here is the call graph for this function:

◆ finish_pending()

void serialization::out_buffer::finish_pending ( )
inline

Definition at line 28 of file stools.hpp.

Here is the caller graph for this function:

◆ finish_section()

void serialization::out_buffer::finish_section ( )
inline

Definition at line 45 of file stools.hpp.

Here is the caller graph for this function:

◆ get_data_position()

size_t serialization::out_buffer::get_data_position ( ) const
inline

Definition at line 88 of file stools.hpp.

◆ size()

size_t serialization::out_buffer::size ( ) const
inline

Definition at line 25 of file stools.hpp.

◆ start_section()

void serialization::out_buffer::start_section ( )
inline

Definition at line 39 of file stools.hpp.

Here is the call graph for this function:

◆ write() [1/5]

void serialization::out_buffer::write ( std::string const &  s)
inline

Definition at line 94 of file stools.hpp.

Here is the call graph for this function:

◆ write() [2/5]

void serialization::out_buffer::write ( std::string_view  sv)
inline

Definition at line 91 of file stools.hpp.

Here is the call graph for this function:

◆ write() [3/5]

void serialization::out_buffer::write ( std::wstring const &  s)
inline

Definition at line 100 of file stools.hpp.

Here is the call graph for this function:

◆ write() [4/5]

void serialization::out_buffer::write ( std::wstring_view  sv)
inline

Definition at line 97 of file stools.hpp.

Here is the call graph for this function:

◆ write() [5/5]

template<typename T >
void serialization::out_buffer::write ( T const &  d)
inline

Definition at line 62 of file stools.hpp.

Here is the caller graph for this function:

◆ write_fixed()

template<typename T >
void serialization::out_buffer::write_fixed ( T const *  d,
size_t  count 
)
inline

Definition at line 68 of file stools.hpp.

Here is the caller graph for this function:

◆ write_relocation() [1/2]

void serialization::out_buffer::write_relocation ( size_t  reloc_address,
std::function< void(out_buffer &)> &&  f 
)
inline

Definition at line 85 of file stools.hpp.

◆ write_relocation() [2/2]

void serialization::out_buffer::write_relocation ( std::function< void(out_buffer &)> &&  f)
inline

Definition at line 79 of file stools.hpp.

Here is the call graph for this function:

◆ write_variable()

template<typename T >
void serialization::out_buffer::write_variable ( T const *  d,
size_t  count 
)
inline

Definition at line 74 of file stools.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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