Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Private Member Functions | Private Attributes
Interaction::OperatorDescriptorList Class Reference
Inheritance diagram for Interaction::OperatorDescriptorList:
OOInteraction::OOOperatorDescriptorList

Public Member Functions

 ~OperatorDescriptorList ()
 
void addDescriptor (OperatorDescriptor *descriptor)
 
OperatorDescriptorat (int i) const
 
QList< OperatorDescriptor * > findByEmptyInfixWithoutPrefix () const
 
QList< OperatorDescriptor * > findByInfixWithoutPrefix (const QStringList &infixTokens) const
 
OperatorDescriptorfindByName (QString name) const
 
QList< OperatorDescriptor * > findByPostfixWithoutPreInfix (const QStringList &postfixTokens) const
 
QList< OperatorDescriptor * > findByPrefix (const QStringList &prefixTokens) const
 
int size () const
 

Static Private Member Functions

static bool listStartsWith (const QStringList &longList, const QStringList &prefixToCheck)
 

Private Attributes

QList< OperatorDescriptor * > ops_
 

Constructor & Destructor Documentation

◆ ~OperatorDescriptorList()

Interaction::OperatorDescriptorList::~OperatorDescriptorList ( )

Member Function Documentation

◆ addDescriptor()

void Interaction::OperatorDescriptorList::addDescriptor ( OperatorDescriptor descriptor)
inline

◆ at()

OperatorDescriptor * Interaction::OperatorDescriptorList::at ( int  i) const
inline

◆ findByEmptyInfixWithoutPrefix()

QList< OperatorDescriptor * > Interaction::OperatorDescriptorList::findByEmptyInfixWithoutPrefix ( ) const

◆ findByInfixWithoutPrefix()

QList< OperatorDescriptor * > Interaction::OperatorDescriptorList::findByInfixWithoutPrefix ( const QStringList &  infixTokens) const

◆ findByName()

OperatorDescriptor * Interaction::OperatorDescriptorList::findByName ( QString  name) const

◆ findByPostfixWithoutPreInfix()

QList< OperatorDescriptor * > Interaction::OperatorDescriptorList::findByPostfixWithoutPreInfix ( const QStringList &  postfixTokens) const

◆ findByPrefix()

QList< OperatorDescriptor * > Interaction::OperatorDescriptorList::findByPrefix ( const QStringList &  prefixTokens) const

◆ listStartsWith()

bool Interaction::OperatorDescriptorList::listStartsWith ( const QStringList &  longList,
const QStringList &  prefixToCheck 
)
inlinestaticprivate

◆ size()

int Interaction::OperatorDescriptorList::size ( ) const
inline

Member Data Documentation

◆ ops_

QList<OperatorDescriptor*> Interaction::OperatorDescriptorList::ops_
private