kig
argsparser.h
Go to the documentation of this file.
113 struct spec { const ObjectImpType* type; std::string usetext; std::string selectstat; bool onOrThrough;};
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
std::string selectStatement(const Args &sel) const
returns the select statement for the next selectable argument when the given args are selected...
Definition: argsparser.cpp:242
Definition: argsparser.h:112
ArgsParser without(const ObjectImpType *type) const
returns a new ArgsParser that wants the same args, except for the ones of the given type...
Definition: argsparser.cpp:145
Definition: argsparser.h:112
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
Definition: argsparser.h:113
This class is meant to take care of checking the types of the parents to ObjectCalcer's, and to put them in the correct order.
Definition: argsparser.h:106
bool isDefinedOnOrThrough(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents, this function returns whether the returned ObjectIm...
Definition: argsparser.cpp:236
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
returns the minimal ObjectImp ID that o needs to inherit in order to be useful.
Definition: argsparser.cpp:185
std::string usetext(const ObjectImp *o, const Args &sel) const
returns the usetext for the argument that o would be used for, if sel were used as parents...
Definition: argsparser.cpp:192
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
Definition: argsparser.h:112
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.