MIRA
|
Meta information for complex compounds, like classes and structs. More...
#include <serialization/MetaSerializer.h>
Classes | |
struct | Member |
A single member of the compound. More... | |
Public Types | |
typedef serialization::VersionType | VersionType |
Public Member Functions | |
template<typename Reflector > | |
void | reflect (Reflector &r) |
template<typename BinaryStream > | |
void | reflect (ConcreteBinarySerializer< BinaryStream, 0 > &r) |
void | addMember (const ReflectMemberMeta &memberMeta, TypeMetaPtr type) |
void | addMember (const std::string &name, TypeMetaPtr type) |
void | addMember (const std::string &name, const std::string &comment, TypeMetaPtr type) |
void | insertMember (const std::string &name, TypeMetaPtr type, int index) |
void | insertMember (const std::string &name, TypeMetaPtr type, const std::string &before) |
void | addInterface (const std::string &iface) |
void | addMethod (const MethodMetaPtr &method) |
void | setVersion (VersionType version) |
void | setVersion (const std::string &type, VersionType version) |
std::string | toString () const |
Public Attributes | |
std::map< std::string, VersionType > | version |
The version(s) of the described type's serialization format. More... | |
std::list< Member > | members |
The members of the compound. More... | |
std::list< std::string > | interfaces |
The reflected interfaces. More... | |
std::list< MethodMetaPtr > | methods |
The reflected methods (RPC methods) More... | |
Meta information for complex compounds, like classes and structs.
Contains information on version, members, RPC interfaces and RPC methods.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string toString | ( | ) | const |
std::map<std::string, VersionType> version |
The version(s) of the described type's serialization format.
std::list<Member> members |
The members of the compound.
std::list<std::string> interfaces |
The reflected interfaces.
std::list<MethodMetaPtr> methods |
The reflected methods (RPC methods)