Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
Model::SymbolMatcher Class Reference

Public Member Functions

 SymbolMatcher (QRegExp *regExpMatch)
 
 SymbolMatcher (QString stringMatch)
 
bool isFixedString () const
 
bool isRegExp () const
 
bool matches (const QString &name) const
 
QString matchPattern () const
 

Static Public Member Functions

static SymbolMatcher guessMatcher (const QString &from)
 

Private Attributes

QSharedPointer< QRegExp > regExpMatch_
 
QString stringMatch_
 

Constructor & Destructor Documentation

◆ SymbolMatcher() [1/2]

Model::SymbolMatcher::SymbolMatcher ( QString  stringMatch)
inline

◆ SymbolMatcher() [2/2]

Model::SymbolMatcher::SymbolMatcher ( QRegExp *  regExpMatch)
inline

Member Function Documentation

◆ guessMatcher()

SymbolMatcher Model::SymbolMatcher::guessMatcher ( const QString &  from)
static

◆ isFixedString()

bool Model::SymbolMatcher::isFixedString ( ) const
inline

◆ isRegExp()

bool Model::SymbolMatcher::isRegExp ( ) const
inline

◆ matches()

bool Model::SymbolMatcher::matches ( const QString &  name) const
inline

◆ matchPattern()

QString Model::SymbolMatcher::matchPattern ( ) const
inline

Member Data Documentation

◆ regExpMatch_

QSharedPointer<QRegExp> Model::SymbolMatcher::regExpMatch_
private

◆ stringMatch_

QString Model::SymbolMatcher::stringMatch_
private