new ObjSet()
ObjSet is a lightweight container that can hold a collection of SDF objects.
Methods
-
<static> create()
-
Constructor
Returns:
A promise that resolves to an object of type: "ObjSet"
- Type
- ObjSet
-
createArray()
-
Create a new array object in this object set.
Returns:
A promise that resolves to an object of type: "Obj"
- Type
- Obj
-
createBool(value)
-
Create a new boolean object in this object set.
Parameters:
Name Type Description value
boolean The boolean value of the object to create
Returns:
A promise that resolves to an object of type: "Obj"
- Type
- Obj
-
createDict()
-
Create a new dictionary object in this object set.
Returns:
A promise that resolves to an object of type: "Obj"
- Type
- Obj
-
createFromJson(json)
-
Parameters:
Name Type Description json
string Returns:
A promise that resolves to an object of type: "Obj"
- Type
- Obj
-
createName(name)
-
Create a new name object in this object set.
Parameters:
Name Type Description name
string The name of the object to create
Returns:
A promise that resolves to an object of type: "Obj"
- Type
- Obj
-
createNull()
-
Create a new null object in this object set.
Returns:
A promise that resolves to an object of type: "Obj"
- Type
- Obj
-
createNumber(value)
-
Create a new number object in this object set.
Parameters:
Name Type Description value
number numeric value of the number object to create.
Returns:
A promise that resolves to an object of type: "Obj"
- Type
- Obj
-
createString(value)
-
Parameters:
Name Type Description value
string Returns:
A promise that resolves to an object of type: "Obj"
- Type
- Obj
-
destroy()
-
Frees the native memory of the object.