2017-10-18 23:07:17 +02:00
|
|
|
#ifndef SOME_STRUCTS_H
|
|
|
|
#define SOME_STRUCTS_H
|
|
|
|
|
|
|
|
//#include <string>
|
2017-10-23 00:41:10 +02:00
|
|
|
#include "../../lib/jsonserializable.h"
|
2017-10-18 23:07:17 +02:00
|
|
|
|
|
|
|
namespace TestNamespace1 {
|
|
|
|
|
|
|
|
#define SOME_MACRO
|
|
|
|
|
2017-10-23 00:41:10 +02:00
|
|
|
struct Person : public ReflectiveRapidJSON::JSONSerializable<Person>
|
2017-10-18 23:07:17 +02:00
|
|
|
{
|
|
|
|
SOME_MACRO
|
|
|
|
//std::string name;
|
|
|
|
int age;
|
|
|
|
bool alive;
|
|
|
|
};
|
|
|
|
|
2017-10-21 00:32:42 +02:00
|
|
|
struct NonReflectableClass
|
|
|
|
{
|
|
|
|
int foo;
|
2017-10-24 01:00:40 +02:00
|
|
|
};
|
2017-10-21 00:32:42 +02:00
|
|
|
|
|
|
|
struct SomeOtherNonReflectableClass : public NonReflectableClass
|
|
|
|
{
|
|
|
|
int bar;
|
2017-10-24 01:00:40 +02:00
|
|
|
};
|
|
|
|
|
2017-10-18 23:07:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace TestNamespace2 {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // SOME_STRUCTS_H
|