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

itk::fem::LoadTest< TClass > Class Template Reference

Example to show how to define templated load classes. More...

#include <itkFEMLoadTest.h>

Inheritance diagram for itk::fem::LoadTest< TClass >:

Inheritance graph
[legend]
Collaboration diagram for itk::fem::LoadTest< TClass >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef LoadTest Self
typedef LoadElement Superclass
typedef SelfPointer
typedef const SelfConstPointer

Public Member Functions

virtual Baseclass::Pointer Clone () const
virtual int ClassID () const
 LoadTest ()
virtual void Read (std::istream &f, void *info)
void Write (std::ostream &f) const

Static Public Member Functions

Self::Pointer New ()

Public Attributes

TClass data

Static Public Attributes

const int CLID

Detailed Description

template<class TClass>
class itk::fem::LoadTest< TClass >

Example to show how to define templated load classes.

Note:
The class must be instantiated, before the object factory can produce more objects of this class. Instantiate the specific derived classes with: "template class LoadTest<...>;" where required.

Definition at line 38 of file itkFEMLoadTest.h.


Member Typedef Documentation

template<class TClass>
typedef const Self* itk::fem::LoadTest< TClass >::ConstPointer
 

Const pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadElement.

Definition at line 40 of file itkFEMLoadTest.h.

template<class TClass>
typedef Self* itk::fem::LoadTest< TClass >::Pointer
 

Pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadElement.

Definition at line 40 of file itkFEMLoadTest.h.

template<class TClass>
typedef LoadTest itk::fem::LoadTest< TClass >::Self
 

Standard Self typedef.

Reimplemented from itk::fem::LoadElement.

Definition at line 40 of file itkFEMLoadTest.h.

template<class TClass>
typedef LoadElement itk::fem::LoadTest< TClass >::Superclass
 

Standard Superclass typedef.

Reimplemented from itk::fem::LoadElement.

Definition at line 40 of file itkFEMLoadTest.h.


Constructor & Destructor Documentation

template<class TClass>
itk::fem::LoadTest< TClass >::LoadTest  )  [inline]
 

Default constructor Definition at line 46 of file itkFEMLoadTest.h.


Member Function Documentation

template<class TClass>
virtual int itk::fem::LoadTest< TClass >::ClassID  )  const [inline, virtual]
 

Virtual function to access the class ID

Reimplemented from itk::fem::LoadElement.

Definition at line 40 of file itkFEMLoadTest.h.

template<class TClass>
virtual Baseclass::Pointer itk::fem::LoadTest< TClass >::Clone  )  const [virtual]
 

Create a new object from the existing one

Reimplemented from itk::fem::LoadElement.

template<class TClass>
Self::Pointer itk::fem::LoadTest< TClass >::New void   )  [inline, static]
 

Object creation in an itk compatible way

Reimplemented from itk::fem::LoadElement.

Definition at line 40 of file itkFEMLoadTest.h.

template<class TClass>
virtual void itk::fem::LoadTest< TClass >::Read std::istream &  f,
void *  info
[inline, virtual]
 

pointers to element objects on which the load acts

Reimplemented from itk::fem::LoadElement.

Definition at line 53 of file itkFEMLoadTest.h.

template<class TClass>
void itk::fem::LoadTest< TClass >::Write std::ostream &  f  )  const [inline, virtual]
 

Write an object to the output stream. Call this member to write the data members in the current object to the output stream. Here we also need to know which derived class we actually are, so that we can write the class name. The class name is obtained by calling the virtual ClassID() member function and passing the result to the FEMObjectFactory.

Implementations of Write member funtion in derived classes should first call the parent's implementation of Write and finaly write whatever they need.

Reimplemented from itk::fem::LoadElement.

Definition at line 57 of file itkFEMLoadTest.h.


Member Data Documentation

template<class TClass>
int itk::fem::LoadTest< TClass >::CLID [static]
 

Class ID for FEM object factory

Reimplemented from itk::fem::LoadElement.

Definition at line 77 of file itkFEMLoadTest.h.

template<class TClass>
TClass itk::fem::LoadTest< TClass >::data
 

Some data that this load defines. Definition at line 51 of file itkFEMLoadTest.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:23:28 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000