Orfeo Toolbox  3.16
Public Types | Public Member Functions | Public Attributes | Protected Attributes
itk::Brains2IPLHeaderInfo Class Reference

#include <itkBrains2IPLHeaderInfo.h>

+ Inheritance diagram for itk::Brains2IPLHeaderInfo:
+ Collaboration diagram for itk::Brains2IPLHeaderInfo:

List of all members.

Public Types

typedef const SelfConstPointer
typedef SelfPointer
typedef Brains2HeaderBase Self
typedef std::list< std::pair
< std::string, std::string > > 
Superclass

Public Member Functions

 Brains2IPLHeaderInfo ()
 ~Brains2IPLHeaderInfo ()
void ClearHeader (void)
bool DoesKeyExist (const std::string &KeyID) const
float getFloat (const std::string &KeyID) const
virtual std::string GetHeaderBeginTag (void) const
virtual std::string GetHeaderEndTag (void) const
int getInt (const std::string &KeyID) const
std::string getString (const std::string &KeyID) const
virtual void PrintSelf (std::ostream &os) const
virtual void ReadBrains2Header (std::string filename)
virtual std::ifstream & ReadBrains2Header (std::ifstream &inputstream)
virtual void WriteBrains2Header (std::string filename) const
virtual std::ofstream & WriteBrains2Header (std::ofstream &outputstream) const

Public Attributes

elements
 STL member.

Protected Attributes

std::list< Brains2HeaderBase * > m_Child

Detailed Description

Definition at line 26 of file itkBrains2IPLHeaderInfo.h.


Member Typedef Documentation

typedef const Self* itk::Brains2HeaderBase::ConstPointer
inherited

Definition at line 43 of file itkBrains2HeaderBase.h.

Definition at line 42 of file itkBrains2HeaderBase.h.

Standard class typedefs.

Definition at line 40 of file itkBrains2HeaderBase.h.

typedef std::list< std::pair<std::string, std::string> > itk::Brains2HeaderBase::Superclass
inherited

Definition at line 41 of file itkBrains2HeaderBase.h.


Constructor & Destructor Documentation

itk::Brains2IPLHeaderInfo::Brains2IPLHeaderInfo ( )

Definition at line 23 of file itkBrains2IPLHeaderInfo.cxx.

itk::Brains2IPLHeaderInfo::~Brains2IPLHeaderInfo ( )

Definition at line 27 of file itkBrains2IPLHeaderInfo.cxx.


Member Function Documentation

void itk::Brains2HeaderBase::ClearHeader ( void  )
inherited

A function to clear the header of all values

Author:
Hans J. Johnson
Postcondition:
After this function is completed, the lists will all be empty.

Definition at line 48 of file itkBrains2HeaderBase.cxx.

References itk::Brains2HeaderBase::m_Child.

Referenced by itk::Brains2MaskImageIO::CanReadFile(), and itk::Brains2HeaderBase::~Brains2HeaderBase().

bool itk::Brains2HeaderBase::DoesKeyExist ( const std::string &  KeyID) const
inherited

A funtion to determine if a tag exists

Author:
Hans J. Johnson
Parameters:
KeyID
Returns:
true if a key is found, and false otherwise

Definition at line 158 of file itkBrains2HeaderBase.cxx.

References itk::Brains2HeaderBase::m_Child.

Referenced by itk::Brains2MaskImageIO::CanReadFile().

float itk::Brains2HeaderBase::getFloat ( const std::string &  KeyID) const
inherited

A function to return the value associated with a key as a floating point number.

Author:
Hans J. Johnson
Parameters:
KeyIDA string that identifies the desired key.
Returns:
The requested floating point number, or 0.0F if KeyID not found.

Definition at line 212 of file itkBrains2HeaderBase.cxx.

References itk::Brains2HeaderBase::getString().

Referenced by itk::Brains2MaskImageIO::CanReadFile().

std::string itk::Brains2IPLHeaderInfo::GetHeaderBeginTag ( void  ) const
virtual

