Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TCLAP::DocBookOutput Class Reference

#include <DocBookOutput.h>

Inheritance diagram for TCLAP::DocBookOutput:
Inheritance graph
[legend]

Public Member Functions

virtual void failure (CmdLineInterface &c, ArgException &e)
 
virtual void usage (CmdLineInterface &c)
 
virtual void version (CmdLineInterface &c)
 
- Public Member Functions inherited from TCLAP::CmdLineOutput
virtual ~CmdLineOutput ()
 

Protected Member Functions

void basename (std::string &s)
 
void printLongArg (Arg *it)
 
void printShortArg (Arg *it)
 
void removeChar (std::string &s, char r)
 
void substituteSpecialChars (std::string &s, char r, std::string &x)
 

Protected Attributes

char theDelimiter
 

Detailed Description

A class that generates DocBook output for usage() method for the given CmdLine and its Args.

Definition at line 43 of file DocBookOutput.h.

Member Function Documentation

void TCLAP::DocBookOutput::basename ( std::string s)
inlineprotected

Definition at line 203 of file DocBookOutput.h.

void TCLAP::DocBookOutput::failure ( CmdLineInterface c,
ArgException e 
)
inlinevirtual

Prints (to stderr) an error message, short usage Can be overridden to produce alternative behavior.

Parameters
c- The CmdLine object the output is generated for.
e- The ArgException that caused the failure.

Implements TCLAP::CmdLineOutput.

Definition at line 174 of file DocBookOutput.h.

void TCLAP::DocBookOutput::printLongArg ( Arg it)
inlineprotected

Definition at line 252 of file DocBookOutput.h.

void TCLAP::DocBookOutput::printShortArg ( Arg it)
inlineprotected

Definition at line 212 of file DocBookOutput.h.

void TCLAP::DocBookOutput::removeChar ( std::string s,
char  r 
)
inlineprotected

Definition at line 194 of file DocBookOutput.h.

void TCLAP::DocBookOutput::substituteSpecialChars ( std::string s,
char  r,
std::string x 
)
inlineprotected

Substitutes the char r for string x in string s.

Parameters
s- The string to operate on.
r- The char to replace.
x- What to replace r with.

Definition at line 182 of file DocBookOutput.h.

void TCLAP::DocBookOutput::usage ( CmdLineInterface c)
inlinevirtual

Prints the usage to stdout. Can be overridden to produce alternative behavior.

Parameters
c- The CmdLine object the output is generated for.

Implements TCLAP::CmdLineOutput.

Definition at line 95 of file DocBookOutput.h.

void TCLAP::DocBookOutput::version ( CmdLineInterface c)
inlinevirtual

Prints the version to stdout. Can be overridden to produce alternative behavior.

Parameters
c- The CmdLine object the output is generated for.

Implements TCLAP::CmdLineOutput.

Definition at line 90 of file DocBookOutput.h.

Member Data Documentation

char TCLAP::DocBookOutput::theDelimiter
protected

Definition at line 86 of file DocBookOutput.h.


The documentation for this class was generated from the following file:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43