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

Concrete wstring type used by DNA::WString. More...

#include <DNA.hpp>

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

Concrete wstring type used by DNA::WString.

Definition at line 30 of file DNA.hpp.

Member Function Documentation

template<atInt32 sizeVar, Endian VE>
size_t athena::io::WString< 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 206 of file DNA.hpp.


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