FlowGraphHistoryEntry Class Reference

Public Member Functions

PlatformRef getPlatform () const
 
ArchitectureRef getArchitecture () const
 
uint64_t getFunction () const
 
int getScrollX () const
 
int getScrollY () const
 
float getScale () const
 
uint64_t getCurrentAddress () const
 
const HighlightTokenStategetHighlightTokenState () const
 
void setPlatform (PlatformRef platform)
 
void setArchitecture (ArchitectureRef arch)
 
void setFunction (uint64_t f)
 
void setScrollX (int x)
 
void setScrollY (int y)
 
void setScale (float s)
 
void setCurrentAddress (uint64_t a)
 
void setHighlightTokenState (const HighlightTokenState &state)
 
virtual Json::Value serialize () const override
 Serialize to json representation. More...
 
virtual bool deserialize (const Json::Value &value) override
 Deserialize from json representation. More...
 
- Public Member Functions inherited from HistoryEntry
virtual ~HistoryEntry ()
 
QString getViewType () const
 
void setViewType (const QString &type)
 
virtual Json::Value serialize () const
 Serialize to json representation. More...
 
virtual bool deserialize (const Json::Value &value)
 Deserialize from json representation. More...
 
- Public Member Functions inherited from BinaryNinja::RefCountObject
 RefCountObject ()
 
virtual ~RefCountObject ()
 
RefCountObjectGetObject ()
 
void AddRef ()
 
void Release ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::RefCountObject
static RefCountObjectGetObject (RefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::RefCountObject
std::atomic< int > m_refs
 

Member Function Documentation

◆ deserialize()

virtual bool FlowGraphHistoryEntry::deserialize ( const Json::Value &  value)
overridevirtual

Deserialize from json representation.

This method should clear any previously entered data on the HistoryEntry as if it were newly created.

Parameters
valueJson representation of history entry. In the Python api, this will be a dict.
Returns
If deserialization was successful

Reimplemented from HistoryEntry.

Reimplemented in DisassemblyHistoryEntry.

◆ getArchitecture()

ArchitectureRef FlowGraphHistoryEntry::getArchitecture ( ) const
inline

◆ getCurrentAddress()

uint64_t FlowGraphHistoryEntry::getCurrentAddress ( ) const
inline

◆ getFunction()

uint64_t FlowGraphHistoryEntry::getFunction ( ) const
inline

◆ getHighlightTokenState()

const HighlightTokenState & FlowGraphHistoryEntry::getHighlightTokenState ( ) const
inline

◆ getPlatform()

PlatformRef FlowGraphHistoryEntry::getPlatform ( ) const
inline

◆ getScale()

float FlowGraphHistoryEntry::getScale ( ) const
inline

◆ getScrollX()

int FlowGraphHistoryEntry::getScrollX ( ) const
inline

◆ getScrollY()

int FlowGraphHistoryEntry::getScrollY ( ) const
inline

◆ serialize()

virtual Json::Value FlowGraphHistoryEntry::serialize ( ) const
overridevirtual

Serialize to json representation.

Returns
Json representation of history entry. In the Python api, this must be a dict.

Reimplemented from HistoryEntry.

Reimplemented in DisassemblyHistoryEntry.

◆ setArchitecture()

void FlowGraphHistoryEntry::setArchitecture ( ArchitectureRef  arch)
inline

◆ setCurrentAddress()

void FlowGraphHistoryEntry::setCurrentAddress ( uint64_t  a)
inline

◆ setFunction()

void FlowGraphHistoryEntry::setFunction ( uint64_t  f)
inline

◆ setHighlightTokenState()

void FlowGraphHistoryEntry::setHighlightTokenState ( const HighlightTokenState state)
inline

◆ setPlatform()

void FlowGraphHistoryEntry::setPlatform ( PlatformRef  platform)
inline

◆ setScale()

void FlowGraphHistoryEntry::setScale ( float  s)
inline

◆ setScrollX()

void FlowGraphHistoryEntry::setScrollX ( int  x)
inline

◆ setScrollY()

void FlowGraphHistoryEntry::setScrollY ( int  y)
inline

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