#include <c4d_dynamicdescription.h>
Public Member Functions | |
| DescID | Alloc (const BaseContainer &datadescription) | 
| Bool | Set (const DescID &descid, const BaseContainer &datadescription, BaseList2D *bl) | 
| const BaseContainer * | Find (const DescID &descid) | 
| Bool | Remove (const DescID &descid) | 
| Bool | CopyTo (DynamicDescription *dest) | 
| Bool | FillDefaultContainer (BaseContainer &res, Int32 type, const String &name) | 
Private Attributes | |
| BaseContainer | dynamicdescriptions | 
Browse | |
| void * | BrowseInit () | 
| Bool | BrowseGetNext (void *handle, DescID *id, const BaseContainer **data) | 
| void | BrowseFree (void *&handle) | 
Read/Write | |
| Bool | Read (HyperFile *hf) | 
| Bool | Write (HyperFile *hf) | 
The dynamic description class stores user data values.
The information about each description parameter is stored in a BaseContainer with the following values. See DESC_* container IDs. 
| DescID Alloc | ( | const BaseContainer & | datadescription | ) | 
Allocates a new dynamic description.
| [in] | datadescription | Settings for the new user data. | 
| Bool Set | ( | const DescID & | descid, | 
| const BaseContainer & | datadescription, | ||
| BaseList2D * | bl | ||
| ) | 
Inserts a new user data with the specified ID.
| [in] | descid | ID of the new dynamic description. | 
| [in] | datadescription | Settings for the new dynamic description. | 
| [in] | bl | private. | 
| const BaseContainer* Find | ( | const DescID & | descid | ) | 
Finds a dynamic description by ID.
| [in] | descid | ID of the dynamic description. | 
Removes dynamic description by ID.
| [in] | descid | ID of the dynamic description to remove. | 
| Bool CopyTo | ( | DynamicDescription * | dest | ) | 
Copies the dynamic description to dest.
| [in] | dest | Destination dynamic description. The caller owns the pointed dynamic description. | 
| Bool FillDefaultContainer | ( | BaseContainer & | res, | 
| Int32 | type, | ||
| const String & | name | ||
| ) | 
Fills the default settings container for a certain data type with the specified name.
| [in] | res | Assigned the default settings. | 
| [in] | type | The datatype ID. Either a custom ID or a data type ID. | 
| [in] | name | Name of the dynamic description. | 
| void* BrowseInit | ( | ) | 
Starts browsing the parameters linearly.
| Bool BrowseGetNext | ( | void * | handle, | 
| DescID * | id, | ||
| const BaseContainer ** | data | ||
| ) | 
Gets the next parameter in a browse sequence initiated with BrowseInit().
| [in] | handle | Browse handle returned by BrowseInit(). | 
| [in] | id | Assigned the settings for the retrieved parameter. (See above.) The caller owns the pointed container. | 
| [in] | data | Assigned the ID of the retrieved parameter. | 
| void BrowseFree | ( | void *& | handle | ) | 
Free handles from BrowseInit().
| [in,out] | handle | The handle to free. Assigned nullptr. | 
      
  | 
  private |