Jump to content
  • Advertisement
Sign in to follow this  

cpgf library -- free C++ open source library for reflection, serialization, script binding, callbacks

This topic is 2097 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


License: Apache License, Version 2.0

cpgf is a free, open source and cross platform C++ library.
cpgf adds exciting features, including reflection (meta data), serialization, script binding, callbacks (signal and slot), into standard C++.
The goal of cpgf is to extend C++ language with lots of easy to use features, which are only available in other higher level languages such as C#, Java, or scripts, and absent in C++.

Components in cpgf library

  • cpgf reflection. Add reflection and meta data feature to C++.
  • cpgf serialization. Save C++ data and objects to persistent storage and then load back.
  • cpgf script binding. A script binding engine to connect Lua, Google V8 Javascript and Python to C++.
  • cpgf callback. A callback library to implement signal/slot/callback in C++.
  • cpgf meta data collection. A library with pre-made built-in meta data support. Now there are meta data for C++ STL, OpenGL, OpenGLU, OpenGLUT, Box2D physical engine and SFML multimedia library.
  • cpgf meta data generator tool. A tool written in Java to automatically generate meta data from Doxygen XML files. This is an optional tool. Meta data can be reflected manually perfectly.

    The library was hosted on my personal website, the domain cpgf.org is a new setup.
    The library is becoming mature but not fully mature yet, I would like to hear from our gdnet community members because the library is very suitable for game development (though it's a general purpose library).


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!