A struct option C++ wrapper, helps with option::name copying/freeing. More...

#include <CommandLine.h>

Inheritance diagram for LongOption:
Collaboration diagram for LongOption:

Public Member Functions

 LongOption ()
 
 LongOption (const RawLongOption &)
 
 LongOption (const LongOption &)
 
LongOptionoperator= (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]

LongOption::LongOption ( const RawLongOption opt)
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()

void LongOption::copy ( const RawLongOption opt)
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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors