Macros
commandline.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CMD_PARSE_BEGIN(i, count)
 
#define CMD_PARSE_BEGIN_SILENT(i, count)
 
#define CMD_PARSE_END
 
#define CMD_PARSE_END_SILENT
 
#define parseDouble(name, value)
 
#define parseDoubleSilent(name, value)
 
#define parseFlag(name, value)
 
#define parseFlagSilent(name, value)
 
#define parseInt(name, value)
 
#define parseIntSilent(name, value)
 
#define parseString(name, value)
 
#define parseStringSilent(name, value)
 

Macro Definition Documentation

#define CMD_PARSE_BEGIN (   i,
  count 
)
Value:
{\
int c=i;\
while (c<count){\
bool recognized=false;
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 60 of file commandline.h.

#define CMD_PARSE_BEGIN_SILENT (   i,
  count 
)
Value:
{\
int c=i;\
while (c<count){\
bool recognized=false;
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 73 of file commandline.h.

#define CMD_PARSE_END
Value:
if (!recognized)\
cout << "COMMAND LINE: parameter " << argv[c] << " not recognized" << endl;\
c++;\
}\
}
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 66 of file commandline.h.

#define CMD_PARSE_END_SILENT
Value:
c++;\
}\
}
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 79 of file commandline.h.

#define parseDouble (   name,
  value 
)
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
c++;\
value=atof(argv[c]);\
cout << name << "=" << value << endl;\
recognized=true;\
}\
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 44 of file commandline.h.

#define parseDoubleSilent (   name,
  value 
)
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
c++;\
value=atof(argv[c]);\
recognized=true;\
}\
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 99 of file commandline.h.

#define parseFlag (   name,
  value 
)
Value:
if (!strcmp(argv[c],name)){\
value=true;\
cout << name << " on"<< endl;\
recognized=true;\
}\
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 28 of file commandline.h.

#define parseFlagSilent (   name,
  value 
)
Value:
if (!strcmp(argv[c],name)){\
value=true;\
recognized=true;\
}\
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 85 of file commandline.h.

#define parseInt (   name,
  value 
)
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
c++;\
value=atoi(argv[c]);\
cout << name << "=" << value << endl;\
recognized=true;\
}\
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 52 of file commandline.h.

#define parseIntSilent (   name,
  value 
)
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
c++;\
value=atoi(argv[c]);\
recognized=true;\
}\
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 106 of file commandline.h.

#define parseString (   name,
  value 
)
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
c++;\
value=argv[c];\
cout << name << "=" << value << endl;\
recognized=true;\
}\
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 35 of file commandline.h.

#define parseStringSilent (   name,
  value 
)
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
c++;\
value=argv[c];\
recognized=true;\
}\
unsigned int c
Definition: gfs2stream.cpp:41

Definition at line 91 of file commandline.h.



openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22