retdec
Private Attributes | List of all members
retdec::fileinfo::Strings Class Reference

#include <strings.h>

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

Public Member Functions

Getters
std::size_t getNumberOfStrings () const
 
std::string getStringFileOffsetStr (std::size_t index, std::ios_base &(*format)(std::ios_base &)) const
 
std::string getStringTypeStr (std::size_t index) const
 
std::string getStringSectionName (std::size_t index) const
 
std::string getStringContent (std::size_t index) const
 
Setters
void setStrings (const std::vector< retdec::fileformat::String > *detectedStrings)
 
Other methods
bool hasRecords () const
 

Private Attributes

const std::vector< retdec::fileformat::String > * strings = nullptr
 

Detailed Description

Class for strings

Member Function Documentation

◆ getNumberOfStrings()

std::size_t retdec::fileinfo::Strings::getNumberOfStrings ( ) const

◆ getStringContent()

std::string retdec::fileinfo::Strings::getStringContent ( std::size_t  index) const

◆ getStringFileOffsetStr()

std::string retdec::fileinfo::Strings::getStringFileOffsetStr ( std::size_t  index,
std::ios_base &(*)(std::ios_base &)  format 
) const

◆ getStringSectionName()

std::string retdec::fileinfo::Strings::getStringSectionName ( std::size_t  index) const

◆ getStringTypeStr()

std::string retdec::fileinfo::Strings::getStringTypeStr ( std::size_t  index) const

◆ hasRecords()

bool retdec::fileinfo::Strings::hasRecords ( ) const

◆ setStrings()

void retdec::fileinfo::Strings::setStrings ( const std::vector< retdec::fileformat::String > *  detectedStrings)

Member Data Documentation

◆ strings

const std::vector<retdec::fileformat::String>* retdec::fileinfo::Strings::strings = nullptr
private

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