DEBFIND Suche nach Debian-Paketen

Suchplatform für Softwarepakete und Archive Debian-basierter Linux-Distributionen

beta ! Diese website wird noch weiterentwickelt.

Liste aller Kategorien/Sektionen | Suchmaske | Haftungsausschluß

Paketbeschreibung


Paketnamelibfactory++-dev
BeschreibungC++ template factory framework
Archiv/RepositoryOffizielles Debian Archiv squeeze (main)
Version0.1.4-2
Sektionlibdevel
Prioritätoptional
Installierte Größe140 Byte
Hängt ab von
Empfohlene Pakete
Paketbetreuermartin f. krafft
Quellelibfactory++
Paketgröße16542 Byte
Prüfsumme MD5b0c4d7f9b80d704871a07aadbe699530
Prüfsumme SHA11a20a9405a408a0e466ce976beb4655a274c5a35
Prüfsumme SHA256c8dadd7e4e69392921db1ef2c983dce89bd5b6232c1a44f7d0883b44b263dfd4
Link zum Herunterladenlibfactory++-dev_0.1.4-2_all.deb
Ausführliche Beschreibunglibfactory++ 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.


Impressum
Linux is a registered trademark of Linus Torvalds