reflective-rapidjson/generator/testfiles/some_structs.h

41 lines
570 B
C++

#ifndef SOME_STRUCTS_H
#define SOME_STRUCTS_H
#include <string>
#include "../../lib/json/serializable.h"
namespace TestNamespace1 {
#define SOME_MACRO
struct Person : public ReflectiveRapidJSON::JsonSerializable<Person>
{
SOME_MACRO
//std::string name;
int age;
bool alive;
};
struct NonReflectableClass
{
int foo;
};
struct SomeOtherNonReflectableClass : public NonReflectableClass
{
int bar;
};
}
namespace TestNamespace2 {
struct ThirdPartyStruct {
std::string test1;
unsigned long long test2;
};
}
#endif // SOME_STRUCTS_H