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


Public Member Functions | |
| char * | Value () |
| Returns the value of the parameter. | |
| SGStringParam (char *name, SGParam *tl, char *default_str=NULL) | |
| Constructor. | |
| virtual | ~SGStringParam () |
| Destructor. | |
Static Public Attributes | |
| static char | TypeId [] = "s" |
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. | |
| SGStringParam::SGStringParam | ( | char * | name, | |
| SGParam * | tl, | |||
| char * | default_str = NULL | |||
| ) | [inline] |
Constructor.
| [in] | name | The name of the parameter |
| [in] | tl | The next parameter in the list |
| [in] | default_str | The default value |
| virtual SGStringParam::~SGStringParam | ( | ) | [inline, virtual] |
Destructor.
| void SGStringParam::read_param | ( | ) | [protected, virtual] |
| void SGStringParam::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* SGStringParam::Value | ( | ) | [inline] |
Returns the value of the parameter.
char SGStringParam::TypeId = "s" [static] |
1.5.2