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

itk::fem::FEMObjectFactory< T > Class Template Reference

#include <itkFEMObjectFactory.h>

Inheritance diagram for itk::fem::FEMObjectFactory< T >:

Inheritance graph
[legend]
Collaboration diagram for itk::fem::FEMObjectFactory< T >:

Collaboration graph
[legend]
List of all members.

template<class T>
class itk::fem::FEMObjectFactory< T >


Public Member Functions

*Find the ID of the class
with specified 
name (this is a slow function).*If you have to create many objects of the same class

Static Public Member Functions

*Find the ID of the class
with specified obtain the
class ID *with this function
first and then use that ID
with the Create member *function
*static int 
ClassName2ID (StrClassName str)
static T::Pointer Create (int id)
static StrClassName ID2ClassName (int id)
*Register the class with the
factory A pointer to a create
*function and class name as
a string must be provided
Function *returns the newly
assigned ID of the which can
be later *used to create objects
of that class *static int 
Register (COF f, const char *str)

Public Attributes

*Register the class with the
factory A pointer to a create
*function and class name as
a string must be provided
Function *returns the newly
assigned ID of the 
class

Friends

class Dummy

Classes

class  Dummy

Member Function Documentation

template<class T>
* Find the ID of the class with specified obtain the class ID* with this function first and then use that ID with the Create member* function* static int itk::fem::FEMObjectFactory< T >::ClassName2ID StrClassName  str  )  [inline, static]
 

Definition at line 127 of file itkFEMObjectFactory.h.

template<class T>
static T::Pointer itk::fem::FEMObjectFactory< T >::Create int  id  )  [inline, static]
 

Create a new object based on class identifier id and return a pointer to it.

Definition at line 92 of file itkFEMObjectFactory.h.

template<class T>
static StrClassName itk::fem::FEMObjectFactory< T >::ID2ClassName int  id  )  [inline, static]
 

Return the name of the class (as a string) for the given ID.

Definition at line 116 of file itkFEMObjectFactory.h.

template<class T>
* Find the ID of the class with specified itk::fem::FEMObjectFactory< T >::name this is a slow  function  ) 
 

template<class T>
* Register the class with the factory A pointer to a create* function and class name as a string must be provided Function* returns the newly assigned ID of the which can be later* used to create objects of that class* static int itk::fem::FEMObjectFactory< T >::Register COF  f,
const char *  str
[inline, static]
 

Definition at line 102 of file itkFEMObjectFactory.h.


Friends And Related Function Documentation

template<class T>
friend class Dummy [friend]
 

By defining a Dummy friend class, some warnings in gcc about destructor being private are eliminated.

Definition at line 195 of file itkFEMObjectFactory.h.


Member Data Documentation

template<class T>
* Register the class with the factory A pointer to a create* function and class name as a string must be provided Function* returns the newly assigned ID of the itk::fem::FEMObjectFactory< T >::class
 

Definition at line 98 of file itkFEMObjectFactory.h.


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