retdec
Public Member Functions | Private Attributes | List of all members
retdec::cpdetect::Search::RelativeJump Class Reference

#include <search.h>

Collaboration diagram for retdec::cpdetect::Search::RelativeJump:
Collaboration graph
[legend]

Public Member Functions

 RelativeJump (std::string sSlash, std::size_t sBytesAfter)
 
Jump getters
std::string getSlash () const
 
std::size_t getSlashNibbleSize () const
 
std::size_t getBytesAfter () const
 

Private Attributes

std::string slash
 representations of '/' in file More...
 
std::size_t bytesAfter
 number of bytes after slash for read More...
 

Detailed Description

Description of relative jump

Constructor & Destructor Documentation

◆ RelativeJump()

retdec::cpdetect::Search::RelativeJump::RelativeJump ( std::string  sSlash,
std::size_t  sBytesAfter 
)

Constructor of RelativeJump

Member Function Documentation

◆ getBytesAfter()

std::size_t retdec::cpdetect::Search::RelativeJump::getBytesAfter ( ) const

Get number of bytes after slash pattern

Returns
Number of bytes after slash pattern

◆ getSlash()

std::string retdec::cpdetect::Search::RelativeJump::getSlash ( ) const

Get slash pattern

Returns
Slash pattern

◆ getSlashNibbleSize()

std::size_t retdec::cpdetect::Search::RelativeJump::getSlashNibbleSize ( ) const

Get size of slash in nibbles

Member Data Documentation

◆ bytesAfter

std::size_t retdec::cpdetect::Search::RelativeJump::bytesAfter
private

number of bytes after slash for read

◆ slash

std::string retdec::cpdetect::Search::RelativeJump::slash
private

representations of '/' in file


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