HistoryEntry Class Reference

Public Member Functions

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
 

Constructor & Destructor Documentation

◆ ~HistoryEntry()

virtual HistoryEntry::~HistoryEntry ( )
inlinevirtual

Member Function Documentation

◆ deserialize()

virtual bool HistoryEntry::deserialize ( const Json::Value &  value)
virtual

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 in DisassemblyHistoryEntry, FlowGraphHistoryEntry, LinearViewHistoryEntry, TokenizedTextViewHistoryEntry, and TypeViewHistoryEntry.

◆ getViewType()

QString HistoryEntry::getViewType ( ) const
inline

◆ serialize()

virtual Json::Value HistoryEntry::serialize ( ) const
virtual

Serialize to json representation.

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

Reimplemented in DisassemblyHistoryEntry, FlowGraphHistoryEntry, LinearViewHistoryEntry, TokenizedTextViewHistoryEntry, and TypeViewHistoryEntry.

◆ setViewType()

void HistoryEntry::setViewType ( const QString &  type)
inline

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