Helper class to read a struct from an RscVariant. This class uses the struct information stored in RscVariant.
More...
#include <RscStructReader.hxx>
|
using | ReadElementFunction = RscVariant<>::ReadElementFunction |
|
|
| RscStructReader (const RscVariant< MaxStringSize > &structVariant) |
| Constructs an RscStructReader instance.
|
|
| RscStructReader (const RscStructReader &arg)=default |
| Copy constructor.
|
|
RscStructReader & | operator= (const RscStructReader &arg)=default |
| Assignment operator.
|
|
| ~RscStructReader (void)=default |
| Destructs this instance and frees all resources.
|
|
size_t | GetFieldCount (void) const |
| Gets the field count of the struct; More...
|
|
template<class T > |
void | ReadNextField (T ¤tField) |
| Reads the next field of current struct. This method if field is primitve and known. More...
|
|
void | ReadNextField (RscString< MaxStringSize > ¤tField) |
| Reads the next field of current struct. This method if field contains string type. More...
|
|
void | ReadNextField (RscVariant< MaxStringSize > &value) |
| Reads the next field of current struct. This method is used if field is an object, an array, a struct or unknown. More...
|
|
template<int MaxStringSize>
class Arp::System::Rsc::Services::RscStructReader< MaxStringSize >
Helper class to read a struct from an RscVariant. This class uses the struct information stored in RscVariant.
◆ GetFieldCount()
template<int MaxStringSize>
Gets the field count of the struct;
- Returns
- Field count
◆ ReadNextField() [1/3]
template<int MaxStringSize>
Reads the next field of current struct. This method if field contains string type.
- Parameters
-
◆ ReadNextField() [2/3]
template<int MaxStringSize>
Reads the next field of current struct. This method is used if field is an object, an array, a struct or unknown.
- Parameters
-
◆ ReadNextField() [3/3]
template<int MaxStringSize>
template<class T >
Reads the next field of current struct. This method if field is primitve and known.
- Parameters
-
currentField | Reference to store read value |
- Template Parameters
-
The documentation for this class was generated from the following file: