senf::console::factory::Link Class Reference

LinkNode factory. More...

#include <senf/Utils/Console/Node.hh>

Inheritance diagram for senf::console::factory::Link:

Public Types

typedef LinkNode node_type
 
typedef LinkNoderesult_type
 

Public Member Functions

 Link (GenericNode &target)
 

Detailed Description

LinkNode factory.

This factory will create new link nodes. Use

namespace fty = senf::console::factory;
node.add("mylink", fty::Link(targetNode))
    To add a link \a mylink to \a node pointing to \a targetNode

    \see \ref node_tree

Definition at line 796 of file Node.hh.

Member Typedef Documentation

◆ node_type

Definition at line 800 of file Node.hh.

◆ result_type

Definition at line 801 of file Node.hh.

Constructor & Destructor Documentation

◆ Link()

senf::console::factory::Link::Link ( GenericNode target)
explicit

The documentation for this class was generated from the following file: