Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libfactory++-dev

C++ template factory framework

libfactory++ is a C++ template framework for run-time dynamic type instantiation. You can register single classes or whole hierarchies, and then tell libfactory++ to instantiate objects using the registration key. For instance, if you register class A with key 1 and a child class A::B with key 2, then you could say create(1) to obtain a pointer to a newly allocated and constructed A object, or create(2) to return an A* containing a new instance of A::B.

libfactory++ differs from other factory approaches mainly in its flexibility. For one, libfactory++ can use any constructor a type supports, and allows you to choose (and configure) the constructor to use for each call to create(). Second, it supports custom allocators, allowing you to use e.g. a memory pool rather than continuous invocations of 'new'.

Note that the library is not (yet) complete and it's not thoroughly tested. However, given the effort and grief I went through in writing it, I would like to make it available to folks, get people to test it, and hopefully have some peeps submit improvements.

It's not yet documented, although the usage should be fairly straight forward. I am hoping to find someone else to document it as I suck at documentation and as the author, it's exceptionally difficult to stay didactically correct.

libfactory++ only exists as a -dev package as it's only a bunch of C++ header files. Therefore, no static or shared library is necessary, allowing for ultimate flexibility.

Homepage:-
Package version:0.1.4-2
Architecture:all
Distribution:Debian
Filename:libfactory++-dev_0.1.4-2_all.deb

/usr/share/doc/libfactory++-dev/README

libfactory++ README
===================

libfactory++ is (c) 2004 Martin F. Krafft <krafft@ailab.ch>
and distributed under the terms of the Artistic Licence.
See the file ./COPYING in the source distribution for more information.

Revision: $Id: README,v 1.7 2004/05/31 00:31:24 krafft Exp $

Please send bugreports to <libfactory@pobox.madduck.net>.

Introduction
------------

libfactory++ is a C++
more»

/usr/share/doc/libfactory++-dev/NEWS.gz

libfactory++ NEWS
=================

Martin F. Krafft <krafft@ailab.ch>
Revision: $Id: NEWS,v 1.3 2004/06/01 09:45:28 krafft Exp $

01 June 2004

Stephan Beal of s11n.net glory has taken up the task of writing documentation
for libfactory++. I can't say how much I appreciate that. Hopefully I can
convince him to join the development as well.

/usr/share/doc/libfactory++-dev/FAQ.gz

libfactory++ FAQ
----------------

libfactory++ is (c) 2004 Martin F. Krafft <krafft@ailab.ch>
and distributed under the terms of the Artistic Licence.
See the file ./COPYING in the source distribution for more information.

Revision: $Id: FAQ,v 1.4 2004/06/01 09:45:28 krafft Exp $

Please send bugreports to <libfactory@pobox.madduck.net>

==========================================================
more»

/usr/share/doc/libfactory++-dev/changelog.Debian.gz

libfactory++ (0.1.4-2) unstable; urgency=low

  * This is just a Debian-only cleanup:
    - Fix clea
more»

/usr/share/doc/libfactory++-dev/changelog.gz

libfactory++ ChangeLog
======================

2004-06-01  Martin F. Krafft (krafft@ailab.ch)

  - F
more»

/usr/share/doc/libfactory++-dev/TODO

libfactory++ TODO list
======================

- exception handling
- consistent use of throw () in 
more»

/usr/share/doc/libfactory++-dev/copyright

This package was debianised by martin f. krafft <madduck@debian.org> on
Tue, 15 May 2004 15:49:02 +0
more»

Browse inside libfactory++-dev_0.1.4-2_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (3)  65535+ mirrors

Download libfactory++-dev_0.1.4-2_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com