NOX::Parameter::DirectionConstructorT< T > Class Template Reference

Templated instantiation of NOX::Parameter::DirectionConstructor. More...

#include <NOX_Parameter_DirectionConstructorT.H>

Inheritance diagram for NOX::Parameter::DirectionConstructorT< T >:

[legend]
Collaboration diagram for NOX::Parameter::DirectionConstructorT< T >:
[legend]
List of all members.

Public Member Functions

 DirectionConstructorT ()
 Default Constructor. Sets the name to "Templated Direction Constructor".
 DirectionConstructorT (const string &n)
 Constructor with the direction name.
 ~DirectionConstructorT ()
 Destructor.
DirectionConstructorclone () const
 Clone a exact replica of yourself and pass back a pointer.
const string & getType () const
 Get a short descriptive string describing the Arbitrary object.
ostream & print (ostream &stream, int indent=0) const
 Print out detailed information describing the Arbitrary object.
NOX::Direction::GenericnewDirection (const NOX::Utils &u, NOX::Parameter::List &p) const
 Constructs and direction of type T and returns its pointer.

Detailed Description

template<class T>
class NOX::Parameter::DirectionConstructorT< T >

Templated instantiation of NOX::Parameter::DirectionConstructor.

This templated class provides an instantiation of NOX::Parameter::DirectionConstructor for any direction class derived from NOX::Direction::Generic.

The name of the direction can optionally be included as an argument to the constructor.


Member Function Documentation

template<class T>
DirectionConstructor* NOX::Parameter::DirectionConstructorT< T >::clone  )  const [inline, virtual]
 

Clone a exact replica of yourself and pass back a pointer.

It's left to the implementer to decide precisely how clone should function. The main requirement is that the cloned copy should still be valid even if the original is destroyed and even if multiple cloned copies exist.

Implements NOX::Parameter::DirectionConstructor.

template<class T>
ostream& NOX::Parameter::DirectionConstructorT< T >::print ostream &  stream,
int  indent = 0
const [inline, virtual]
 

Print out detailed information describing the Arbitrary object.

Each line of output should be indented by the number of spaces specified by indent.

Reimplemented from NOX::Parameter::DirectionConstructor.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:42:29 2008 for NOX by doxygen 1.3.9.1