Implements itk::Brains2HeaderBase.

Definition at line 31 of file itkBrains2IPLHeaderInfo.cxx.

std::string itk::Brains2IPLHeaderInfo::GetHeaderEndTag ( void  ) const
virtual

Implements itk::Brains2HeaderBase.

Definition at line 32 of file itkBrains2IPLHeaderInfo.cxx.

int itk::Brains2HeaderBase::getInt ( const std::string &  KeyID) const
inherited

A function to return the value associated with a key as an integer number.

Author:
Hans J. Johnson
Parameters:
KeyIDA string that identifies the desired key.
Returns:
The requested integer number, or 0. if KeyID not found.

Definition at line 222 of file itkBrains2HeaderBase.cxx.

References itk::Brains2HeaderBase::getString().

Referenced by itk::Brains2MaskImageIO::CanReadFile().

std::string itk::Brains2HeaderBase::getString ( const std::string &  KeyID) const
inherited

A function to return the value associated with a key as a string.

Author:
Hans J. Johnson
Parameters:
KeyIDA string that identifies the desired key.
Returns:
The requested string, or "" if KeyID not found.

Definition at line 184 of file itkBrains2HeaderBase.cxx.

References itk::Brains2HeaderBase::m_Child.

Referenced by itk::Brains2MaskImageIO::CanReadFile(), itk::Brains2HeaderBase::getFloat(), and itk::Brains2HeaderBase::getInt().

void itk::Brains2HeaderBase::PrintSelf ( std::ostream &  os) const
virtualinherited

A routine for printing Brains2 header information to a standard stream

Author:
Hans J. Johnson
Parameters:
osThe stream to print to

Definition at line 139 of file itkBrains2HeaderBase.cxx.

References itk::Brains2HeaderBase::m_Child.

void itk::Brains2HeaderBase::ReadBrains2Header ( std::string  filename)
virtualinherited

A routine for reading Brains2 header information from a file

Author:
Hans J. Johnson
Parameters:
filenameThe name of the file to read header information from

Definition at line 36 of file itkBrains2HeaderBase.cxx.

Referenced by itk::Brains2MaskImageIO::CanReadFile().

std::ifstream & itk::Brains2HeaderBase::ReadBrains2Header ( std::ifstream &  inputstream)
virtualinherited

A routine for reading Brains2 header information from a file

Author:
Hans J. Johnson
Parameters:
inputstreamThe file stream to read from.
Returns:
the current location in the input stream
Precondition:
The file must already have been opened and be prepared to reading
Postcondition:
The file stream is left open.

Definition at line 76 of file itkBrains2HeaderBase.cxx.

References itk::Brains2HeaderFactory::CreateBrains2HeaderReader(), itk::Brains2HeaderBase::GetHeaderEndTag(), itk::Brains2HeaderBase::m_Child, NULL, and itk::value_type().

void itk::Brains2HeaderBase::WriteBrains2Header ( std::string  filename) const
virtualinherited

A routine for writing Brains2 header information from a file

Author:
Hans J. Johnson
Parameters:
filenameThe name of the file to write header information to

Definition at line 64 of file itkBrains2HeaderBase.cxx.

std::ofstream & itk::Brains2HeaderBase::WriteBrains2Header ( std::ofstream &  outputstream) const
virtualinherited

A routine for writing Brains2 header information from a file

Author:
Hans J. Johnson
Parameters:
outputstreamThe file stream to write to.
Returns:
the current location in the input stream
Precondition:
The file must already have been opened and be prepared to reading
Postcondition:
The file stream is left open.

Definition at line 135 of file itkBrains2HeaderBase.cxx.


Member Data Documentation

template<typename T>
T std::list< T >::elements
inherited

STL member.

std::list<Brains2HeaderBase *> itk::Brains2HeaderBase::m_Child
protectedinherited

The documentation for this class was generated from the following files:

Generated at Sun Feb 3 2013 01:16:56 for Orfeo Toolbox with doxygen 1.8.1.1