DataDictionaryReferenceObjectInterface Class Reference

#include <datadictionaryobject.h>

Inheritance diagram for DataDictionaryReferenceObjectInterface:

Detailed Description

Extends DataDictionaryObjectInterface to wrap a DataDictionary into a DataDictionaryObjectInterface.

DataDictionaryObjectRef values;
values.Set(Data("MachineName"_s), Data(Application::GetMachineInfo().Get(MACHINEINFO::COMPUTERNAME)));
values.Set(Data(Int(100)), Data(Application::GetMachineInfo().Get(MACHINEINFO::OSVERSION)));
values.Set(Data(Vector(1, 0, 0)), Data(String::IntToString(Application::GetMachineInfo().Get(MACHINEINFO::NUMBEROFPROCESSORS))));

Public Member Functions

MAXON_METHOD Result< void > Init (DataDictionary *reference)
 
MAXON_METHOD Result< void > Init (const DataDictionary *reference)
 
const MAXON_METHOD DataDictionary & GetDataContainer () const
 

Private Member Functions

 MAXON_INTERFACE (DataDictionaryReferenceObjectInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.datadictionaryreferenceobject")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( DataDictionaryReferenceObjectInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.interface.datadictionaryreferenceobject"   
)
private

◆ Init() [1/2]

MAXON_METHOD Result<void> Init ( DataDictionary *  reference)

@MAXON_ANNOTATION{returnsThis}

◆ Init() [2/2]

MAXON_METHOD Result<void> Init ( const DataDictionary *  reference)

@MAXON_ANNOTATION{returnsThis}

◆ GetDataContainer()

const MAXON_METHOD DataDictionary& GetDataContainer ( ) const
maxon::Application::GetMachineInfo
static MAXON_METHOD DataDictionary GetMachineInfo()
String::IntToString
static String IntToString(Int32 v)
Definition: c4d_string.h:495
maxon::Int
Int64 Int
signed 32/64 bit int, size depends on the platform
Definition: apibase.h:186
maxon::Classes::Get
const Class< R > & Get(const Id &cls)
Definition: objectbase.h:2033
maxon::Vector
Vec3< Float, 1 > Vector
Definition: vector.h:56