Athena IO Library
athena::io::BufferYaml< sizeVar, VE > Struct Template Reference
Inheritance diagram for athena::io::BufferYaml< sizeVar, VE >:
Inheritance graph
Collaboration diagram for athena::io::BufferYaml< sizeVar, VE >:
Collaboration graph

Public Member Functions

void read (IStreamReader &reader)
 Common virtual read function for all DNA types.
 
void write (IStreamWriter &writer) const
 Common virtual write function for all DNA types.
 
size_t binarySize (size_t __isz) const
 Common virtual binary size computation for all DNA types. More...
 
void read (athena::io::YAMLDocReader &reader)
 
void write (athena::io::YAMLDocWriter &writer) const
 
- Public Member Functions inherited from athena::io::DNAYaml< VE >
virtual const char * DNATypeV () const
 
std::string toYAMLString () const
 
bool fromYAMLString (const std::string &str)
 
bool toYAMLStream (athena::io::IStreamWriter &fout) const
 
bool fromYAMLStream (athena::io::IStreamReader &fin)
 

Public Attributes

DNA< VE >::Delete expl
 

Additional Inherited Members

- Public Types inherited from athena::io::DNAYaml< VE >
using Buffer = struct athena::io::BufferYaml< sizeVar, DNAE >
 
using String = struct athena::io::StringYaml< sizeVar, DNAE >
 
using WString = struct athena::io::WStringYaml< sizeVar, VE >
 
using WStringAsString = struct athena::io::WStringAsStringYaml< sizeVar, DNAE >
 
- Public Types inherited from athena::io::DNA< DNAE >
template<typename T , Endian VE = DNAE>
using Value = T
 Template type signaling atdna to capture the value where it's used. More...
 
template<typename T , size_t cntVar, Endian VE = DNAE>
using Vector = std::vector< T >
 Template type wrapping std::vector and signaling atdna to manipulate it where it's used. More...
 
template<size_t sizeVar>
using Buffer = struct athena::io::Buffer< sizeVar, DNAE >
 Template type wrapping std::unique_ptr<atUint8[]> and signaling atdna to read a raw byte-buffer where it's used. More...
 
template<atInt32 sizeVar = -1>
using String = struct athena::io::String< sizeVar, DNAE >
 Template type wrapping std::string and signaling atdna to read string data where it's used. More...
 
template<atInt32 sizeVar = -1, Endian VE = DNAE>
using WString = struct athena::io::WString< sizeVar, VE >
 Template type wrapping std::wstring and signaling atdna to read wstring data where it's used. More...
 
template<atInt32 sizeVar = -1>
using WStringAsString = struct athena::io::WStringAsString< sizeVar, DNAE >
 Template type wrapping std::string and signaling atdna to read wstring data where it's used. More...
 
- Static Public Member Functions inherited from athena::io::DNAYaml< VE >
static const char * DNAType ()
 
static bool ValidateFromYAMLString (const std::string &str)
 
static bool ValidateFromYAMLStream (athena::io::IStreamReader &fin)
 
- Static Public Member Functions inherited from athena::io::DNA< DNAE >
template<typename T >
static size_t __EnumerateSize (size_t __isz, const T &v)
 Internal DNA helper for accumulating binarySize. More...
 

Detailed Description

template<size_t sizeVar, Endian VE>
struct athena::io::BufferYaml< sizeVar, VE >

Definition at line 1120 of file DNAYaml.hpp.

Member Function Documentation

template<size_t sizeVar, Endian VE>
size_t athena::io::BufferYaml< sizeVar, VE >::binarySize ( size_t  __isz) const
inlinevirtual

Common virtual binary size computation for all DNA types.

Parameters
__iszinitial cumulative value to add result to
Returns
Cumulative size

Implements athena::io::DNA< DNAE >.

Definition at line 1240 of file DNAYaml.hpp.


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