#include <maps.h>
List of all members.
Public Member Functions |
| Dict () |
| Default constructor.
|
| Dict (Dict const &R) |
| Copy constructor.
|
void | Set (int Key, const char *Str,...) |
| Set given key, keys, and vals: Set(-1, "ux uy", 1.0,2.0). NOTE: valus must be double.
|
void | Set (int Key, SDPair const &P) |
| Set given SDPair (does merge)
|
void | SetZero (int Key, Array< String > const &keys) |
| Create dictionary with all keys set to zero.
|
void | Del (int Key) |
| Delete item corresponding to Key.
|
SDPair const & | operator() (int Key) const |
SDPair & | operator() (int Key) |
void | operator= (Dict const &R) |
| Assignment operator.
|
void | operator+= (Dict const &R) |
| Used to merge keys.
|
bool | HasKey (int Key) const |
void | clear () |
Public Attributes |
Array< int > | Keys |
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Delete item corresponding to Key.
SDPair const & Dict::operator() |
( |
int |
Key | ) |
const [inline] |
SDPair & Dict::operator() |
( |
int |
Key | ) |
[inline] |
void Dict::operator+= |
( |
Dict const & |
R | ) |
[inline] |
void Dict::operator= |
( |
Dict const & |
R | ) |
[inline] |
void Dict::Set |
( |
int |
Key, |
|
|
const char * |
Str, |
|
|
|
... |
|
) |
| [inline] |
Set given key, keys, and vals: Set(-1, "ux uy", 1.0,2.0). NOTE: valus must be double.
Create dictionary with all keys set to zero.
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/dorival/mechsys/lib/util/maps.h