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


Public Member Functions | |
| long | Value () |
| Returns the value of the parameter. | |
| SGIntParam (char *name, SGParam *tl) | |
| Constructor, no default value. | |
| SGIntParam (char *name, SGParam *tl, long v) | |
| Constructor, with a default value. | |
Static Public Attributes | |
| static char | TypeId [] = "i" |
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. | |
| SGIntParam::SGIntParam | ( | char * | name, | |
| SGParam * | tl | |||
| ) | [inline] |
Constructor, no default value.
| [in] | name | The name of the parameter |
| [in] | tl | The next parameter in the list |
| SGIntParam::SGIntParam | ( | char * | name, | |
| SGParam * | tl, | |||
| long | v | |||
| ) | [inline] |
Constructor, with a default value.
| [in] | name | The name of the parameter |
| [in] | tl | The next parameter in the list |
| [in] | v | The default value |
| void SGIntParam::read_param | ( | ) | [protected, virtual] |
| void SGIntParam::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.
| long SGIntParam::Value | ( | ) | [inline] |
Returns the value of the parameter.
char SGIntParam::TypeId = "i" [static] |
1.5.2