Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::MetaDataDictionary Class Reference

#include <itkMetaDataDictionary.h>

Collaboration diagram for itk::MetaDataDictionary:

Collaboration graph
[legend]
List of all members.

Detailed Description

Author:
Hans J. Johnson 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 35 of file itkMetaDataDictionary.h.

Public Types

typedef MetaDataDictionaryMapType::const_iterator ConstIterator
typedef MetaDataDictionaryMapType::iterator Iterator
typedef MetaDataDictionary Self

Public Member Functions

ConstIterator Begin () const
Returns an iterator to the
beginning of the map *Iterator 
Begin ()
ConstIterator End () const
Returns an iterator to the
end of the map *Iterator 
End ()
ConstIterator Find (const std::string &key) const
Returns an iterator matching
the string key *Iterator 
Find (const std::string &key)
std::vector< std::string > GetKeys () const
bool HasKey (const std::string &)
 MetaDataDictionary (const MetaDataDictionary &)
 MetaDataDictionary ()
void operator= (const MetaDataDictionary &)
const MetaDataObjectBaseoperator[] (const std::string &) const
MetaDataObjectBase::Pointeroperator[] (const std::string &)
virtual void Print (std::ostream &os) const
virtual ~MetaDataDictionary ()

Classes

class  MetaDataDictionaryMapType


Member Typedef Documentation

typedef MetaDataDictionaryMapType::const_iterator itk::MetaDataDictionary::ConstIterator
 

Definition at line 54 of file itkMetaDataDictionary.h.

typedef MetaDataDictionaryMapType::iterator itk::MetaDataDictionary::Iterator
 

Definition at line 53 of file itkMetaDataDictionary.h.

typedef MetaDataDictionary itk::MetaDataDictionary::Self
 

Definition at line 38 of file itkMetaDataDictionary.h.


Constructor & Destructor Documentation

itk::MetaDataDictionary::MetaDataDictionary  ) 
 

itk::MetaDataDictionary::MetaDataDictionary const MetaDataDictionary  ) 
 

virtual itk::MetaDataDictionary::~MetaDataDictionary  )  [virtual]
 


Member Function Documentation

ConstIterator itk::MetaDataDictionary::Begin  )  const
 

Returns an iterator to the beginning of the map* Iterator itk::MetaDataDictionary::Begin  ) 
 

Warning:
the following functions SHOULD NOT be used with the visual studio 6 compiler since iterator outside of the dll context cannot be dereferenced safely

ConstIterator itk::MetaDataDictionary::End  )  const
 

Returns an iterator to the end of the map* Iterator itk::MetaDataDictionary::End  ) 
 

ConstIterator itk::MetaDataDictionary::Find const std::string &  key  )  const
 

Returns an iterator matching the string key* Iterator itk::MetaDataDictionary::Find const std::string &  key  ) 
 

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 &   ) 
 

Referenced by itk::ExposeMetaData().

void itk::MetaDataDictionary::operator= const MetaDataDictionary  ) 
 

const MetaDataObjectBase* itk::MetaDataDictionary::operator[] const std::string &   )  const
 

MetaDataObjectBase::Pointer& itk::MetaDataDictionary::operator[] const std::string &   ) 
 

virtual void itk::MetaDataDictionary::Print std::ostream &  os  )  const [virtual]
 

Defines the default behavior for printing out this element

Parameters:
os An output stream


The documentation for this class was generated from the following file:
Generated at Sun Jul 9 20:42:45 2006 for ITK by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2000