Skip to main content

Storing Properties in Grouped Tagged Tuples

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2890))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Alexandrescu, A.: Modern C++ Design. Addison-Wesley, Reading (2001)

    Google Scholar 

  2. Becker, T.: STL & Generic Programming -— Typelists. C/C++ Users Journal (December 2002)

    Google Scholar 

  3. Hamilton, G. (ed.): JavaBeans TM, V1.01. Sun Microsystems (1997)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Järvi, J.: Tuple types and multiple return values. C/C++ Users Journal (August 2001)

    Google Scholar 

  6. Järvi, J.: Tuples and multiple return values in C++. Turku Centre for Computer Science, Technical Report 249 (March 1999)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. JTC1/SC22 – Programming languages, their environment and system software interfaces: Programming Languages – C++. International Organization for Standardization, ISO/IEC 14882 (1998)

    Google Scholar 

  9. Jones, S.P., Hughes, J. (eds.): Haskell 1998: A Non-strict, Purely Functional Language. Language Report (1998), Available at http://www.haskell.org

  10. Milner, R., Tofte, M., Harper, R., MacQueen, D.: The Definition of Standard ML - Revised. MIT Press, Cambridge (May 1997)

    Google Scholar 

  11. Raggett, D., Hors, A.L., Jacobs, I. (eds.): HTML 4.01 Specification. W3C Recommendation (December 1999), Available at http://www.w3.org/TR

  12. 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)

    Google Scholar 

  13. Siek, J.G., Lee, L.-Q., Lumsdaine, A.: The Boost Graph Library. User Guide and Reference Manual. Addison-Wesley Publishing Company, Reading (2001)

    Google Scholar 

  14. 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)

    Chapter  Google Scholar 

  15. Weiss, R.: Compiling and Distributing Generic Libraries with Heterogeneous Data and Code Representation. PhD thesis, University of Tübingen (2003)

    Google Scholar 

  16. Winch, E.: Heterogenous Lists of Named Objects. In: Second Workshop on C++ Template Programming, Tampa Bay, Florida, USA (October 2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics