Go to the documentation of this file.
42 int main(
int argc,
char *argv[])
49 "The default is to add ranges, use 'add' and 'del' to toggle\n\n"
50 "Eg, 0 10 30 10 del 20 15"
63 bool removeMode =
false;
66 if (
args[argI] ==
"add")
71 else if (
args[argI] ==
"del")
86 Info<<
"---------------" <<
nl;
103 Info<<
" " << iter();
110 Info<<
"<list>" << ranges <<
"</list>" <<
nl;
113 Info<<
" " << iter();
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
static void addOption(const word &opt, const string ¶m="", const string &usage="")
Add to an option to validOptions with usage information.
static void addNote(const string &)
Add extra notes for the usage information.
label size() const
Return the number of arguments.
int main(int argc, char *argv[])
bool remove(const labelRange &)
Remove the range from the list.
Extract command arguments and options from the supplied argc and argv parameters.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Input from memory buffer stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)
bool add(const labelRange &)
Add the range to the list.