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


Public Member Functions | |
| SGRMatrixParam (char *name, SGParam *tl, bool hdv=0) | |
| Constructor. | |
| virtual | ~SGRMatrixParam () |
| Virtual destructor. | |
Static Public Attributes | |
| static char | TypeId [] = "Mr" |
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> [=] [[<r_11>, ..., <r_1n>], ..., [r_m1, ..., r_mn]];
The sizes m and n of the matrix are not predefined and are specified in the input file by the number of the entries in the rows as well as by the number of the rows. The number of the entries should be equal in all the rows.
<name> [=] [];
| SGRMatrixParam::SGRMatrixParam | ( | 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 SGRMatrixParam::~SGRMatrixParam | ( | ) | [inline, virtual] |
Virtual destructor.
| void SGRMatrixParam::read_param | ( | ) | [protected, virtual] |
| void SGRMatrixParam::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 SGRMatrixParam::TypeId = "Mr" [static] |
1.5.2