#include <wsv_aux.h>
Public Member Functions | |
WsvRecord () | |
Default constructor. | |
WsvRecord (const char name[], const char description[], const String group, const bool implicit=false) | |
Initializing constructor. | |
WsvRecord (const char name[], const char description[], const Index group, const bool implicit=false) | |
Initializing constructor. | |
const String & | Name () const |
Name of this workspace variable. | |
const String & | Description () const |
A text describing this workspace variable. | |
Index | Group () const |
The wsv group to which this variable belongs. | |
bool | Implicit () const |
Returns true if the variable was automatically created. | |
Private Attributes | |
String | mname |
String | mdescription |
Index | mgroup |
bool | mimplicit |
The program make_wsv_h.cc uses these records to generate the file wsv.h, which contains both the declaration of the wsv handles and the declaration of the workspace itself.
Definition at line 49 of file wsv_aux.h.
WsvRecord::WsvRecord | ( | const char | name[], | |
const char | description[], | |||
const String | group, | |||
const bool | implicit = false | |||
) | [inline] |
Initializing constructor.
This is used by Workspace::define_wsv_data() to set the information for each workspace variable.
Definition at line 63 of file wsv_aux.h.
References get_wsv_group_id(), mgroup, and mname.
WsvRecord::WsvRecord | ( | const char | name[], | |
const char | description[], | |||
const Index | group, | |||
const bool | implicit = false | |||
) | [inline] |
const String& WsvRecord::Name | ( | ) | const [inline] |
Name of this workspace variable.
Definition at line 98 of file wsv_aux.h.
References mname.
Referenced by operator<<().
const String& WsvRecord::Description | ( | ) | const [inline] |
A text describing this workspace variable.
Definition at line 100 of file wsv_aux.h.
References mdescription.
Referenced by operator<<().
Index WsvRecord::Group | ( | ) | const [inline] |
The wsv group to which this variable belongs.
Definition at line 102 of file wsv_aux.h.
References mgroup.
Referenced by operator<<().
bool WsvRecord::Implicit | ( | ) | const [inline] |
String WsvRecord::mname [private] |
String WsvRecord::mdescription [private] |
Index WsvRecord::mgroup [private] |
bool WsvRecord::mimplicit [private] |