Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends
InformationScripting::Join Class Reference
Inheritance diagram for InformationScripting::Join:
InformationScripting::LinearQuery InformationScripting::Query

Public Member Functions

virtual Optional< TupleSetexecuteLinear (TupleSet input) override
 
- Public Member Functions inherited from InformationScripting::LinearQuery
 LinearQuery (Model::Node *target=nullptr)
 
virtual QList< Optional< TupleSet > > execute (QList< TupleSet > input) override
 
- Public Member Functions inherited from InformationScripting::Query
 Query (Model::Node *target=nullptr)
 
virtual ~Query ()=default
 
bool hasInput () const
 
virtual void setHasInput ()
 
Model::Nodetarget () const
 

Static Public Member Functions

static void registerDefaultQueries ()
 

Private Types

using TaggedValue = std::pair< QString, QString >
 

Private Member Functions

 Join (Model::Node *target, QStringList args, std::vector< ArgumentRule > argumentRules)
 
Optional< QList< NamedProperty > > extractProperties (const Tuple &t, const QList< std::pair< QString, QString >> &values)
 

Private Attributes

ArgumentParser arguments_
 

Static Private Attributes

static const QStringList AS_ARGUMENT_NAMES {"a", "as"}
 
static const QStringList ON_ARGUMENT_NAMES {"o", "on"}
 
static const QStringList VALUE_ARGUMENT_NAMES {"v", "values"}
 

Friends

class QueryRegistry
 

Member Typedef Documentation

◆ TaggedValue

using InformationScripting::Join::TaggedValue = std::pair<QString, QString>
private

Constructor & Destructor Documentation

◆ Join()

InformationScripting::Join::Join ( Model::Node target,
QStringList  args,
std::vector< ArgumentRule argumentRules 
)
private

Member Function Documentation

◆ executeLinear()

Optional< TupleSet > InformationScripting::Join::executeLinear ( TupleSet  input)
overridevirtual

◆ extractProperties()

Optional< QList< NamedProperty > > InformationScripting::Join::extractProperties ( const Tuple t,
const QList< std::pair< QString, QString >> &  values 
)
private

◆ registerDefaultQueries()

void InformationScripting::Join::registerDefaultQueries ( )
static

Friends And Related Function Documentation

◆ QueryRegistry

friend class QueryRegistry
friend

Member Data Documentation

◆ arguments_

ArgumentParser InformationScripting::Join::arguments_
private

◆ AS_ARGUMENT_NAMES

const QStringList InformationScripting::Join::AS_ARGUMENT_NAMES {"a", "as"}
staticprivate

◆ ON_ARGUMENT_NAMES

const QStringList InformationScripting::Join::ON_ARGUMENT_NAMES {"o", "on"}
staticprivate

◆ VALUE_ARGUMENT_NAMES

const QStringList InformationScripting::Join::VALUE_ARGUMENT_NAMES {"v", "values"}
staticprivate