Meta-information associated with library objects. More...
#include <cmtkMetaInformationObject.h>
Public Member Functions | |
MetaInformationObject () | |
Default constructor: do nothing. | |
MetaInformationObject (const MetaInformationObject &other) | |
Copy constructor: copy meta information when copying higher-level objects. | |
virtual | ~MetaInformationObject () |
Virtual destructor template. | |
bool | MetaKeyExists (const std::string &key) const |
Check whether a key exists. | |
const std::string & | GetMetaInfo (const std::string &key) const |
Return a meta info value. | |
void | SetMetaInfo (const std::string &key, const std::string &value) |
Set a meta info value. | |
Public Attributes | |
std::map< std::string, std::string > | m_MetaInformation |
The actual table of meta data: maps keys to values. |
Meta-information associated with library objects.
Definition at line 63 of file cmtkMetaInformationObject.h.
cmtk::MetaInformationObject::MetaInformationObject | ( | ) | [inline] |
Default constructor: do nothing.
Definition at line 67 of file cmtkMetaInformationObject.h.
cmtk::MetaInformationObject::MetaInformationObject | ( | const MetaInformationObject & | other ) | [inline] |
Copy constructor: copy meta information when copying higher-level objects.
Definition at line 70 of file cmtkMetaInformationObject.h.
virtual cmtk::MetaInformationObject::~MetaInformationObject | ( | ) | [inline, virtual] |
Virtual destructor template.
Definition at line 75 of file cmtkMetaInformationObject.h.
const std::string & cmtk::MetaInformationObject::GetMetaInfo | ( | const std::string & | key ) | const |
Return a meta info value.
Definition at line 34 of file cmtkMetaInformationObject.cxx.
References m_MetaInformation.
Referenced by cmtk::VolumeIO::Write().
bool cmtk::MetaInformationObject::MetaKeyExists | ( | const std::string & | key ) | const [inline] |
Check whether a key exists.
Definition at line 78 of file cmtkMetaInformationObject.h.
Referenced by cmtk::VolumeIO::Write().
void cmtk::MetaInformationObject::SetMetaInfo | ( | const std::string & | key, |
const std::string & | value | ||
) |
Set a meta info value.
Definition at line 40 of file cmtkMetaInformationObject.cxx.
Referenced by cmtk::operator>>().
std::map<std::string,std::string> cmtk::MetaInformationObject::m_MetaInformation [mutable] |
The actual table of meta data: maps keys to values.
Definition at line 90 of file cmtkMetaInformationObject.h.
Referenced by cmtk::MakeInitialAffineTransformation::AlignDirectionVectors(), cmtk::UniformVolume::CloneGridVirtual(), cmtk::ClassStream::Get(), cmtk::UniformVolume::GetDownsampledAndAveraged(), cmtk::UniformVolume::GetInterleavedPaddedSubVolume(), cmtk::UniformVolume::GetInterleavedSubVolume(), GetMetaInfo(), cmtk::DataGrid::GetReoriented(), cmtk::AffineXform::MakeInverse(), cmtk::operator<<(), cmtk::operator>>(), cmtk::TransformChangeFromSpaceAffine::TransformChangeFromSpaceAffine(), cmtk::TransformChangeToSpaceAffine::TransformChangeToSpaceAffine(), cmtk::UniformDistanceMap< TDistanceDataType >::UniformDistanceMap(), cmtk::UniformVolume::UniformVolume(), cmtk::VolumeIO::Write(), cmtk::VolumeFromFile::WriteMetaImage(), and cmtk::GroupwiseRegistrationOutput::WriteXformsSeparateArchives().