retdec
Public Member Functions | Public Attributes | List of all members
retdec::unpackertool::ArgInfo Struct Reference

Metadata for commend-line arguments. More...

#include <arg_handler.h>

Collaboration diagram for retdec::unpackertool::ArgInfo:
Collaboration graph
[legend]

Public Member Functions

 ArgInfo (char opt, const std::string &longOpt, bool hasInput)
 
 ~ArgInfo ()
 

Public Attributes

char _opt
 Short option. More...
 
std::string _longOpt
 Long option. More...
 
bool _hasInput
 Has an input. More...
 
ArgData_data
 Data. More...
 

Detailed Description

Metadata for commend-line arguments.

ArgInfo represents the metadata for all available command-line arguments. If the command-line argument is used during the program startup it also contains the data of the command-line argument. If the argument is marked as input argument, the next argument will be considered as an input to this argument.

Constructor & Destructor Documentation

◆ ArgInfo()

retdec::unpackertool::ArgInfo::ArgInfo ( char  opt,
const std::string &  longOpt,
bool  hasInput 
)
inline

◆ ~ArgInfo()

retdec::unpackertool::ArgInfo::~ArgInfo ( )
inline

Member Data Documentation

◆ _data

ArgData* retdec::unpackertool::ArgInfo::_data

Data.

◆ _hasInput

bool retdec::unpackertool::ArgInfo::_hasInput

Has an input.

◆ _longOpt

std::string retdec::unpackertool::ArgInfo::_longOpt

Long option.

◆ _opt

char retdec::unpackertool::ArgInfo::_opt

Short option.


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