NodeFactory.h File Reference
Contains the interface to the NodeFactory class and the implementation of its generic methods. More...
#include <map>#include <string>#include <cstdint>#include <iostream>#include <algorithm>#include <functional>#include <libpf/utility/Error.h>#include <libpf/persistency/TypeDescriptor.h>#include <libpf/persistency/Defaults.h>#include <libpf/persistency/Icon.h>Classes | |
| class | NodeFactory |
| Node factory. More... | |
| class | NodeFactoryInitializer |
Namespaces | |
| namespace | Libpf |
| namespace | Libpf::User |
Functions | |
| const std::vector< Libpf::Persistency::TypeDescriptor > & | Libpf::User::listTypes (int &error) |
| template<typename C > | |
| Node * | createObject (Libpf::Persistency::Defaults defaults, uint32_t id, Persistency *persistency, Persistent *parent, Persistent *root) |
| create a new node More... | |
Variables | |
| static class NodeFactoryInitializer | nodeFactoryInitializer |
Detailed Description
Contains the interface to the NodeFactory class and the implementation of its generic methods.
This file is part of LIBPF All rights reserved; do not distribute without permission.
Function Documentation
◆ createObject()
template<typename C >
| Node * createObject | ( | Libpf::Persistency::Defaults | defaults, |
| uint32_t | id, | ||
| Persistency * | persistency, | ||
| Persistent * | parent, | ||
| Persistent * | root | ||
| ) |
create a new node
Variable Documentation
◆ nodeFactoryInitializer
|
static |