maxon.AssetDatabaseStruct

Description

General maxon.Data class.
An object of this class can store every type of data as long as that type has been registered (see maxon.DataType).

Inheritance diagram

Inheritance

Parent Class:

Methods Signature

__init__(otherOrDbUrl[, active, …])

Initializes the appropriate C++ Data object and store it within the _data member.

__repr__()

Returns the string representation of a data.

__str__()

Returns the string representation of a data.

Methods Definition

AssetDatabaseStruct.__init__(otherOrDbUrl, active=True, exportOnSaveProject=True, isBuiltin=False)

Initializes the appropriate C++ Data object and store it within the _data member.

If C is a Data then _data store a copy the C++ Data is done and stored.
If C is a C++ Data then _data store a reference of the C++ Data.
If C is not defined the C++ data is created and stored in the _data member.
Parameters

C (Union[None, maxon.Data]) – Input data from which the Data should be created.

AssetDatabaseStruct.__repr__()

Returns the string representation of a data.

Return type

str

AssetDatabaseStruct.__str__()

Returns the string representation of a data.

Return type

str