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

Argument data for command-line arguments. More...

#include <arg_handler.h>

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

Public Member Functions

 ArgData ()
 Constructor. More...
 
 ArgData (const ArgData &data)
 Copy constructor. More...
 
 operator bool () const
 

Public Attributes

bool used
 Argument usage. More...
 
std::string input
 Input text of argument. More...
 

Detailed Description

Argument data for command-line arguments.

ArgData represents the information whether command-line argument was used or not. If it is used, this structure also contains the input data of the argument.

Constructor & Destructor Documentation

◆ ArgData() [1/2]

retdec::unpackertool::ArgData::ArgData ( )
inline

Constructor.

◆ ArgData() [2/2]

retdec::unpackertool::ArgData::ArgData ( const ArgData data)
inline

Copy constructor.

Member Function Documentation

◆ operator bool()

retdec::unpackertool::ArgData::operator bool ( ) const
inline

Functor for usage in conditions.

Returns
True if command-line argument was used, otherwise false.

Member Data Documentation

◆ input

std::string retdec::unpackertool::ArgData::input

Input text of argument.

◆ used

bool retdec::unpackertool::ArgData::used

Argument usage.


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