Holds a collection of key-value pairs Keys and values can only be strings /summary> More...
#include <Collections.h>
Public Member Functions | |
| NameValueCollection () | |
| dump the contents of this collection More... | |
| NameValueCollection (const NameValueCollection &source) | |
| NameValueCollection & | operator= (const NameValueCollection &source) |
| ~NameValueCollection () | |
| const string | operator[] (const string &name) const |
| DictionaryEntry & | operator[] (const unsigned int index) |
| const DictionaryEntry & | operator[] (const unsigned int index) const |
| void | ChangeValue (const string &name, const string &value) |
| void | Add (const string &name, const string &value) |
| void | Add (const string &name, const char *valueCh) |
| void | Add (const char *nameCh, const string &value) |
| void | Add (const char *nameCh, const char *valueCh) |
| void | Remove (const string &name) |
| void | Clear () |
| bool | ContainsKey (const string &name) const |
| const vector< DictionaryEntry > & | getData () const |
| void | Dump () const |
| string | ToString () const |
| unsigned int | getCount () const |
| unsigned int | getCapacity () const |
| string | ConvertToXml (const string &rootName) const |
Private Attributes | |
| vector< DictionaryEntry > | m_Data |
Holds a collection of key-value pairs Keys and values can only be strings /summary>
| NameValueCollection::NameValueCollection | ( | ) |
dump the contents of this collection
| NameValueCollection::NameValueCollection | ( | const NameValueCollection & | source | ) |
| NameValueCollection::~NameValueCollection | ( | ) |
| void NameValueCollection::Add | ( | const string & | name, |
| const string & | value | ||
| ) |
| void NameValueCollection::Add | ( | const string & | name, |
| const char * | valueCh | ||
| ) |
| void NameValueCollection::Add | ( | const char * | nameCh, |
| const string & | value | ||
| ) |
| void NameValueCollection::Add | ( | const char * | nameCh, |
| const char * | valueCh | ||
| ) |
| void NameValueCollection::ChangeValue | ( | const string & | name, |
| const string & | value | ||
| ) |
| void NameValueCollection::Clear | ( | ) |
| bool NameValueCollection::ContainsKey | ( | const string & | name | ) | const |
| string NameValueCollection::ConvertToXml | ( | const string & | rootName | ) | const |
| void NameValueCollection::Dump | ( | ) | const |
|
inline |
|
inline |
|
inline |
| NameValueCollection & NameValueCollection::operator= | ( | const NameValueCollection & | source | ) |
| const string NameValueCollection::operator[] | ( | const string & | name | ) | const |
| DictionaryEntry & NameValueCollection::operator[] | ( | const unsigned int | index | ) |
| const DictionaryEntry & NameValueCollection::operator[] | ( | const unsigned int | index | ) | const |
| void NameValueCollection::Remove | ( | const string & | name | ) |
| string NameValueCollection::ToString | ( | ) | const |
|
private |