bpp-phyl3  3.0.0
bpp::Context::CachedNodeRef Struct Reference

NodeRef is hashable and comparable as a pointer. CachedNodeRef is hashable and comparable, by comparing the node configuration: More...

+ Collaboration diagram for bpp::Context::CachedNodeRef:

Public Member Functions

 CachedNodeRef (NodeRef &&r)
 
 CachedNodeRef (NodeRef &r)
 
bool operator== (const CachedNodeRef &other) const
 

Public Attributes

NodeRef ref
 

Detailed Description

NodeRef is hashable and comparable as a pointer. CachedNodeRef is hashable and comparable, by comparing the node configuration:

  • Derived class type,
  • Dependencies,
  • Additional values (for constants, Model, etc). Thus a set of CachedNodeRef will merge nodes by represented value.

Definition at line 589 of file DataFlow.h.

Constructor & Destructor Documentation

◆ CachedNodeRef() [1/2]

bpp::Context::CachedNodeRef::CachedNodeRef ( NodeRef &&  r)
inline

Definition at line 593 of file DataFlow.h.

◆ CachedNodeRef() [2/2]

bpp::Context::CachedNodeRef::CachedNodeRef ( NodeRef r)
inline

Definition at line 595 of file DataFlow.h.

Member Function Documentation

◆ operator==()

bool bpp::Context::CachedNodeRef::operator== ( const CachedNodeRef other) const

Definition at line 412 of file DataFlow.cpp.

References ref.

Member Data Documentation

◆ ref

NodeRef bpp::Context::CachedNodeRef::ref

Definition at line 591 of file DataFlow.h.

Referenced by bpp::Context::CachedNodeRefHash::operator()(), and operator==().


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