TRTOption defines a command line option. More...
Public Attributes | |
char | shortName |
Option name in short (single hyphen) form (i.e. -a, -b) More... | |
std::string | longName |
Option name in long (double hyphen) form (i.e. –foo, –bar) More... | |
bool | valueRequired |
True if a value is needed for an option (i.e. -N 4, –foo bar) More... | |
std::string | helpText |
Text to show when printing out the command usage. More... | |
TRTOption defines a command line option.
At least 1 of shortName and longName must be defined. If bool initialization is undefined behavior on your system, valueRequired must also be explicitly defined. helpText is optional.
char nvinfer1::utility::TRTOption::shortName |
Option name in short (single hyphen) form (i.e. -a, -b)
std::string nvinfer1::utility::TRTOption::longName |
Option name in long (double hyphen) form (i.e. –foo, –bar)
bool nvinfer1::utility::TRTOption::valueRequired |
True if a value is needed for an option (i.e. -N 4, –foo bar)
std::string nvinfer1::utility::TRTOption::helpText |
Text to show when printing out the command usage.