A struct option C++ wrapper, helps with option::name copying/freeing. More...
#include <CommandLine.h>
Public Member Functions | |
LongOption () | |
LongOption (const RawLongOption &) | |
LongOption (const LongOption &) | |
LongOption & | operator= (const LongOption &) |
~LongOption () | |
Private Member Functions | |
void | copy (const RawLongOption &) |
Detailed Description
Definition at line 20 of file CommandLine.h.
Constructor & Destructor Documentation
◆ LongOption() [1/3]
LongOption::LongOption | ( | ) |
Definition at line 131 of file CommandLine.cc.
◆ LongOption() [2/3]
|
explicit |
Definition at line 136 of file CommandLine.cc.
◆ LongOption() [3/3]
LongOption::LongOption | ( | const LongOption & | opt | ) |
Definition at line 142 of file CommandLine.cc.
◆ ~LongOption()
LongOption::~LongOption | ( | ) |
Definition at line 147 of file CommandLine.cc.
References xfree.
Member Function Documentation
◆ copy()
|
private |
Definition at line 161 of file CommandLine.cc.
References xfree, and xstrdup.
Referenced by operator=().
◆ operator=()
LongOption & LongOption::operator= | ( | const LongOption & | opt | ) |
Definition at line 153 of file CommandLine.cc.
References copy().
The documentation for this class was generated from the following files:
- src/CommandLine.h
- src/CommandLine.cc