OpenSim
|
This class stores and retrieves dynamic attributes. More...
Public Member Functions | |
XmlSchema | GetSchema () |
void | ReadXml (XmlReader reader) |
void | ReadXml (string rawXml) |
void | WriteXml (XmlWriter writer) |
string | ToXml () |
void | CopyFrom (DAMap other) |
OSDMap | GetStore (string ns, string storeName) |
Retrieve a Dynamic Attribute store More... | |
void | SetStore (string ns, string storeName, OSDMap store) |
Saves a Dynamic attribute store More... | |
bool | ContainsStore (string ns, string storeName) |
bool | TryGetStore (string ns, string storeName, out OSDMap store) |
void | Clear () |
bool | RemoveStore (string ns, string storeName) |
Static Public Member Functions | |
static DAMap | FromXml (string rawXml) |
static void | SanitiseMap (DAMap daMap) |
Sanitise the map to remove any namespaces or stores that are not OSDMap. More... | |
static void | ValidateNamespace (string ns) |
Validate the key used for storing separate data stores. More... | |
Properties | |
OSDMap | TopLevelMap [get, set] |
int | CountNamespaces [get] |
Get the number of namespaces More... | |
int | CountStores [get] |
Get the number of stores. More... | |
This class stores and retrieves dynamic attributes.
Modules that want to use dynamic attributes need to do so in a private data store which is accessed using a unique name. DAMap provides access to the data stores, each of which is an OSDMap. Modules are free to store any type of data they want within their data store. However, avoid storing large amounts of data because that would slow down database access.
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
get |
|
get |