3DiVi Face SDK  3.24.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
face_sdk.modules.context.Context Class Reference

Interface object for the container is Context. More...

Public Member Functions

def __setitem__
 Changing the value by key. More...
 
def __len__
 Get the size of the container. More...
 
def push_back
 adds a object to the container.
 
def get_bytes
 get a string of bytes from the container. More...
 
def clone
 copies the container-Context to the new object. More...
 
def clear
 clears the contents of the container-Context.
 
def erase
 deletes the contents of the container-Context stored by key. More...
 
def reserve
 allocates memory for num elements in the array. More...
 
def contains
 checks the existence of an element by a specific key More...
 
def compare
 compares two Context objects More...
 
def to_dict
 converts the container-Context to dict More...
 
def keys
 returns a list of keys in the container-Context More...
 
def is_none
 checks if there are no elements in the container More...
 
def is_array
 checks whether the container is an array More...
 
def is_object
 checks whether the container is an object More...
 
def is_bool
 checks whether the container is a bool type value More...
 
def is_long
 checks whether the container is a long type value More...
 
def is_double
 checks whether the container is a double type value More...
 
def is_string
 checks whether the container is a string type value More...
 
def is_data_ptr
 checks whether the container is a pointer to the data More...
 
def get_value
 returns the value contained in the container More...
 
def save_to_json_file
 saves the contents of the container to a json file More...
 

Static Public Member Functions

def get_bytes_from_ptr
 get a string of bytes from the pointer. More...
 

Detailed Description

Interface object for the container is Context.