aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/DAMap.cs
diff options
context:
space:
mode:
authordahlia2013-06-27 18:44:27 -0700
committerdahlia2013-06-27 18:44:27 -0700
commit529633d9707ee0df6b32e8dc692ab615e3563b63 (patch)
tree2f427045601d12865c207c1f514fbbb2e07965ed /OpenSim/Framework/DAMap.cs
parentand yet another check for null returned from DynAttrs.GetStore() (diff)
downloadopensim-SC-529633d9707ee0df6b32e8dc692ab615e3563b63.zip
opensim-SC-529633d9707ee0df6b32e8dc692ab615e3563b63.tar.gz
opensim-SC-529633d9707ee0df6b32e8dc692ab615e3563b63.tar.bz2
opensim-SC-529633d9707ee0df6b32e8dc692ab615e3563b63.tar.xz
add method docs for DAMap.GetStore() and DAMap.SetStore()
Diffstat (limited to 'OpenSim/Framework/DAMap.cs')
-rw-r--r--OpenSim/Framework/DAMap.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/DAMap.cs b/OpenSim/Framework/DAMap.cs
index a57393b..fd45a11 100644
--- a/OpenSim/Framework/DAMap.cs
+++ b/OpenSim/Framework/DAMap.cs
@@ -216,6 +216,12 @@ namespace OpenSim.Framework
216 } 216 }
217 } 217 }
218 218
219 /// <summary>
220 /// Retrieve a Dynamic Attribute store
221 /// </summary>
222 /// <param name="ns">namespace for the store - use "OpenSim" for in-core modules</param>
223 /// <param name="storeName">name of the store within the namespace</param>
224 /// <returns>an OSDMap representing the stored data, or null if not found</returns>
219 public OSDMap GetStore(string ns, string storeName) 225 public OSDMap GetStore(string ns, string storeName)
220 { 226 {
221 OSD namespaceOsd; 227 OSD namespaceOsd;
@@ -234,6 +240,12 @@ namespace OpenSim.Framework
234 return null; 240 return null;
235 } 241 }
236 242
243 /// <summary>
244 /// Saves a Dynamic attribute store
245 /// </summary>
246 /// <param name="ns">namespace for the store - use "OpenSim" for in-core modules</param>
247 /// <param name="storeName">name of the store within the namespace</param>
248 /// <param name="store">an OSDMap representing the data to store</param>
237 public void SetStore(string ns, string storeName, OSDMap store) 249 public void SetStore(string ns, string storeName, OSDMap store)
238 { 250 {
239 ValidateNamespace(ns); 251 ValidateNamespace(ns);