#include <fs/tool/parameter.h>
◆ Type
Enumerator |
---|
TEXT | |
FILE | |
DIRECTORY | |
SYMLINK | |
PATH | |
◆ Exist
Enumerator |
---|
MAY_EXIST | |
MUST_EXIST | |
MUST_NOT_EXIST | |
◆ Parameter() [1/2]
◆ Parameter() [2/2]
Parameter::Parameter |
( |
const bool && |
local, |
|
|
const enum Type && |
type, |
|
|
const enum Exist && |
status = MUST_EXIST , |
|
|
const bool && |
optional = false , |
|
|
const std::string |
name = std::string() |
|
) |
| |
|
inline |
◆ check()
bool Parameter::check |
( |
const std::string & |
arg | ) |
const |
◆ complete()
void Parameter::complete |
( |
const std::string & |
in, |
|
|
const std::string & |
part, |
|
|
std::vector< std::string > & |
completions |
|
) |
| const |
◆ getName()
std::string Parameter::getName |
( |
void |
| ) |
const |
◆ checkType()
◆ local
const bool Parameter::local |
◆ type
◆ status
◆ optional
const bool Parameter::optional |
◆ name
const std::string Parameter::name |
The documentation for this struct was generated from the following files: