#include <SGParameter.hpp>
Inheritance diagram for SGIntArrayParam:


Public Member Functions | |
| SGIntArrayParam (char *name, SGParam *tl, bool hdv=0) | |
| Constructor. | |
| virtual | ~SGIntArrayParam () |
| Virtual destructor. | |
Static Public Attributes | |
| static char | TypeId [] = "Ai" |
Protected Member Functions | |
| void | read_param () |
| Reads a value of the parameter from the input stream. | |
| void | print_param (std::ostream &s, short indent) |
| Prints the name and the value of the parameter with a given indent. | |
Syntax:
<name> [=] (<i_1>, ..., <i_N>);
The length N of the array is not predefined and is specified in the input file by the number of the integers.
<name> [=] ();
| SGIntArrayParam::SGIntArrayParam | ( | char * | name, | |
| SGParam * | tl, | |||
| bool | hdv = 0 | |||
| ) | [inline] |
Constructor.
| [in] | name | The name of the parameter |
| [in] | tl | The next parameter in the list |
| [in] | hdv | non-zero to suppress the error if not set explicitly |
| virtual SGIntArrayParam::~SGIntArrayParam | ( | ) | [inline, virtual] |
Virtual destructor.
| void SGIntArrayParam::read_param | ( | ) | [protected, virtual] |
| void SGIntArrayParam::print_param | ( | std::ostream & | s, | |
| short | indent | |||
| ) | [protected, virtual] |
Prints the name and the value of the parameter with a given indent.
| [in] | s | The stream to print to |
| [in] | indent | The indent for the output lines |
Implements SGParam.
char SGIntArrayParam::TypeId = "Ai" [static] |
1.5.2