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