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 >
NodecreateObject (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.

Author
(C) Copyright 2004-2023 Paolo Greppi simevo s.r.l.

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

class NodeFactoryInitializer nodeFactoryInitializer
static