retdec
Public Member Functions | Private Attributes | List of all members
retdec::fileinfo::SpecialInformation Class Reference

#include <special_information.h>

Collaboration diagram for retdec::fileinfo::SpecialInformation:
Collaboration graph
[legend]

Public Member Functions

 SpecialInformation (std::string desc_, std::string abbv_)
 
Getters
std::size_t getNumberOfStoredValues () const
 
std::string getDescription () const
 
std::string getAbbreviation () const
 
std::string getValue (std::size_t position) const
 
void addValue (std::string value)
 

Private Attributes

std::string desc
 description of special information More...
 
std::string abbv
 abbreviation of desc More...
 
std::vector< std::string > values
 values of special information More...
 

Detailed Description

Class for special information about file.

This information is not part of the file format specification.

Constructor & Destructor Documentation

◆ SpecialInformation()

retdec::fileinfo::SpecialInformation::SpecialInformation ( std::string  desc_,
std::string  abbv_ 
)

Constructor

Parameters
desc_Description of special information
abbv_Abbreviation of desc_

Member Function Documentation

◆ addValue()

void retdec::fileinfo::SpecialInformation::addValue ( std::string  value)

Other methods

Add special information (record)

Parameters
valueValue of special information

◆ getAbbreviation()

std::string retdec::fileinfo::SpecialInformation::getAbbreviation ( ) const

Get abbreviation

Returns
Abbreviation of description

◆ getDescription()

std::string retdec::fileinfo::SpecialInformation::getDescription ( ) const

Get description

Returns
Description of special information

◆ getNumberOfStoredValues()

std::size_t retdec::fileinfo::SpecialInformation::getNumberOfStoredValues ( ) const

Get number of stored values

Returns
Number of stored values

◆ getValue()

std::string retdec::fileinfo::SpecialInformation::getValue ( std::size_t  position) const

Get value of stored record

Parameters
positionPosition of stored record (0..x)

Member Data Documentation

◆ abbv

std::string retdec::fileinfo::SpecialInformation::abbv
private

abbreviation of desc

◆ desc

std::string retdec::fileinfo::SpecialInformation::desc
private

description of special information

◆ values

std::vector<std::string> retdec::fileinfo::SpecialInformation::values
private

values of special information


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