AbstractImportDelegateFactory Class Reference

Abstract base class to inherit from when creating custom ImportDelegateFactories. More...

Inherited by H5BmpImportDelegateFactory, and H5TiffImportDelegateFactory.

Inheritance diagram for AbstractImportDelegateFactory:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::vector< Pointer > Collection

Public Member Functions

virtual ~AbstractImportDelegateFactory ()
virtual IImportDelegate::Pointer newDataImportDelegate (const std::string &className)=0
 Creates a new DataImportDelegate based on a class name.
virtual std::string delegateClassName ()=0
 Returns the ClassName of the delegate that this factory will create.

Protected Member Functions

 AbstractImportDelegateFactory ()

Private Member Functions

 AbstractImportDelegateFactory (const AbstractImportDelegateFactory &)
void operator= (const AbstractImportDelegateFactory &)

Detailed Description

Abstract base class to inherit from when creating custom ImportDelegateFactories.

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


Member Typedef Documentation

typedef std::vector<Pointer> AbstractImportDelegateFactory::Collection


Constructor & Destructor Documentation

virtual AbstractImportDelegateFactory::~AbstractImportDelegateFactory (  )  [inline, virtual]

AbstractImportDelegateFactory::AbstractImportDelegateFactory (  )  [inline, protected]

AbstractImportDelegateFactory::AbstractImportDelegateFactory ( const AbstractImportDelegateFactory  )  [private]


Member Function Documentation

virtual IImportDelegate::Pointer AbstractImportDelegateFactory::newDataImportDelegate ( const std::string &  className  )  [pure virtual]

Creates a new DataImportDelegate based on a class name.

Parameters:
className The name of the class to create
Returns:
Returns an instance of IImportDelegate::Pointer. This method can return a null ImportDelegate so check the return value with the boost::shared_ptr.get() method to check the value of the wrapped pointer.

Implemented in H5BmpImportDelegateFactory, and H5TiffImportDelegateFactory.

virtual std::string AbstractImportDelegateFactory::delegateClassName (  )  [pure virtual]

Returns the ClassName of the delegate that this factory will create.

Implemented in H5BmpImportDelegateFactory, and H5TiffImportDelegateFactory.

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


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