maxon.StoreAssetStruct

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:

Child Class:

Methods Signature

__init__(parentCategory[, saveRepository, …])

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

Methods Definition

StoreAssetStruct.__init__(parentCategory, saveRepository=None, lookupRepository=None)

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.