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

#include <pdb_info.h>

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

Public Member Functions

Getters
std::string getType () const
 
std::string getPath () const
 
std::string getGuid () const
 
std::string getAgeStr (std::ios_base &(*format)(std::ios_base &)) const
 
std::string getTimeStampStr (std::ios_base &(*format)(std::ios_base &)) const
 
Setters
void setType (std::string sType)
 
void setPath (std::string sPath)
 
void setGuid (std::string sGuid)
 
void setAge (std::size_t sAge)
 
void setTimeStamp (std::size_t sTimeStamp)
 

Private Attributes

std::string type
 type of PDB file More...
 
std::string path
 original path to PDB debug file More...
 
std::string guid
 GUID of PDB file. More...
 
std::size_t age = std::numeric_limits<std::size_t>::max()
 age of PDB file More...
 
std::size_t timeStamp = std::numeric_limits<std::size_t>::max()
 time and date that PDB file was created More...
 

Detailed Description

Class for information about related PDB file

Value std::numeric_limits<std::size_t>::max() mean unspecified value or error for numeric types.

Member Function Documentation

◆ getAgeStr()

std::string retdec::fileinfo::PdbInfo::getAgeStr ( std::ios_base &(*)(std::ios_base &)  format) const

Get age of PDB file

Parameters
formatFormat of resulting string (e.g. std::dec, std::hex)
Returns
Age of PDB file

◆ getGuid()

std::string retdec::fileinfo::PdbInfo::getGuid ( ) const

Get GUID of PDB file

Returns
GUID of PDB file

◆ getPath()

std::string retdec::fileinfo::PdbInfo::getPath ( ) const

Get original path to PDB file

Returns
Original path to PDB file

◆ getTimeStampStr()

std::string retdec::fileinfo::PdbInfo::getTimeStampStr ( std::ios_base &(*)(std::ios_base &)  format) const

Get timestamp of PDB file

Parameters
formatFormat of resulting string (e.g. std::dec, std::hex)
Returns
Timestamp of PDB file

◆ getType()

std::string retdec::fileinfo::PdbInfo::getType ( ) const

Get type of PDB file

Returns
Type of PDB file

◆ setAge()

void retdec::fileinfo::PdbInfo::setAge ( std::size_t  sAge)

Set age of PDB file

Parameters
sAgeAge of PDB file

◆ setGuid()

void retdec::fileinfo::PdbInfo::setGuid ( std::string  sGuid)

Set GUID of PDB file

Parameters
sGuidGUID of PDB file

◆ setPath()

void retdec::fileinfo::PdbInfo::setPath ( std::string  sPath)

Set original path to PDB file

Parameters
sPathOriginal path to PDB file

◆ setTimeStamp()

void retdec::fileinfo::PdbInfo::setTimeStamp ( std::size_t  sTimeStamp)

Set timestamp of PDB file

Parameters
sTimeStampTimestamp of PDB file

◆ setType()

void retdec::fileinfo::PdbInfo::setType ( std::string  sType)

Set type of PDB file

Parameters
sTypeType of PDB file

Member Data Documentation

◆ age

std::size_t retdec::fileinfo::PdbInfo::age = std::numeric_limits<std::size_t>::max()
private

age of PDB file

◆ guid

std::string retdec::fileinfo::PdbInfo::guid
private

GUID of PDB file.

◆ path

std::string retdec::fileinfo::PdbInfo::path
private

original path to PDB debug file

◆ timeStamp

std::size_t retdec::fileinfo::PdbInfo::timeStamp = std::numeric_limits<std::size_t>::max()
private

time and date that PDB file was created

◆ type

std::string retdec::fileinfo::PdbInfo::type
private

type of PDB file


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