Home
last modified time | relevance | path

Searched refs:PandArgBase (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
Dpandargs.h36 class PandArgBase; variable
37 using sub_args_t = std::vector<PandArgBase *>;
45 class PandArgBase {
47 explicit PandArgBase(std::string name, std::string desc, PandArgType type = PandArgType::NOTYPE)
89 class PandArg : public PandArgBase {
92 … : PandArgBase(name, desc, this->EvalType()), default_val_(default_val), real_val_(default_val) in PandArg()
97 : PandArgBase(name, desc, type), default_val_(default_val), real_val_(default_val) in PandArg()
102 : PandArgBase(name, desc, this->EvalType()), in PandArg()
111 : PandArgBase(name, desc, PandArgType::LIST), in PandArg()
192 …nd(const std::string &name, const std::string &desc, std::initializer_list<PandArgBase *> sub_args) in PandArgCompound()
[all …]
/arkcompiler/runtime_core/libpandabase/
DREADME.md52 - List of sub-arguments has type `std::initializer_list<PandArgBase *>`, and it accepts any non-com…
96 - `bool Add(PandArgBase* arg)` - add an argument to parser. Returns `true` if argument was succsess…
102 - `bool IsArgSet(PandArgBase* arg)` - returns `true` if an argument was added to a parser
104 - `bool PushBackTail(PandArgBase* arg)` - add tail argument to the end of tail arguments list. `fal…