Helper class to write a struct from an RscVariant. This class uses the struct information stored in RscVariant.
More...
#include <RscStructWriter.hxx>
|
using | WriteElementFunction = RscVariant<>::WriteElementFunction |
|
|
| RscStructWriter (const RscVariant< MaxStringSize > &structVariant) |
| Constructs an RscStructWriter instance.
|
|
| RscStructWriter (const RscStructWriter &arg)=default |
| Copy constructor.
|
|
RscStructWriter & | operator= (const RscStructWriter &arg)=default |
| Assignment operator.
|
|
| ~RscStructWriter (void)=default |
| Destructs this instance and frees all resources.
|
|
template<class T > |
void | WriteNextField (const T ¤tField) |
| Writes the next field with primitive Type. More...
|
|
void | WriteNextField (const RscVariant< MaxStringSize > ¤tField) |
| Writes the next field that is contained in currentField. This method supports RscVariants with array and struct information. More...
|
|
void | WriteNextField (const RscString< MaxStringSize > ¤tField) |
| Writes the next string field. More...
|
|
template<int MaxStringSize>
class Arp::System::Rsc::Services::RscStructWriter< MaxStringSize >
Helper class to write a struct from an RscVariant. This class uses the struct information stored in RscVariant.
◆ WriteNextField() [1/3]
template<int MaxStringSize>
Writes the next string field.
- Parameters
-
◆ WriteNextField() [2/3]
template<int MaxStringSize>
Writes the next field that is contained in currentField. This method supports RscVariants with array and struct information.
- Parameters
-
◆ WriteNextField() [3/3]
template<int MaxStringSize>
template<class T >
Writes the next field with primitive Type.
- Parameters
-
currentField | Reference to value |
- Template Parameters
-
The documentation for this class was generated from the following file: