digiKam
Digikam::DefaultRenameParser Class Reference
+ Inheritance diagram for Digikam::DefaultRenameParser:

Public Member Functions

 DefaultRenameParser ()
 
ParseResults invalidModifiers (ParseSettings &settings)
 
RulesList modifiers () const
 
RulesList options () const
 
QString parse (ParseSettings &settings)
 
void reset ()
 
bool tokenAtPosition (ParseSettings &settings, int pos)
 
bool tokenAtPosition (ParseSettings &settings, int pos, int &start, int &length)
 

Static Public Member Functions

static bool parseStringIsValid (const QString &str)
 

Protected Member Functions

void registerModifier (Rule *modifier)
 
void registerOption (Rule *option)
 
void unregisterModifier (Rule *modifier)
 
void unregisterOption (Rule *option)
 

Constructor & Destructor Documentation

◆ DefaultRenameParser()

Digikam::DefaultRenameParser::DefaultRenameParser ( )
explicit

Member Function Documentation

◆ invalidModifiers()

ParseResults Digikam::Parser::invalidModifiers ( ParseSettings settings)
inherited

◆ modifiers()

RulesList Digikam::Parser::modifiers ( ) const
inherited

◆ options()

RulesList Digikam::Parser::options ( ) const
inherited

◆ parse()

◆ parseStringIsValid()

bool Digikam::Parser::parseStringIsValid ( const QString &  str)
staticinherited

check if the given parse string is valid

Parameters
strthe parse string
Returns
true if valid / can be parsed

Referenced by Digikam::Parser::parse().

◆ registerModifier()

void Digikam::Parser::registerModifier ( Rule modifier)
protectedinherited

◆ registerOption()

void Digikam::Parser::registerOption ( Rule option)
protectedinherited

◆ reset()

void Digikam::Parser::reset ( )
inherited

◆ tokenAtPosition() [1/2]

bool Digikam::Parser::tokenAtPosition ( ParseSettings settings,
int  pos 
)
inherited

◆ tokenAtPosition() [2/2]

bool Digikam::Parser::tokenAtPosition ( ParseSettings settings,
int  pos,
int &  start,
int &  length 
)
inherited

◆ unregisterModifier()

void Digikam::Parser::unregisterModifier ( Rule modifier)
protectedinherited

◆ unregisterOption()

void Digikam::Parser::unregisterOption ( Rule option)
protectedinherited

The documentation for this class was generated from the following files: