senf::console::LinkNode Class Reference

Config/console tree link node. More...

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

Inheritance diagram for senf::console::LinkNode:
Inheritance graph
[legend]

List of all members.


Detailed Description

Config/console tree link node.

A LinkNode references another node and provides an additional alias name for that node. A LinkNode works like a mixture of UNIX symlinks and hardlinks: It is an explicit link like a UNIX symlink but references another node directly (not via it's path) like a UNIX hardlink. Therefore, a LinkNode works across chroot().

Definition at line 348 of file Node.hh.


Public Types

typedef boost::shared_ptr
< LinkNode
ptr
typedef boost::shared_ptr
< LinkNode const > 
cptr
typedef boost::weak_ptr< LinkNode weak_ptr

Public Member Functions

GenericNode follow () const
  Access the referenced node.

Structors and default members

static ptr  create (GenericNode &node)
  Create new link node.

Member Typedef Documentation

typedef boost::shared_ptr<LinkNode const> senf::console::LinkNode::
cptr

Reimplemented from senf::console::GenericNode.

Definition at line 356 of file Node.hh.

typedef boost::shared_ptr<LinkNode> senf::console::LinkNode::
ptr

Reimplemented from senf::console::GenericNode.

Definition at line 355 of file Node.hh.

typedef boost::weak_ptr<LinkNode> senf::console::LinkNode::
weak_ptr

Reimplemented from senf::console::GenericNode.

Definition at line 357 of file Node.hh.


Member Function Documentation

senf::console::LinkNode::ptr senf::console::LinkNode::
create ( GenericNode node )

Create new link node.

You should normally use DirectoryNode::link() to create a link node.

Definition at line 146 of file Node.cci.

senf::console::GenericNode & senf::console::LinkNode::
follow ()

Access the referenced node.

Definition at line 140 of file Node.cci.


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