Available C++ Libraries FAQ

Libraries available to download (D-L)

libpropc++ - Add properties to C++ (widget.color = "red";)

  • variable like syntax for accessing properties;
  • only two lines to create a property (having get/set functions);
  • aimed to implement binding properties (http://ex-code.com/articles/binding-properties.html);
  • documented.

Template library for properties in C++ (like this: widget.color = "red"; to change widget color).

class Widget { 
  ... 
  Color get_color(); 
  void  set_color(Color value); 
  prop::Property<Widget, Color, 
                 &Widget::set_color, &Widget::get_color> 
      color; 
  ... 
};

Optionally uses libsigc++ to notify about property value changes.

It will support binding several properties together to change accordingly each other.

Article: Binding Properties of Objects

Operating Systems

  • Platform-independent

Compilers

  • Any standard C++ compiler

Added : 2004-08-31 Amended: 2004-08-31 Licensing : GNU copyleft

Add a comment
Our ads
Buy gold
Beat the credit crunch - buy gold online - quickly, safely and at low prices
www.bullionvault.com
Google
Trumphurst Home Page
C++ Usenet Newsgroup
A Web form for submissions to this list
Contact the author for permission to distribute

Copyright (c) 2017 Nikki Locke, Trumphurst Ltd.
Permission is granted to distribute over the Internet without charge. The author's permission is required (and usually given) to distribute in any other way, including on CD.