Hi Ravi,

what you are looking for is called „serialization“:
https://en.wikipedia.org/wiki/Serialization 
<https://en.wikipedia.org/wiki/Serialization>

A lot of different serialization formats are available, pick the one that best 
fits your needs:
https://en.wikipedia.org/wiki/Comparison_of_data_serialization_formats 
<https://en.wikipedia.org/wiki/Comparison_of_data_serialization_formats>


Regards,
Constantin


> Am 19.11.2017 um 13:13 schrieb Ravi Joshi via zeromq-dev 
> <[email protected]>:
> 
> Hi,
> I hope you are having a great day. I am a newbie here. I am trying to 
> transfer objects from one language to another language. At present, I am able 
> to transfer strings successfully. Please allow me to explain the task.
> 
> I have an array of CameraSpacePoint[1] in C# language. The CameraSpacePoint 
> class contain three float variables, and it is defined inside Microsoft SDK 
> as follows:
> 
> namespace Microsoft.Kinect
> {
>     public struct CameraSpacePoint
>     {
>         public float X;
>         public float Y;
>         public float Z;
>    }
> }
> 
> Some methods such as Equals etc are not mentioned above to keep the post 
> cleaner. Please see Pastebin[2]
> 
> My goal is to transfer and receive this object in C++ client. To be honest, I 
> just need the X, Y and Z values of each CameraSpacePoint.
> 
> Can somebody please point me to the appropriate reference such as example 
> code etc? Thank you so much for your help.
> 
> [1] 
> https://msdn.microsoft.com/en-us/library/windowspreview.kinect.cameraspacepoint.aspx
> [2] https://pastebin.com/xTNynNp9 <https://pastebin.com/xTNynNp9>
> 
> -
> Thanks
> Ravi
> 
> 
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to