Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-07-26 18:33:44


"Thomas Witt" <witt_at_[hidden]> wrote in message
news:200307262236.46116.witt_at_ive.uni-hannover.de...
...
> AFAICS the main problem with data transfer between GUI and application is
that
> it is bi-directional and that more often than not conversions are
required.
> E.g. numerical values need to be converted to their textual presentation,
> they might need to be scaled first to adjust for different units (km/m)
used
> for presentation. Currently the conversions are done in different parts of
> the code depending on the direction, thus begging for inconsistency.
>
On http://groups.yahoo.com/group/boost/files/quantity2/ is small library I
wrote to solve this problem (easier conversion between different units).

When conversion routines are set up, it is possible to write code like:

RGB_value = HSV_value;

and conversion routine kicks in automatically.

The code is relatively simple and documentation is provided.

/Pavel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk