kig
argsparser.cpp File Reference
#include "argsparser.h"
#include "../objects/object_imp.h"
#include "../objects/object_holder.h"
#include <cassert>
#include <algorithm>
#include <kdebug.h>
Include dependency graph for argsparser.cpp:

Go to the source code of this file.
Functions | |
| static bool | hasimp (const ObjectCalcer &o, const ObjectImpType *imptype) |
| static bool | hasimp (const ObjectImp &o, const ObjectImpType *imptype) |
| static bool | isvalid (const ObjectImp &o) |
| static bool | isvalid (const ObjectCalcer &o) |
| template<class Collection> | |
| static int | check (const Collection &c, const std::vector< ArgsParser::spec > &margs) |
| template<typename Collection> | |
| static Collection | parse (const Collection &os, const std::vector< ArgsParser::spec > margs) |
| template<typename Collection> | |
| static bool | checkArgs (const Collection &os, uint min, const std::vector< ArgsParser::spec > &argsspec) |
Function Documentation
template<class Collection>
| static int check | ( | const Collection & | c, | |
| const std::vector< ArgsParser::spec > & | margs | |||
| ) | [inline, static] |
Definition at line 75 of file argsparser.cpp.
template<typename Collection>
| static bool checkArgs | ( | const Collection & | os, | |
| uint | min, | |||
| const std::vector< ArgsParser::spec > & | argsspec | |||
| ) | [inline, static] |
Definition at line 199 of file argsparser.cpp.
| static bool hasimp | ( | const ObjectImp & | o, | |
| const ObjectImpType * | imptype | |||
| ) | [static] |
Definition at line 57 of file argsparser.cpp.
| static bool hasimp | ( | const ObjectCalcer & | o, | |
| const ObjectImpType * | imptype | |||
| ) | [static] |
Definition at line 52 of file argsparser.cpp.
| static bool isvalid | ( | const ObjectCalcer & | o | ) | [static] |
Definition at line 67 of file argsparser.cpp.
| static bool isvalid | ( | const ObjectImp & | o | ) | [static] |
Definition at line 62 of file argsparser.cpp.
template<typename Collection>
| static Collection parse | ( | const Collection & | os, | |
| const std::vector< ArgsParser::spec > | margs | |||
| ) | [inline, static] |
Definition at line 110 of file argsparser.cpp.
KDE 4.0 API Reference