StuBS
Parameter Struct Reference

Public Types

enum  Type {
  TEXT ,
  FILE ,
  DIRECTORY ,
  SYMLINK ,
  PATH
}
 
enum  Exist {
  MAY_EXIST ,
  MUST_EXIST ,
  MUST_NOT_EXIST
}
 

Public Member Functions

 Parameter (const bool &&local, const enum Type &&type, const enum Exist &&status=MUST_EXIST, const bool &&optional=false, const std::string name=std::string())
 
bool check (const std::string &arg) const
 
void complete (const std::string &in, const std::string &part, std::vector< std::string > &completions) const
 
std::string getName (void) const
 

Public Attributes

const bool local
 
enum Parameter::Type type
 
enum Parameter::Exist status
 
const bool optional
 
const std::string name
 

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