-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfscmds.cpp
More file actions
23 lines (19 loc) · 764 Bytes
/
Copy pathfscmds.cpp
File metadata and controls
23 lines (19 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "fscmds.h"
FsPar::FsPar(std::string name, int stage,std::string help,int type){
//Create a parameter. stage is the maximum stage it can be set (-1 for any time), help is the free text info for this parameter. type is 0 for normal parameters and 1 for derived parameters that shouldn't normally be set by command line (but can be)
this->name=name;
this->stage=stage;
this->help=help;
this->type=type;
}
FsPar::~FsPar(){
}
FsCmd::FsCmd(std::string name, int stage,std::string shortargs,std::string help){
//Create a command. stage is the maximum stage it can be run (-1 for any time), help is the free text info for this command.
this->name=name;
this->stage=stage;
this->shortargs=shortargs;
this->help=help;
}
FsCmd::~FsCmd(){
}