UniqueIDMapInterface Class Reference

#include <c4d_uniqueidmap.h>

Detailed Description

The BaseList2D class uses a UniqueIDMap to store application ID data, see BaseList2D::AddUniqueID.

Public Member Functions

MAXON_METHOD maxon::Opt< const maxon::Block< const maxon::Byte > & > FindUniqueID (maxon::Int32 appid) const
 
MAXON_METHOD maxon::String ToString (const maxon::FormatStatement *fs=nullptr) const
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (UniqueIDMapInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.c4d.interface.uniqueidmap")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( UniqueIDMapInterface  ,
MAXON_REFERENCE_COPY_ON_WRITE  ,
"net.maxon.c4d.interface.uniqueidmap"   
)
private

◆ FindUniqueID()

MAXON_METHOD maxon::Opt<const maxon::Block<const maxon::Byte>&> FindUniqueID ( maxon::Int32  appid) const

Checks for a specific unique application ID data, see BaseList2D::AddUniqueID.

Note
This is used for instance to identify scenes written by external applications.
Parameters
[in]appidA unique application ID. It has to be registered at MAXON, at least it should be obtained from developers.maxon.net.
Returns
The block of memory which has been set previously as unique id for appid.

◆ ToString()

MAXON_METHOD maxon::String ToString ( const maxon::FormatStatement fs = nullptr) const