|
UFO: Alien Invasion
|
A pair of strings representing a key and a value The value string can be trimmed and rendered in the data type it is expected to be. We might add some validity checking here. More...
#include <keyvaluepair.h>

Public Member Functions | |
| KeyValuePair (const char *keyStr, const char *valStr) | |
| void | set (const char *keyStr, const char *valStr) |
| bool | isKey (const char *name) const |
| float | asFloat () const |
| int | asInt () const |
| bool | asBool () const |
| const char * | asString () const |
| void | asVec3 (vec3_t vec) const |
Private Attributes | |
| const char * | _keyStr |
| const char * | _valStr |
A pair of strings representing a key and a value The value string can be trimmed and rendered in the data type it is expected to be. We might add some validity checking here.
Definition at line 38 of file keyvaluepair.h.
|
inline |
Definition at line 43 of file keyvaluepair.h.
|
inline |
|
inline |
Definition at line 54 of file keyvaluepair.h.
References _valStr.
Referenced by Com_ParseTerrainDefinition(), and ED_ParseField().
|
inline |
Definition at line 57 of file keyvaluepair.h.
References _valStr.
Referenced by asBool(), Com_ParseTerrainDefinition(), and ED_ParseField().
|
inline |
Definition at line 63 of file keyvaluepair.h.
References _valStr.
Definition at line 66 of file keyvaluepair.h.
References _valStr, vec3_origin, and VectorCopy.
Referenced by ED_ParseField().
|
inline |
Definition at line 51 of file keyvaluepair.h.
Referenced by Com_ParseTerrainDefinition(), and ED_ParseField().
|
inline |
Definition at line 47 of file keyvaluepair.h.
|
private |
Definition at line 40 of file keyvaluepair.h.
Referenced by isKey(), KeyValuePair(), and set().
|
private |
Definition at line 41 of file keyvaluepair.h.
Referenced by asFloat(), asInt(), asString(), asVec3(), KeyValuePair(), and set().