#ifndef STRUCTPROPERTY_H_ #define STRUCTPROPERTY_H_ #include #include struct StructProperty { enum PropertyType { ParticleType, Colour, Integer, UInteger, Float, String, Char, UChar }; std::string Name; PropertyType Type; intptr_t Offset; StructProperty(std::string name, PropertyType type, intptr_t offset): Name(name), Type(type), Offset(offset) { } StructProperty(): Name(""), Type(Char), Offset(0) { } }; #endif