pupene
0.2.0
|
Holds name and type of objects. More...
#include <traits.h>
Public Types | |
enum | Type { Type::Array = 1, Type::Object, Type::Value } |
Public Member Functions | |
Meta () | |
Meta (const char *name, Type type=Type::Value) | |
~Meta ()=default | |
Public Attributes | |
const char * | name |
The name typically matches the name of the represented field. More... | |
const Type | type = Type::Value |
|
strong |
|
inline |
Definition at line 13 of file traits.h.
Referenced by Meta(), pupene::fns::pup(), pupene::fns::pup_object(), and pupene::fns::pup_object_container().
|
default |
const char* pupene::Meta::name |
The name typically matches the name of the represented field.
Definition at line 18 of file traits.h.
Referenced by pupene::DebugPupper< Wrapped >::begin(), pupene::DebugPupper< Wrapped >::end(), Meta(), pupene::DebugPupper< Wrapped >::pup(), and pupene::fns::pup_object().
const Type pupene::Meta::type = Type::Value |
Definition at line 19 of file traits.h.
Referenced by pupene::JsonWriter::begin(), pupene::JsonReader::begin(), Meta(), and pupene::fns::pup_object().