Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends
InformationScripting::VersionControlQuery Class Reference
Inheritance diagram for InformationScripting::VersionControlQuery:
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 Member Functions

 VersionControlQuery (Model::Node *target, QStringList args, std::vector< ArgumentRule > argumentRules)
 
Optional< QList< QString > > commitsToConsider (const QStringList &commitIdRange) const
 

Static Private Member Functions

static void addCommitMetaInformation (TupleSet &ts, const FilePersistence::CommitMetaData &metadata)
 

Private Attributes

ArgumentParser arguments_
 

Static Private Attributes

static const QStringList COUNT_ARGUMENT_NAMES {"c", "count"}
 
static const QStringList IN_ARGUMENT_NAMES {"in"}
 
static const QStringList INCLUDE_INTERMEDIATE_VERSIONS_ARGUMENT_NAMES {"intermediate"}
 
static const QStringList NODE_TYPE_ARGUMENT_NAMES {"t", "type"}
 
static const QStringList NODES_ARGUMENTS_NAMES {"nodes"}
 
static const QStringList TYPED_CHANGES_ARGUMENT_NAMES {"tc", "typed_changes"}
 

Friends

class QueryRegistry
 

Constructor & Destructor Documentation

◆ VersionControlQuery()

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

Member Function Documentation

◆ addCommitMetaInformation()

void InformationScripting::VersionControlQuery::addCommitMetaInformation ( TupleSet ts,
const FilePersistence::CommitMetaData metadata 
)
staticprivate

◆ commitsToConsider()

Optional< QList< QString > > InformationScripting::VersionControlQuery::commitsToConsider ( const QStringList &  commitIdRange) const
private

◆ executeLinear()

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

◆ registerDefaultQueries()

void InformationScripting::VersionControlQuery::registerDefaultQueries ( )
static

Friends And Related Function Documentation

◆ QueryRegistry

friend class QueryRegistry
friend

Member Data Documentation

◆ arguments_

ArgumentParser InformationScripting::VersionControlQuery::arguments_
private

◆ COUNT_ARGUMENT_NAMES

const QStringList InformationScripting::VersionControlQuery::COUNT_ARGUMENT_NAMES {"c", "count"}
staticprivate

◆ IN_ARGUMENT_NAMES

const QStringList InformationScripting::VersionControlQuery::IN_ARGUMENT_NAMES {"in"}
staticprivate

◆ INCLUDE_INTERMEDIATE_VERSIONS_ARGUMENT_NAMES

const QStringList InformationScripting::VersionControlQuery::INCLUDE_INTERMEDIATE_VERSIONS_ARGUMENT_NAMES {"intermediate"}
staticprivate

◆ NODE_TYPE_ARGUMENT_NAMES

const QStringList InformationScripting::VersionControlQuery::NODE_TYPE_ARGUMENT_NAMES {"t", "type"}
staticprivate

◆ NODES_ARGUMENTS_NAMES

const QStringList InformationScripting::VersionControlQuery::NODES_ARGUMENTS_NAMES {"nodes"}
staticprivate

◆ TYPED_CHANGES_ARGUMENT_NAMES

const QStringList InformationScripting::VersionControlQuery::TYPED_CHANGES_ARGUMENT_NAMES {"tc", "typed_changes"}
staticprivate