![]() |
SheafSystem
0.0.0.0
|
Traits for primitive type T. More...
#include <primitive_traits.h>
Public Types | |
typedef T | type |
The primitive T. More... | |
Static Public Member Functions | |
static primitive_type | id () |
The primitive type id for T. More... | |
static size_type | size () |
The size of T in bytes. More... | |
static size_type | alignment () |
The alignment for T in bytes. More... | |
static std::string | name () |
The name of T. More... | |
static std::string | aliases () |
Other names for T. More... | |
static std::string | hdf_type_name () |
The name of T in the hdf file. More... | |
static int | hdf_type () |
The hdf type used to represent T in the hdf file. More... | |
static T | default_value () |
The default value for instances of type T. More... | |
Traits for primitive type T.
Definition at line 42 of file primitive_traits.h.
typedef T sheaf::primitive_traits< T >::type |
The primitive T.
Definition at line 48 of file primitive_traits.h.
|
static |
Other names for T.
Referenced by sheaf::primitive_attributes::primitive_attributes().
|
static |
The alignment for T in bytes.
Referenced by sheaf::primitive_attributes::primitive_attributes().
|
static |
The default value for instances of type T.
Referenced by sheaf::primitive_value::from_string(), and sheaf::primitive_value::primitive_value().
|
static |
The hdf type used to represent T in the hdf file.
Definition at line 104 of file primitive_traits.cc.
Referenced by sheaf::primitive_traits< bool >::hdf_type(), and sheaf::primitive_attributes::primitive_attributes().
|
static |
The name of T in the hdf file.
Referenced by sheaf::primitive_attributes::primitive_attributes().
|
static |
The primitive type id for T.
Referenced by sheaf::primitive_value::operator=(), sheaf::primitive_attributes::primitive_attributes(), and sheaf::primitive_value::primitive_value().
|
static |
The name of T.
Referenced by sheaf::primitive_attributes::primitive_attributes().
|
static |
The size of T in bytes.
Referenced by sheaf::deep_size(), and sheaf::primitive_attributes::primitive_attributes().