OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonObjectStore Class Reference

More...

Inheritance diagram for OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonObjectStore:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonObjectStore:
Collaboration graph
[legend]

Public Member Functions

 JsonObjectStore (Scene scene, UUID oid)
 
- Public Member Functions inherited from OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonStore
 JsonStore ()
 
 JsonStore (string value)
 
JsonStoreNodeType GetNodeType (string expr)
 
JsonStoreValueType GetValueType (string expr)
 
int ArrayLength (string expr)
 
bool GetValue (string expr, out string value, bool useJson)
 
bool RemoveValue (string expr)
 
bool SetValue (string expr, string value, bool useJson)
 
bool TakeValue (string expr, bool useJson, TakeValueCallback cback)
 
bool ReadValue (string expr, bool useJson, TakeValueCallback cback)
 

Properties

override OSD ValueStore [get, set]
 
- Properties inherited from OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonStore
virtual OSD ValueStore [get, set]
 
int StringSpace [get, set]
 This is a simple estimator for the size of the stored data, it is not precise, but should be close enough to implement reasonable limits on the storage space used More...
 

Additional Inherited Members

- Static Public Member Functions inherited from OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonStore
static bool CanonicalPathExpression (string ipath, out string opath)
 
- Protected Member Functions inherited from OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonStore
bool SetValueFromExpression (string expr, OSD ovalue)
 
bool InvokeNextCallback (string pexpr)
 
- Static Protected Member Functions inherited from OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonStore
static bool ParsePathExpression (string expr, out Stack< string > path)
 Parse the path expression and put the components into a stack. We use a stack because we process the path in inverse order later More...
 
static OSD ProcessPathExpression (OSD map, Stack< string > path)
 
static bool ConvertOutputValue (OSD result, out string value, bool useJson)
 
static string PathExpressionToKey (Stack< string > path)
 
static bool OSDBaseType (OSDType type)
 
static int ComputeSizeOf (OSD value)
 
- Protected Attributes inherited from OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonStore
List< TakeValueCallbackClassm_TakeStore
 
List< TakeValueCallbackClassm_ReadStore
 
- Static Protected Attributes inherited from OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonStore
static Regex m_ParsePassOne = new Regex("({[^}]+}|\\[[0-9]+\\]|\\[\\+\\])")
 
static Regex m_ParsePassThree = new Regex("(?<!{[^}]*)\\.([a-zA-Z]+)(?=\\.)")
 
static Regex m_ParsePassFour = new Regex("\\.+")
 
static Regex m_ValidatePath = new Regex("^\\.(({[^}]+}|\\[[0-9]+\\]|\\[\\+\\])\\.)*$")
 
static Regex m_PathComponent = new Regex("\\.({[^}]+}|\\[[0-9]+\\]|\\[\\+\\])")
 
static Regex m_SimpleArrayPattern = new Regex("^\\[([0-9]+)\\]$")
 
static Regex m_ArrayPattern = new Regex("^\\[([0-9]+|\\+)\\]$")
 
static Regex m_HashPattern = new Regex("^{([^}]+)}$")
 

Detailed Description

Definition at line 726 of file JsonStore.cs.

Constructor & Destructor Documentation

OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonObjectStore.JsonObjectStore ( Scene  scene,
UUID  oid 
)
inline

Definition at line 755 of file JsonStore.cs.

Property Documentation

override OSD OpenSim.Region.OptionalModules.Scripting.JsonStore.JsonObjectStore.ValueStore
getsetprotected

Definition at line 735 of file JsonStore.cs.


The documentation for this class was generated from the following file: