H5TiffImportDelegate Class Reference

A generic Import Delegate that imports TIFF images into an HDF5 data file. More...

Inherits IImportDelegate.

Inheritance diagram for H5TiffImportDelegate:

Inheritance graph
[legend]
Collaboration diagram for H5TiffImportDelegate:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 H5TiffImportDelegate ()
virtual ~H5TiffImportDelegate ()
int32 importDataSource (IDataSource::Pointer dataSource, IDataFile::Pointer dataFile)
 Implementation from the IDataImportDelegate class.
void setDataModel (IDataModel::Pointer model)
 Sets the pointer to the DataModel.
 MXA_PROPERTY (bool, FileNotFoundIsError, _fileNotFoundIsError)
 MXA_PROPERTY (bool, ImportAsGrayScale, _importAsGrayScale)
virtual int32 setProperty (const std::string &key, const std::string &value)
 Sets a property of this class with the given value.
virtual int32 getProperty (const std::string &key, std::string &value)
template<typename T>
int32 getProperty (const std::string &key, T &value)

Private Member Functions

 H5TiffImportDelegate (const H5TiffImportDelegate &)
void operator= (const H5TiffImportDelegate &)

Private Attributes

bool _fileNotFoundIsError
bool _importAsGrayScale

Detailed Description

A generic Import Delegate that imports TIFF images into an HDF5 data file.

Author:
Mike Jackson
Date:
April 2007
Version:
Revision
1.2


Constructor & Destructor Documentation

H5TiffImportDelegate::H5TiffImportDelegate (  ) 

H5TiffImportDelegate::~H5TiffImportDelegate (  )  [virtual]

H5TiffImportDelegate::H5TiffImportDelegate ( const H5TiffImportDelegate  )  [private]


Member Function Documentation

int32 H5TiffImportDelegate::importDataSource ( IDataSource::Pointer  dataSource,
IDataFile::Pointer  dataFile 
)

Implementation from the IDataImportDelegate class.

void H5TiffImportDelegate::setDataModel ( IDataModel::Pointer  model  ) 

Sets the pointer to the DataModel.

Parameters:
model A Pointer to the DataModel

H5TiffImportDelegate::MXA_PROPERTY ( bool  ,
FileNotFoundIsError  ,
_fileNotFoundIsError   
)

H5TiffImportDelegate::MXA_PROPERTY ( bool  ,
ImportAsGrayScale  ,
_importAsGrayScale   
)

int32 H5TiffImportDelegate::setProperty ( const std::string &  key,
const std::string &  value 
) [virtual]

Sets a property of this class with the given value.

Parameters:
key The name of the property.
value The value to set the property to.

Implements IImportProperty.

virtual int32 H5TiffImportDelegate::getProperty ( const std::string &  key,
std::string &  value 
) [inline, virtual]

Implements IImportProperty.

template<typename T>
int32 H5TiffImportDelegate::getProperty ( const std::string &  key,
T &  value 
) [inline]

void H5TiffImportDelegate::operator= ( const H5TiffImportDelegate  )  [private]


Member Data Documentation

bool H5TiffImportDelegate::_fileNotFoundIsError [private]

bool H5TiffImportDelegate::_importAsGrayScale [private]


The documentation for this class was generated from the following files:
Generated on Tue Nov 17 18:43:12 2009 for MXADataModel by  doxygen 1.5.2