Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
Loading...
Searching...
No Matches
MultipleDerivedTestStruct Struct Reference

The MultipleDerivedTestStruct struct inherits from JsonSerializable and should hence have functional fromJson() and toJson() methods. More...

#include <structs.h>

Inheritance diagram for MultipleDerivedTestStruct:
[legend]
Collaboration diagram for MultipleDerivedTestStruct:
[legend]

Public Attributes

bool someBool = false
Public Attributes inherited from TestStruct
int someInt = 0
size_t someSize = 1
string someString = "foo"
string yetAnotherString = "bar"
Public Attributes inherited from AnotherTestStruct
vector< string > arrayOfStrings { "a", "b", "cd" }
Public Attributes inherited from NonSerializable
int ignored = 25

Additional Inherited Members

Static Public Attributes inherited from TestStruct
static constexpr const char * staticMember = "static members are just ignored"
static int anotherStaticMember

Detailed Description

The MultipleDerivedTestStruct struct inherits from JsonSerializable and should hence have functional fromJson() and toJson() methods.

This is asserted in JsonGeneratorTests::testMultipleInheritence();

Definition at line 90 of file structs.h.

Member Data Documentation

◆ someBool

bool MultipleDerivedTestStruct::someBool = false

Definition at line 94 of file structs.h.


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