TOC PREV NEXT INDEX


Preparing C++ Objects for Encoding


Before data can be encoded, an instance of the C++ class for a given data type must be populated. In most cases, this involves the simple assignment of data items to the elements within the structure and is very similar to the C case presented earlier. In some cases, however, dynamic memory pointers are involved. It is necessary to know how dynamic memory works in the run-time in order to populate these fields.

Copyright © Objective Systems 2002-2008
This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included.

Objective Systems, Inc.

55 Dowlin Forge Road
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com

TOC PREV NEXT INDEX