Athena IO Library
athena::io::DNAYaml< DNAE > Struct Template Referenceabstract
Inheritance diagram for athena::io::DNAYaml< DNAE >:
Inheritance graph
Collaboration diagram for athena::io::DNAYaml< DNAE >:
Collaboration graph

Public Types

template<size_t sizeVar>
using Buffer = struct athena::io::BufferYaml< sizeVar, DNAE >
 
template<atInt32 sizeVar = -1>
using String = struct athena::io::StringYaml< sizeVar, DNAE >
 
template<atInt32 sizeVar = -1, Endian VE = DNAE>
using WString = struct athena::io::WStringYaml< sizeVar, VE >
 
template<atInt32 sizeVar = -1>
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...
 

Public Member Functions

virtual void read (YAMLDocReader &in)=0
 
virtual void write (YAMLDocWriter &out) const =0
 
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 Member Functions inherited from athena::io::DNA< DNAE >
virtual void read (IStreamReader &)=0
 Common virtual read function for all DNA types.
 
virtual void write (IStreamWriter &) const =0
 Common virtual write function for all DNA types.
 
virtual size_t binarySize (size_t __isz) const =0
 Common virtual binary size computation for all DNA types. More...
 

Static Public Member Functions

static const char * DNAType ()
 
template<class DNASubtype >
static bool ValidateFromYAMLString (const std::string &str)
 
template<class DNASubtype >
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<Endian DNAE>
struct athena::io::DNAYaml< DNAE >

Definition at line 1132 of file DNAYaml.hpp.


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