Node.h File Reference

Contains the interface to the Node class. More...

#include <string>
#include <map>
#include <memory>
#include <libpf/persistency/Persistent.h>
#include <libpf/persistency/Defaults.h>
#include <libpf/utility/Error.h>
#include <libpf/utility/diagnostic.h>
#include <libpf/persistency/Icon.h>

Classes

class  Node
 Concrete class, to represent a persistable node belonging to a hierarchical tree structure; the descendant ids are inside a sequential range of ids [rootId() .. (rootId() + range() - 1)] for a Node belonging to a tree the tag must be unique among siblings; also contains properties and methods related to the visualization (icon, setIcon...) More...
 
class  Node::Iterator
 
class  Node::ConstIterator
 
class  Node::Range
 
class  Node::ConstRange
 

Functions

template<class U >
my_cast (Node *gn, const char *mN)
 
template<class U >
my_cast_const (const Node *gn, const std::string &mN)
 

Detailed Description

Contains the interface to the Node class.

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

◆ my_cast()

template<class U >
U my_cast ( Node gn,
const char *  mN 
)

◆ my_cast_const()

template<class U >
U my_cast_const ( const Node gn,
const std::string &  mN 
)