Athena IO Library
athena::io::WStringAsString< sizeVar, VE > Struct Template Reference

Concrete converting-wstring type used by DNA::WStringAsString. More...

#include <DNA.hpp>

Inheritance diagram for athena::io::WStringAsString< sizeVar, VE >:
Inheritance graph
Collaboration diagram for athena::io::WStringAsString< 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...
 
std::string & operator= (const std::string &__str)
 
std::string & operator= (std::string &&__str)
 

Public Attributes

DNA< VE >::Delete expl
 

Additional Inherited Members

- Public Types inherited from athena::io::DNA< VE >
using Value = T
 Template type signaling atdna to capture the value where it's used. More...
 
using Vector = std::vector< T >
 Template type wrapping std::vector and signaling atdna to manipulate it where it's used. More...
 
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...
 
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...
 
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...
 
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::DNA< VE >
static size_t __EnumerateSize (size_t __isz, const T &v)
 Internal DNA helper for accumulating binarySize. More...
 

Detailed Description

template<atInt32 sizeVar, Endian VE>
struct athena::io::WStringAsString< sizeVar, VE >

Concrete converting-wstring type used by DNA::WStringAsString.

Definition at line 33 of file DNA.hpp.

Member Function Documentation

template<atInt32 sizeVar, Endian VE>
size_t athena::io::WStringAsString< 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< VE >.

Definition at line 225 of file DNA.hpp.


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