Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
DataCap::Locator Struct Reference

#include "lib/diff/gen-node.hpp"

Description

Helper to refer to any element position, irrespective if on top level or within a nested scope

Remarks
typically used within lib::IterStateWrapper
See also
DataCap::expand()

Definition at line 540 of file gen-node.hpp.

Public Attributes

const GenNodenode_
 
Rec::iterator scope_
 

Public Member Functions

 Locator ()
 
 Locator (GenNode const &n)
 
 Locator (Rec const &r)
 
const GenNodeget () const
 
bool checkPoint () const
 
GenNode const & yield () const
 
void iterNext ()
 

Constructor & Destructor Documentation

◆ Locator() [1/3]

Locator ( )
inline

Definition at line 545 of file gen-node.hpp.

◆ Locator() [2/3]

Locator ( GenNode const &  n)
inline

Definition at line 549 of file gen-node.hpp.

◆ Locator() [3/3]

Locator ( Rec const &  r)
inline

Definition at line 553 of file gen-node.hpp.

Member Function Documentation

◆ get()

const GenNode * get ( ) const
inline

Definition at line 559 of file gen-node.hpp.

References DataCap::Locator::node_, and DataCap::Locator::scope_.

Referenced by DataCap::Locator::checkPoint(), WrappedStandardExeBuilder::invokeOriginalBuilder(), and DataCap::Locator::yield().

+ Here is the caller graph for this function:

◆ checkPoint()

bool checkPoint ( ) const
inline

Definition at line 569 of file gen-node.hpp.

References DataCap::Locator::get().

+ Here is the call graph for this function:

◆ yield()

GenNode const & yield ( ) const
inline

Definition at line 575 of file gen-node.hpp.

References DataCap::Locator::get().

+ Here is the call graph for this function:

◆ iterNext()

void iterNext ( )
inline

Definition at line 581 of file gen-node.hpp.

References DataCap::Locator::node_, and DataCap::Locator::scope_.

Member Data Documentation

◆ node_

const GenNode* node_

Definition at line 542 of file gen-node.hpp.

Referenced by DataCap::Locator::get(), and DataCap::Locator::iterNext().

◆ scope_

Rec::iterator scope_

Definition at line 543 of file gen-node.hpp.

Referenced by DataCap::Locator::get(), and DataCap::Locator::iterNext().

+ Collaboration diagram for DataCap::Locator:

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