retdec
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
retdec::fileformat::Stream Class Reference

#include <stream.h>

Inheritance diagram for retdec::fileformat::Stream:
Inheritance graph
[legend]
Collaboration diagram for retdec::fileformat::Stream:
Collaboration graph
[legend]

Public Member Functions

virtual ~Stream ()=default
 
Getters
StreamType getType () const
 
std::uint64_t getOffset () const
 
std::uint64_t getSize () const
 
const std::string & getName () const
 

Protected Member Functions

 Stream (StreamType streamType, std::uint64_t streamOffset, std::uint64_t streamSize)
 

Private Attributes

StreamType type
 
std::uint64_t offset
 
std::uint64_t size
 
std::string name
 

Detailed Description

Abstract stream

Constructor & Destructor Documentation

◆ Stream()

retdec::fileformat::Stream::Stream ( StreamType  streamType,
std::uint64_t  streamOffset,
std::uint64_t  streamSize 
)
inlineprotected

◆ ~Stream()

virtual retdec::fileformat::Stream::~Stream ( )
virtualdefault

Member Function Documentation

◆ getName()

const std::string& retdec::fileformat::Stream::getName ( ) const
inline

◆ getOffset()

std::uint64_t retdec::fileformat::Stream::getOffset ( ) const
inline

◆ getSize()

std::uint64_t retdec::fileformat::Stream::getSize ( ) const
inline

◆ getType()

StreamType retdec::fileformat::Stream::getType ( ) const
inline

Member Data Documentation

◆ name

std::string retdec::fileformat::Stream::name
private

◆ offset

std::uint64_t retdec::fileformat::Stream::offset
private

◆ size

std::uint64_t retdec::fileformat::Stream::size
private

◆ type

StreamType retdec::fileformat::Stream::type
private

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