Lumiera  0.pre.03
»edit your freedom«
ProcID Class Reference

Description

Definition at line 52 of file proc-id.hpp.

Public Member Functions

string genNodeName ()
 
string genNodeSpec (Leads &)
 
string genProcName ()
 
string genProcSpec ()
 render a descriptor for the operation (without predecessors)
 
string genSrcSpec (Leads &)
 transitively enumerate all unique source nodes
 

Static Public Member Functions

static ProcIDdescribe (StrView nodeSymb, StrView portSpec)
 build and register a processing ID descriptor More...
 

Friends

HashVal hash_value (ProcID const &)
 generate registry hash value based on the distinct data in ProcID. More...
 
bool operator!= (ProcID const &l, ProcID const &r)
 
bool operator== (ProcID const &l, ProcID const &r)
 

Private Types

using Leads = lib::Several< ProcNodeRef >
 
using ProcNodeRef = std::reference_wrapper< ProcNode >
 

Private Member Functions

 ProcID (StrView nodeSymb, StrView portQual, StrView argLists)
 

Private Attributes

StrView argLists_
 
StrView nodeSymb_
 
StrView portQual_
 

Constructor & Destructor Documentation

◆ ProcID()

ProcID ( StrView  nodeSymb,
StrView  portQual,
StrView  argLists 
)
private

Definition at line 93 of file proc-node.cpp.

Member Function Documentation

◆ describe()

ProcID & describe ( StrView  nodeSymb,
StrView  portSpec 
)
static

build and register a processing ID descriptor

Remarks
this is the only public access point to ProcID entries, which are automatically deduplicated and managed in a common registry and retained until end of the Lumiera process (never deleted).

Definition at line 69 of file proc-node.cpp.

Friends And Related Function Documentation

◆ hash_value

HashVal hash_value ( ProcID const &  procID)
friend

generate registry hash value based on the distinct data in ProcID.

This function is intended to be picked up by ADL, and should be usable both with std::hash and <boost/functional/hash.hpp>.

Definition at line 105 of file proc-node.cpp.

+ Collaboration diagram for ProcID:

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