Public Member Functions | |
Snapshot (BNSnapshot *snapshot) | |
Ref< Database > | GetDatabase () |
int64_t | GetId () |
std::string | GetName () |
bool | IsAutoSave () |
bool | HasContents () |
bool | HasUndo () |
Ref< Snapshot > | GetFirstParent () |
std::vector< Ref< Snapshot > > | GetParents () |
std::vector< Ref< Snapshot > > | GetChildren () |
DataBuffer | GetFileContents () |
DataBuffer | GetFileContentsHash () |
std::vector< UndoEntry > | GetUndoEntries () |
std::vector< UndoEntry > | GetUndoEntries (const std::function< bool(size_t, size_t)> &progress) |
Ref< KeyValueStore > | ReadData () |
Ref< KeyValueStore > | ReadData (const std::function< bool(size_t, size_t)> &progress) |
bool | HasAncestor (Ref< Snapshot > other) |
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNSnapshot, BNNewSnapshotReference, BNFreeSnapshot > | |
CoreRefCountObject () | |
virtual | ~CoreRefCountObject () |
BNSnapshot * | GetObject () const |
void | AddRef () |
void | Release () |
void | AddRefForRegistration () |
void | ReleaseForRegistration () |
Additional Inherited Members | |
Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNSnapshot, BNNewSnapshotReference, BNFreeSnapshot > | |
static BNSnapshot * | GetObject (CoreRefCountObject *obj) |
Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNSnapshot, BNNewSnapshotReference, BNFreeSnapshot > | |
std::atomic< int > | m_refs |
bool | m_registeredRef |
BNSnapshot * | m_object |
Snapshot::Snapshot | ( | BNSnapshot * | snapshot | ) |
DataBuffer Snapshot::GetFileContents | ( | ) |
DataBuffer Snapshot::GetFileContentsHash | ( | ) |
int64_t Snapshot::GetId | ( | ) |
std::string Snapshot::GetName | ( | ) |
vector< UndoEntry > Snapshot::GetUndoEntries | ( | ) |
vector< UndoEntry > Snapshot::GetUndoEntries | ( | const std::function< bool(size_t, size_t)> & | progress | ) |
bool Snapshot::HasContents | ( | ) |
bool Snapshot::HasUndo | ( | ) |
bool Snapshot::IsAutoSave | ( | ) |
Ref< KeyValueStore > Snapshot::ReadData | ( | ) |
Ref< KeyValueStore > Snapshot::ReadData | ( | const std::function< bool(size_t, size_t)> & | progress | ) |