Inheritance diagram for NOX::Parameter::DirectionConstructorT< T >:
Public Member Functions
|Default Constructor. Sets the name to "Templated Direction Constructor". |
|DirectionConstructorT (const string &n)|
|Constructor with the direction name. |
|DirectionConstructor *||clone () 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::Generic *||newDirection (const NOX::Utils &u, NOX::Parameter::List &p) const|
|Constructs and direction of type T and returns its pointer. |
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.
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.
Print out detailed information describing the Arbitrary object.
Each line of output should be indented by the number of spaces specified by
Reimplemented from NOX::Parameter::DirectionConstructor.