Represents an enum type. More...
#include <type.h>
Public Member Functions | |
template<class Archive > | |
void | save (Archive &ar, const unsigned int version) const |
template<class Archive > | |
void | load (Archive &ar, const unsigned int version) |
SHARED_DEFINE_MAKE_METHOD (enum_type,(string name, namespace_context ctx, int size, int asize, bool is_signed, vector< enum_info > &elems, const string &typedef_name),(name, ctx, size, asize, is_signed, elems, typedef_name)) virtual bool operator | |
virtual string | to_string () const |
virtual bool | is_enum_type () const |
vector< enum_info * > & | get_fields () |
virtual bool | is_signed_type () const |
Public Attributes | |
vector< enum_info * > | elems |
string | name |
namespace_context | ns |
bool | is_signed |
Friends | |
class | boost::serialization::access |
Represents an enum type.