Title: | Serialization of data structures in the C++ programming language using the reflection information |
Authors: | Sokół, Radosław |
Citation: | AMTEE ’11 : tenth international conference on Advanced Methods in the Theory of Electrical Engineering : September 06-09, 2011 [Cheb, Czech Republic], p. VII-5-6. |
Issue Date: | 2011 |
Publisher: | University of West Bohemia |
Document type: | konferenční příspěvek conferenceObject |
URI: | http://cpee.zcu.cz/AMTEE/ArchivedProceedings.aspx http://hdl.handle.net/11025/25932 |
ISBN: | 978-80-7043-993-7 |
Keywords: | C++;odraz;serializace;generické programování |
Keywords in different language: | C++;reflection;serialization;generic programming |
Abstract in different language: | In all cases a data structure (or an array of data structures) needs to be serialized or deserialized in the C++ programming language, a developer needs to write his or her own code. If the serialization mechanism needs to accommodate further expansion of the structure or the structure itself contains variable-length fields (especially strings), the required code can quickly grow quite large and may not be reused in further cases. However, using the reflection mechanism described in [1], one can quickly serialize and deserialize any data structure or container with few lines of code. |
Rights: | © University of West Bohemia |
Appears in Collections: | CPEE – AMTEE 2011 |
Please use this identifier to cite or link to this item:
http://hdl.handle.net/11025/25932
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.