Public Member Functions | |
NHash (const NString name, const NString &value) | |
Constructs a NHash object. | |
NHash (const NHash &other) | |
Constructs a NHash object. | |
NString | getName (void) const |
Gets the name of the hash. | |
NString | getValue (void) const |
Gets the value of the hash. | |
NHash & | operator= (const NHash &rhs) |
Copies one hash to another. | |
bool | operator== (const NHash &rhs) |
Tests the equality of two hashes. |
Definition at line 36 of file nhash.h.
NString getName | ( | void | ) | const |
Gets the name of the hash.
Definition at line 43 of file nhash.cpp.
Referenced by operator=().
NString getValue | ( | void | ) | const |
Gets the value of the hash.
Definition at line 48 of file nhash.cpp.
Referenced by operator=().
Copies one hash to another.
rhs | Another hash object to be copied |
Definition at line 53 of file nhash.cpp.
References getName(), and getValue().
bool operator== | ( | const NHash & | rhs | ) |