TypeViewHistoryEntry Class Reference

Public Member Functions

const BinaryNinja::QualifiedNamegetCursorType () const
 
size_t getCursorLine () const
 
size_t getCursorOffset () const
 
bool isSelectionValid () const
 
const std::string & getSelectionStartType () const
 
size_t getSelectionStartLine () const
 
size_t getSelectionStartOffset () const
 
const HighlightTokenStategetHighlightTokenState () const
 
void setCursorType (const BinaryNinja::QualifiedName &type)
 
void setCursorLine (size_t line)
 
void setCursorOffset (size_t offset)
 
void setSelectionValid (bool valid)
 
void setSelectionStartType (const std::string &type)
 
void setSelectionStartLine (size_t line)
 
void setSelectionStartOffset (size_t offset)
 
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 TypeViewHistoryEntry::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.

◆ getCursorLine()

size_t TypeViewHistoryEntry::getCursorLine ( ) const
inline

◆ getCursorOffset()

size_t TypeViewHistoryEntry::getCursorOffset ( ) const
inline

◆ getCursorType()

const BinaryNinja::QualifiedName & TypeViewHistoryEntry::getCursorType ( ) const
inline

◆ getHighlightTokenState()

const HighlightTokenState & TypeViewHistoryEntry::getHighlightTokenState ( ) const
inline

◆ getSelectionStartLine()

size_t TypeViewHistoryEntry::getSelectionStartLine ( ) const
inline

◆ getSelectionStartOffset()

size_t TypeViewHistoryEntry::getSelectionStartOffset ( ) const
inline

◆ getSelectionStartType()

const std::string & TypeViewHistoryEntry::getSelectionStartType ( ) const
inline

◆ isSelectionValid()

bool TypeViewHistoryEntry::isSelectionValid ( ) const
inline

◆ serialize()

virtual Json::Value TypeViewHistoryEntry::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.

◆ setCursorLine()

void TypeViewHistoryEntry::setCursorLine ( size_t  line)
inline

◆ setCursorOffset()

void TypeViewHistoryEntry::setCursorOffset ( size_t  offset)
inline

◆ setCursorType()

void TypeViewHistoryEntry::setCursorType ( const BinaryNinja::QualifiedName type)
inline

◆ setHighlightTokenState()

void TypeViewHistoryEntry::setHighlightTokenState ( const HighlightTokenState state)
inline

◆ setSelectionStartLine()

void TypeViewHistoryEntry::setSelectionStartLine ( size_t  line)
inline

◆ setSelectionStartOffset()

void TypeViewHistoryEntry::setSelectionStartOffset ( size_t  offset)
inline

◆ setSelectionStartType()

void TypeViewHistoryEntry::setSelectionStartType ( const std::string &  type)
inline

◆ setSelectionValid()

void TypeViewHistoryEntry::setSelectionValid ( bool  valid)
inline

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