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


Public Member Functions | |
| SGRMultiArrayParam (char *name, SGParam *tl, bool hdv=0) | |
| Constructor. | |
| virtual | ~SGRMultiArrayParam () |
| Virtual destructor. | |
Static Public Attributes | |
| static char | TypeId [] = "MAr" |
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. | |
| void | print_group (std::ostream &s, MultiIndex &I, int depth=0) |
| Prints a group for a given index. | |
The syntax is similar with that for the small matrices but the depth may be greater or smaller. Thus one can specify the MultiArrays of any dimensionality.
<name> [=] [];
| SGRMultiArrayParam::SGRMultiArrayParam | ( | 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 SGRMultiArrayParam::~SGRMultiArrayParam | ( | ) | [inline, virtual] |
Virtual destructor.
| void SGRMultiArrayParam::read_param | ( | ) | [protected, virtual] |
| void SGRMultiArrayParam::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.
| void SGRMultiArrayParam::print_group | ( | std::ostream & | s, | |
| MultiIndex & | I, | |||
| int | depth = 0 | |||
| ) | [protected] |
Prints a group for a given index.
| [in] | s | The stream to print to |
| [in] | I | The multi-index |
| [in] | depth | The index in the multi-index |
char SGRMultiArrayParam::TypeId = "MAr" [static] |
1.5.2