new ClassMap()
Methods
-
<static> create(dict)
-
Initialize a ClassMap using an existing low-level Cos/SDF ClassMap object.
Parameters:
Name Type Description dict
Obj a low-level (SDF/Cos) ClassMap dictionary.
Returns:
A promise that resolves to an object of type: "ClassMap"
- Type
- ClassMap
-
copy()
-
Copy Constructor
Returns:
A promise that resolves to an object of type: "ClassMap"
- Type
- ClassMap
-
getSDFObj()
-
Returns the ClassMap dictionary.
Returns:
A promise that resolves to the object to the underlying SDF/Cos object.
- Type
- Obj
-
isValid()
-
Returns:
A promise that resolves to true if this is a valid (non-null) ClassMap, false otherwise. If the function returns false the underlying SDF/Cos object is null or is not valid and the ClassMap object should be treated as a null object.
- Type
- boolean