Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Public Attributes
InformationScripting::QueryNodeInCompositeQuery Struct Reference

Public Member Functions

 QueryNodeInCompositeQuery (std::unique_ptr< Query > &&q)
 
void addCalculatedInput (int index, Optional< TupleSet > g)
 
bool canExecute () const
 
void execute ()
 

Public Attributes

QList< Optional< TupleSet > > calculatedInputs_
 
QList< Optional< TupleSet > > calculatedOutputs_
 
QVector< InputMappinginputMap_
 Describes an input mapping: The output with index outputIndex_ from the Query outputFrom_ is mapped to the input with index i in the vector. More...
 
QVector< QSet< QueryNodeInCompositeQuery * > > outputMap_
 Decribes an output mapping: 1 Output can go to multiple receivers. More...
 
std::unique_ptr< Queryq_ {}
 

Constructor & Destructor Documentation

◆ QueryNodeInCompositeQuery()

InformationScripting::QueryNodeInCompositeQuery::QueryNodeInCompositeQuery ( std::unique_ptr< Query > &&  q)
inline

Member Function Documentation

◆ addCalculatedInput()

void InformationScripting::QueryNodeInCompositeQuery::addCalculatedInput ( int  index,
Optional< TupleSet g 
)

◆ canExecute()

bool InformationScripting::QueryNodeInCompositeQuery::canExecute ( ) const

◆ execute()

void InformationScripting::QueryNodeInCompositeQuery::execute ( )

Member Data Documentation

◆ calculatedInputs_

QList<Optional<TupleSet> > InformationScripting::QueryNodeInCompositeQuery::calculatedInputs_

◆ calculatedOutputs_

QList<Optional<TupleSet> > InformationScripting::QueryNodeInCompositeQuery::calculatedOutputs_

◆ inputMap_

QVector<InputMapping> InformationScripting::QueryNodeInCompositeQuery::inputMap_

Describes an input mapping: The output with index outputIndex_ from the Query outputFrom_ is mapped to the input with index i in the vector.

Note: 1 Input can only receive a single output.

◆ outputMap_

QVector<QSet<QueryNodeInCompositeQuery*> > InformationScripting::QueryNodeInCompositeQuery::outputMap_

Decribes an output mapping: 1 Output can go to multiple receivers.

◆ q_

std::unique_ptr<Query> InformationScripting::QueryNodeInCompositeQuery::q_ {}