Loading...
Searching...
No Matches
by::tbaseConvergence< T > Class Template Reference
Inheritance diagram for by::tbaseConvergence< T >:
by::baseConvergence

Public Member Functions

 tbaseConvergence (baseObj &obj, baseFunc &func, onConverge closure)
 
nbool converge () override
 
baseFuncgetFunc ()
 
const baseFuncgetFunc () const BY_CONST_FUNC(getFunc())
 
baseObjgetObj ()
 
const baseObjgetObj () const BY_CONST_FUNC(getObj())
 
- Public Member Functions inherited from by::baseConvergence
virtual nbool convergeWithoutFrame ()=0
 

Protected Types

using onConverge = typename ConvergenceClosure<T>::is
 

Protected Member Functions

onConverge _getClosure ()
 

Member Function Documentation

◆ converge()

template<typename T >
nbool by::tbaseConvergence< T >::converge ( )
inlineoverridevirtual

converge type to real obj type. parser registered all obj in some obj. and expander is now visiting all object's sub nodes while interaction frames. in spite of that, infer()origin has been failed. which means, the origin, actually getExpr holding for a name, is refering variable not expanded yet.

I need to replace 'getExpr(<name>)' type to proper real origin obj. if I don't do that, before on every try to access parameters or return type of a func, user must interacts proper scope of it to the frame. it's very tedious and redundant job.

this requests of type convergence will be done when expand() done successfully.

Returns
true if type has been converged successfully.

Implements by::baseConvergence.


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