ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkMetaDataDictionary.h>
Provides a mechanism for storing a collection of arbitrary data types.
The MetaDataDictionary, along with the MetaDataObject derived template classes, is designed to provide a mechanism for storing a collection of arbitrary data types. The main motivation for such a collection is to associate arbitrary data elements with itk DataObjects.
Definition at line 40 of file itkMetaDataDictionary.h.
Classes | |
class | MetaDataDictionaryMapType |
Public Types | |
typedef MetaDataDictionaryMapType::const_iterator | ConstIterator |
typedef MetaDataDictionaryMapType::iterator | Iterator |
typedef MetaDataDictionary | Self |
Public Member Functions | |
Iterator | Begin () |
ConstIterator | Begin () const |
void | Clear () |
Iterator | End () |
ConstIterator | End () const |
Iterator | Find (const std::string &key) |
ConstIterator | Find (const std::string &key) const |
const MetaDataObjectBase * | Get (const std::string &) const |
std::vector< std::string > | GetKeys () const |
bool | HasKey (const std::string &) const |
MetaDataDictionary () | |
MetaDataDictionary (const MetaDataDictionary &) | |
void | operator= (const MetaDataDictionary &) |
MetaDataObjectBase::Pointer & | operator[] (const std::string &) |
const MetaDataObjectBase * | operator[] (const std::string &) const |
virtual void | Print (std::ostream &os) const |
void | Set (const std::string &, MetaDataObjectBase *) |
virtual | ~MetaDataDictionary () |
Private Attributes | |
MetaDataDictionaryMapType * | m_Dictionary |
typedef MetaDataDictionaryMapType::const_iterator itk::MetaDataDictionary::ConstIterator |
Definition at line 57 of file itkMetaDataDictionary.h.
typedef MetaDataDictionaryMapType::iterator itk::MetaDataDictionary::Iterator |
Definition at line 56 of file itkMetaDataDictionary.h.
Definition at line 43 of file itkMetaDataDictionary.h.
itk::MetaDataDictionary::MetaDataDictionary | ( | ) |
itk::MetaDataDictionary::MetaDataDictionary | ( | const MetaDataDictionary & | ) |
|
virtual |
Iterator itk::MetaDataDictionary::Begin | ( | ) |
ConstIterator itk::MetaDataDictionary::Begin | ( | ) | const |
void itk::MetaDataDictionary::Clear | ( | ) |
remove all MetaObjects from dictionary
Iterator itk::MetaDataDictionary::End | ( | ) |
Returns an iterator to the end of the map
ConstIterator itk::MetaDataDictionary::End | ( | ) | const |
Iterator itk::MetaDataDictionary::Find | ( | const std::string & | key | ) |
Returns an iterator matching the string key
ConstIterator itk::MetaDataDictionary::Find | ( | const std::string & | key | ) | const |
const MetaDataObjectBase* itk::MetaDataDictionary::Get | ( | const std::string & | ) | const |
std::vector< std::string > itk::MetaDataDictionary::GetKeys | ( | ) | const |
Returns a vector of keys to the key/value entries in the dictionary. Iterate through the dictionary using these keys.
bool itk::MetaDataDictionary::HasKey | ( | const std::string & | ) | const |
Referenced by itk::ExposeMetaData().
void itk::MetaDataDictionary::operator= | ( | const MetaDataDictionary & | ) |
MetaDataObjectBase::Pointer& itk::MetaDataDictionary::operator[] | ( | const std::string & | ) |
const MetaDataObjectBase* itk::MetaDataDictionary::operator[] | ( | const std::string & | ) | const |
|
virtual |
Defines the default behavior for printing out this element
os | An output stream |
void itk::MetaDataDictionary::Set | ( | const std::string & | , |
MetaDataObjectBase * | |||
) |
|
private |
Definition at line 117 of file itkMetaDataDictionary.h.