#include <WsfAttributeContainer.hpp>
Inherits UtAttributeContainer.
|
| static bool | LoadType (UtInput &aInput) |
| | Called from the simulation loader, this method processes input file "struct" type declarations.
|
| static void | ClearTypes () |
|
| void | ParseAssignment (UtInput &aInput, std::string &aName, std::string &aValue) |
A WsfAttributeContainer that can be used to load attributes from input files. (see WsfAttributeContainer::ProcessInput).
◆ ClearTypes()
| void WsfAttributeContainer::ClearTypes |
( |
| ) |
|
|
static |
◆ Clone()
Make a copy of this attribute container. Instead of calling this directly, users should use ut::clone.
◆ LoadType()
| bool WsfAttributeContainer::LoadType |
( |
UtInput & | aInput | ) |
|
|
static |
Called from the simulation loader, this method processes input file "struct" type declarations.
◆ ParseAssignment()
| void WsfAttributeContainer::ParseAssignment |
( |
UtInput & | aInput, |
|
|
std::string & | aName, |
|
|
std::string & | aValue ) |
|
protected |
Process the assignment from the input. Discards the optional '=' character and returns the variable name.
- Parameters
-
| aInput | The UtInput object from which commands are extracted |
| aName | The name of the variable being assigned as a string |
| aValue | [output] The value to be assigned to the variable. |
Referenced by ProcessInput().
◆ ProcessInput()
| bool WsfAttributeContainer::ProcessInput |
( |
UtInput & | aInput | ) |
|
|
virtual |
Process input from a generic source. Input can be of a standard type (bool, int, double); or, it can be a generic "attribute", of a name that has been registered via the WsfAttributeContainer::RegisterPrototype method. See the WSF User Input Guide for more information about valid inputs.
- Parameters
-
| aInput | The UtInput object from which commands are extracted. |
References ParseAssignment().
The documentation for this class was generated from the following files: