Go to the documentation of this file.
21 #ifndef mia_3d_valueattributetranslator_hh
22 #define mia_3d_valueattributetranslator_hh
38 static bool register_for(
const std::string& key);
40 PAttribute do_from_string(
const std::string& value)
const;
83 std::string do_as_string()
const;
84 bool do_is_equal(
const CAttribute& other)
const;
85 bool do_is_less(
const CAttribute& other)
const;
const char * typedescr() const
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
#define NS_MIA_END
conveniance define to end the mia namespace
A class to translate an attribute from a string.
C3DValueAttribute< int > C3DIntAttribute
a 3D integer vector
a translater for 3D vectors to and from a std::string
C3DValueAttributeTranslator< float > CVoxelAttributeTranslator
attribute translator for a 3D floating point vector used for the voxel size
C3DValueAttribute< float > CVoxelAttribute
a 3D floating point vector used for the voxel size attribute
C3DValueAttributeTranslator< int > C3DIntAttributeTranslator
attribute translator for a 3D integer vector
std::shared_ptr< CAttribute > PAttribute
define the shared pointer wrapped attribute pointer
a 3D vector value used in attributes
The class of all attributes of data that is considered to ve meta-data.