Abstract
A technique is presented that allows one to store groups of properties in C++, and single properties out of these groups can later be accessed by their name. Our approach refines previous work in this area and is an example for the application of template metaprogramming [1]. Typical usage examples of the introduced class templates are internal representations of serialized data, well suited for semi-automatic as well as manual generation of the corresponding class types.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Alexandrescu, A.: Modern C++ Design. Addison-Wesley, Reading (2001)
Becker, T.: STL & Generic Programming -— Typelists. C/C++ Users Journal (December 2002)
Hamilton, G. (ed.): JavaBeans TM, V1.01. Sun Microsystems (1997)
Haney, S., Crotinger, J.: How Templates Enable High-Performance Scientific Computing in C++. Journal of Computing in Science and Engineering 1(4), IEEE (July/August 1999)
Järvi, J.: Tuple types and multiple return values. C/C++ Users Journal (August 2001)
Järvi, J.: Tuples and multiple return values in C++. Turku Centre for Computer Science, Technical Report 249 (March 1999)
Järvi, J.: ML-style Tuple Assignment in Standard C++ – Extending the Multiple Return Value Formalism. Turku Centre for Computer Science, Technical Report 267 (April 1999)
JTC1/SC22 – Programming languages, their environment and system software interfaces: Programming Languages – C++. International Organization for Standardization, ISO/IEC 14882 (1998)
Jones, S.P., Hughes, J. (eds.): Haskell 1998: A Non-strict, Purely Functional Language. Language Report (1998), Available at http://www.haskell.org
Milner, R., Tofte, M., Harper, R., MacQueen, D.: The Definition of Standard ML - Revised. MIT Press, Cambridge (May 1997)
Raggett, D., Hors, A.L., Jacobs, I. (eds.): HTML 4.01 Specification. W3C Recommendation (December 1999), Available at http://www.w3.org/TR
Robertson, A.D.: The Abstraction Penalty for Small Objects in C++. In: Workshop on Parallel Object-Oriented Methods and Applications (POOMA 1996), Santa Fe, New Mexico, USA, (February/March 1996)
Siek, J.G., Lee, L.-Q., Lumsdaine, A.: The Boost Graph Library. User Guide and Reference Manual. Addison-Wesley Publishing Company, Reading (2001)
Simonis, V., Weiss, R.: Heterogeneous, Nested STL Containers in C++. In: Bjorner, D., Broy, M., Zamulin, A.V. (eds.) PSI 1999. LNCS, vol. 1755, pp. 263–267. Springer, Heidelberg (2000)
Weiss, R.: Compiling and Distributing Generic Libraries with Heterogeneous Data and Code Representation. PhD thesis, University of Tübingen (2003)
Winch, E.: Heterogenous Lists of Named Objects. In: Second Workshop on C++ Template Programming, Tampa Bay, Florida, USA (October 2001)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Weiss, R., Simonis, V. (2004). Storing Properties in Grouped Tagged Tuples. In: Broy, M., Zamulin, A.V. (eds) Perspectives of System Informatics. PSI 2003. Lecture Notes in Computer Science, vol 2890. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-39866-0_3
Download citation
DOI: https://doi.org/10.1007/978-3-540-39866-0_3
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-20813-6
Online ISBN: 978-3-540-39866-0
eBook Packages: Springer Book Archive