Boost logo

Boost :

From: Hajo Kirchhoff (mailinglists_at_[hidden])
Date: 2004-11-02 13:51:30

Hello all,

> Considering the fact that some of the Boosters work on the GUI library,
> I would like to throw something to the mix:

I wasn't aware that some people here were into GUI work!

In that case I'd like to gauge interest in my work:

and the homepage at

This is a two part library. The base part is UI independent while the
second part aims at reducing the work for UI coding.

I was about to prepare an announcement for the base part because it
might be of interest even to non-gui programming, but am jumping the gun
here. An official announcement will follow soon.

The base part contains "data adapters" and a (very) simple constraints
solver. "Data adapters" is a small, portable "reflections" or extended
runtime type information like mechanism for C++. It is a bit simpler to
use than other such mechanisms I've seen. If you've got this struct

struct SomeSettings {
   int m_aMember;
   SomeOtherStruct m_struct;
   vector<string> m_strings;

the neccessary data adapter definition which you must include in a
source file looks like this



Note these things: It supports containers, you do not have to repeat any
type information and you do not have to modify the original struct
definition, which allows using foreign data definitions. To use it:

SomeSettings aVariable;

aggregate a=make_aggregate(aVariable);
cout << a["m_struct"].to_string();
container c=a["m_strings"].get_container();
// do stuff with the container

Initial documentation is

Some code is at


(look for accessor_as_debug)

still under development but already somewhat mature (> 1year)

The second part of the library aims at reducing GUI coding by a factor
of 10 (if anyone has a better catch phrase, please let me know). It
introduces a generic "mediator" object, enhances widgets of an existing
UI framework and lets a programmer use rules (predicates) to code UI
dependencies. contains several links to an overview,
FAQ and further reading.

I welcome any comments and thoughts you might have.

Best regards and thank you for your interest

Hajo Kirchhoff

Lit Window Library - Speed up GUI coding 10x

wxVisualSetup - integrate wxWidgets into Visual Studio .NET

BugLister - Defect Tracker

Tips & Tricks for wxWidgets & MS Visual Studio

Boost list run by bdawes at, gregod at, cpdaniel at, john at