AgateLib.Resources.StringTable Class Reference

Class which contains a table of string-string mappings. Similar to a Dictionary, but includes methods for reading to / writing from an AgateLib resource file. More...

Inheritance diagram for AgateLib.Resources.StringTable:

AgateLib.Resources.AgateResource

List of all members.

Public Member Functions

void Add (string key, string value)
bool ContainsKey (string key)
bool Remove (string key)
bool TryGetValue (string key, out string value)
void Clear ()
IEnumerator< KeyValuePair
< string, string > > 
GetEnumerator ()

Protected Member Functions

override AgateResource Clone ()
 Clones the string table.

Properties

ICollection< string > Keys [get]
ICollection< string > Values [get]
string this [string key] [get, set]
int Count [get]
bool IsReadOnly [get]


Detailed Description

Class which contains a table of string-string mappings. Similar to a Dictionary, but includes methods for reading to / writing from an AgateLib resource file.


Member Function Documentation

void AgateLib.Resources.StringTable.Add ( string  key,
string  value 
)

Parameters:
key 
value 

void AgateLib.Resources.StringTable.Clear (  ) 

override AgateResource AgateLib.Resources.StringTable.Clone (  )  [protected, virtual]

Clones the string table.

Returns:

Implements AgateLib.Resources.AgateResource.

bool AgateLib.Resources.StringTable.ContainsKey ( string  key  ) 

Parameters:
key 
Returns:

IEnumerator<KeyValuePair<string, string> > AgateLib.Resources.StringTable.GetEnumerator (  ) 

Returns:

bool AgateLib.Resources.StringTable.Remove ( string  key  ) 

Parameters:
key 
Returns:

bool AgateLib.Resources.StringTable.TryGetValue ( string  key,
out string  value 
)

Parameters:
key 
value 
Returns:


Property Documentation

int AgateLib.Resources.StringTable.Count [get]

bool AgateLib.Resources.StringTable.IsReadOnly [get]

ICollection<string> AgateLib.Resources.StringTable.Keys [get]

string AgateLib.Resources.StringTable.this[string key] [get, set]

Parameters:
key 
Returns:

ICollection<string> AgateLib.Resources.StringTable.Values [get]


The documentation for this class was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo