On 18/08/2015 at 12:38, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R16
Platform: Windows ;
Language(s) : C++ ;
---------
Greetings !
I have created a customgui extending the CustomGuiData class.
I use it in resource file as:
String MY_PARAMETER_NAME {CUSTOMGUI: MY_PLUGIN_CUSTOM_GUI}
The class i use that extends CustomGuiData contains a DataStructure (lets say vector).
What i want to do is to use the GetParameter function of C4DAtom as
GeData parameter_data;
my_tag.GetParameter(DescLevel(MY_PARAMETER_NAME ), parameter_data, DESCFLAGS_GET_PARAM_GET );
and somehow make parameter_data contain the complex data structure from CustomGuiData .
What i do now is serializing that vector to String is GetData and deserializing from string to vector in SetData of CustomGuiData subclass.
Can i avoid that and use the vector as it is in GetData and SetData ?
Thank you.