ROSE  0.10.0.0
Public Member Functions | List of all members
Rose::BinaryAnalysis::SRecord::RunLengthEncoding Class Reference

Description

Run-length encoding information.

Definition at line 184 of file SRecord.h.

#include <SRecord.h>

Public Member Functions

 RunLengthEncoding ()
 Default constructor. More...
 
void insert (const SRecord &)
 Insert an S-Record into the data sumarized by this class. More...
 
Sawyer::Optional< rose_addr_t > dataAddress (const SRecord &) const
 Returns the memory address for the start of a data record, or nothing. More...
 
rose_addr_t baseDataAddress () const
 Base data address. More...
 
Sawyer::Optional< rose_addr_t > executionAddress () const
 Returns the execution starting address if one was specified. More...
 
size_t nDataRecords () const
 Number of data records seen. More...
 

Constructor & Destructor Documentation

Rose::BinaryAnalysis::SRecord::RunLengthEncoding::RunLengthEncoding ( )
inline

Default constructor.

Definition at line 189 of file SRecord.h.

Member Function Documentation

void Rose::BinaryAnalysis::SRecord::RunLengthEncoding::insert ( const SRecord )

Insert an S-Record into the data sumarized by this class.

This should be called after parsing or emitting each S-Record.

Sawyer::Optional<rose_addr_t> Rose::BinaryAnalysis::SRecord::RunLengthEncoding::dataAddress ( const SRecord ) const

Returns the memory address for the start of a data record, or nothing.

rose_addr_t Rose::BinaryAnalysis::SRecord::RunLengthEncoding::baseDataAddress ( ) const

Base data address.

This is the amount which to add to individual S-Record addresses.

Sawyer::Optional<rose_addr_t> Rose::BinaryAnalysis::SRecord::RunLengthEncoding::executionAddress ( ) const

Returns the execution starting address if one was specified.

size_t Rose::BinaryAnalysis::SRecord::RunLengthEncoding::nDataRecords ( ) const
inline

Number of data records seen.

Definition at line 209 of file SRecord.h.


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