Orfeo Toolbox  4.0
Classes | Namespaces | Macros | Functions
itkMetaDataObject.h File Reference
#include "itkMetaDataDictionary.h"
#include "itkMacro.h"
#include "itkCommand.h"
#include "itkFastMutexLock.h"
#include <cstring>
#include "itkMetaDataObject.hxx"
+ Include dependency graph for itkMetaDataObject.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  itk::MetaDataObject< MetaDataObjectType >
 Allows arbitrary data types to be stored as MetaDataObjectBase types, and to be stored in a MetaDataDictionary. More...
 

Namespaces

namespace  itk
 

Macros

#define ITK_IMAGE_TYPE_METADATAPRINT(STORAGE_TYPE)
 
#define ITK_OBJECT_TYPE_METADATAPRINT_1COMMA(TYPE_NAME_PART1, TYPE_NAME_PART2)
 An ugly macro to facilitate creating a simple implementation of the MetaDataObject< Type >::Print() function for itk::Objects that have 1 comma in their type definition. More...
 
#define NATIVE_TYPE_METADATAPRINT(TYPE_NAME)
 An ugly macro to facilitate creating a simple implementation of the MetaDataObject<Type>::Print() function for types that have operator<< defined. More...
 

Functions

template<typename T >
void itk::EncapsulateMetaData (MetaDataDictionary &Dictionary, const std::string &key, const T &invalue)
 
template<typename T >
void itk::EncapsulateMetaData (MetaDataDictionary &Dictionary, const char *key, const T &invalue)
 
template<typename T >
bool itk::ExposeMetaData (const MetaDataDictionary &Dictionary, const std::string key, T &outval)
 

Macro Definition Documentation

#define ITK_IMAGE_TYPE_METADATAPRINT (   STORAGE_TYPE)
Value:
ITK_OBJECT_TYPE_METADATAPRINT_1COMMA(itk::Image< STORAGE_TYPE, 2 >::Pointer) \
ITK_OBJECT_TYPE_METADATAPRINT_1COMMA(itk::Image< STORAGE_TYPE, 3 >::Pointer) \
ITK_OBJECT_TYPE_METADATAPRINT_1COMMA(itk::Image< STORAGE_TYPE, 4 >::Pointer) \
ITK_OBJECT_TYPE_METADATAPRINT_1COMMA(itk::Image< STORAGE_TYPE, 5 >::Pointer) \
ITK_OBJECT_TYPE_METADATAPRINT_1COMMA(itk::Image< STORAGE_TYPE, 6 >::Pointer) \
ITK_OBJECT_TYPE_METADATAPRINT_1COMMA(itk::Image< STORAGE_TYPE, 7 >::Pointer) \
ITK_OBJECT_TYPE_METADATAPRINT_1COMMA(itk::Image< STORAGE_TYPE, 8 >::Pointer) \

An ugly macro to facilitate creating a simple implementation of the MetaDataObject<Type>::Print() function for itk::Image<STORAGE_TYPE,[1-8]>::Pointer

Parameters
STORAGE_TYPEThe storage type of the image type to print.

Definition at line 271 of file itkMetaDataObject.h.

#define ITK_OBJECT_TYPE_METADATAPRINT_1COMMA (   TYPE_NAME_PART1,
  TYPE_NAME_PART2 
)
Value:
template< > \
void \
itk::MetaDataObject< TYPE_NAME_PART1, TYPE_NAME_PART2 > \
::Print(std::ostream & os) const \
{ \
this->m_MetaDataObjectValue->Print(os); \
} \
template< > \
void \
itk::MetaDataObject< const TYPE_NAME_PART1, TYPE_NAME_PART2 > \
::Print(std::ostream & os) const \
{ \
this->m_MetaDataObjectValue->Print(os); \
}

An ugly macro to facilitate creating a simple implementation of the MetaDataObject< Type >::Print() function for itk::Objects that have 1 comma in their type definition.

Parameters
TYPE_NAME_PART1
TYPE_NAME_PART2

Definition at line 248 of file itkMetaDataObject.h.

#define NATIVE_TYPE_METADATAPRINT (   TYPE_NAME)
Value:
template< > \
void \
itk::MetaDataObject< TYPE_NAME > \
::Print(std::ostream & os) const \
{ \
os << this->m_MetaDataObjectValue << std::endl; \
} \
template< > \
void \
itk::MetaDataObject< const TYPE_NAME > \
::Print(std::ostream & os) const \
{ \
os << this->m_MetaDataObjectValue << std::endl; \
}

An ugly macro to facilitate creating a simple implementation of the MetaDataObject<Type>::Print() function for types that have operator<< defined.

Parameters
TYPE_NAMEthe native type parameter type

Definition at line 224 of file itkMetaDataObject.h.


Generated at Sat Mar 8 2014 16:28:58 for Orfeo Toolbox with doxygen 1.8.3.1