Go to the SVN repository for this file.
44 int main(
intargc,
const char* argv[])
51 local.SetChoiceVariant(
local.FindVariantIndex(
"id")).SetPrimitiveValueInt(234);
60 info.SetChoiceVariant(
info.FindVariantIndex(
"null"));
66 local.SetChoiceVariant(
local.FindVariantIndex(
"id")).SetPrimitiveValueInt(987);
83 local.SetChoiceVariant(
local.FindVariantIndex(
"id")).SetPrimitiveValueInt(345);
88 local.SetChoiceVariant(
local.FindVariantIndex(
"str")).SetPrimitiveValueString(
"345string");
User-defined methods of the data storage class.
int main(int argc, const char *argv[])
#define MSerial_AsnText
I/O stream manipulators â.
TMemberIndex FindMemberIndex(const string &name) const
Find class member index by its name.
TMemberIndex FindVariantIndex(const string &name) const
Find choice variant index by its name.
CObjectInfo AddNewPointedElement(void) const
add new pointer element, create new pointed object and return it
pair< TObjectPtr, TTypeInfo > ObjectInfo(C &obj)
void SetPrimitiveValueString(const string &value)
bool IsSet(const CConstObjectInfo &object) const
CMemberIterator FindClassMember(const string &memberName) const
Find class member by its name.
void SetPrimitiveValueInt(int value)
CObjectInfo SetChoiceVariant(TMemberIndex index) const
Select choice variant, if necessary, and return variant object.
CObjectInfo SetClassMember(TMemberIndex index) const
Create member if necessary and return member object.
Magic spell ;-) needed for some weird compilers... very empiric.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4