flow  3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
flow::named Class Reference

Base class for objects that are named. More...

#include <named.h>

Inheritance diagram for flow::named:
Inheritance graph
[legend]

Public Member Functions

 named (const std::string &name_r)
 Constructor the takes a name.
 
 named (named &&name_rr)
 Move constructor.
 
 named (const named &name_r)
 Copy constructor.
 
virtual const std::string & name () const
 A const reference to this object's name.
 
virtual std::string rename (const std::string &name_r)
 Sets this object's name to a new name.
 

Detailed Description

Base class for objects that are named.

This class is used to name all objects in the flow namespaces. The names of objects are then used to reference them. Names can also help debugging node connections since pipe and pin names are typically generated from the names of the nodes they connect.

Constructor & Destructor Documentation

flow::named::named ( const std::string &  name_r)
inline

Constructor the takes a name.

Parameters
name_rThe name of this object.

Member Function Documentation

virtual std::string flow::named::rename ( const std::string &  name_r)
inlinevirtual

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