BinaryNinja::Collaboration::AnalysisMergeConflict Class Reference

Public Member Functions

 AnalysisMergeConflict (BNAnalysisMergeConflict *conflict)
 
std::string GetType ()
 
BNMergeConflictDataType GetDataType ()
 
std::optional< nlohmann::json > GetBase ()
 
std::optional< nlohmann::json > GetFirst ()
 
std::optional< nlohmann::json > GetSecond ()
 
Ref< FileMetadataGetBaseFile ()
 
Ref< FileMetadataGetFirstFile ()
 
Ref< FileMetadataGetSecondFile ()
 
Ref< SnapshotGetBaseSnapshot ()
 
Ref< SnapshotGetFirstSnapshot ()
 
Ref< SnapshotGetSecondSnapshot ()
 
template<typename T >
GetPathItem (const std::string &key)
 
bool Success (std::nullopt_t value)
 
bool Success (std::optional< const nlohmann::json * > value)
 
bool Success (const std::optional< nlohmann::json > &value)
 
template<>
uint64_t GetPathItem (const std::string &path)
 
template<>
uint64_t GetPathItem (const std::string &path)
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNAnalysisMergeConflict, BNNewAnalysisMergeConflictReference, BNFreeAnalysisMergeConflict >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNAnalysisMergeConflictGetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 
void AddRefForCallback ()
 
void ReleaseForCallback ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNAnalysisMergeConflict, BNNewAnalysisMergeConflictReference, BNFreeAnalysisMergeConflict >
static BNAnalysisMergeConflictGetObject (CoreRefCountObject *obj)
 
static BNAnalysisMergeConflictGetObject (const CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNAnalysisMergeConflict, BNNewAnalysisMergeConflictReference, BNFreeAnalysisMergeConflict >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNAnalysisMergeConflictm_object
 

Constructor & Destructor Documentation

◆ AnalysisMergeConflict()

AnalysisMergeConflict::AnalysisMergeConflict ( BNAnalysisMergeConflict conflict)

Member Function Documentation

◆ GetType()

std::string AnalysisMergeConflict::GetType ( )

◆ GetDataType()

BNMergeConflictDataType AnalysisMergeConflict::GetDataType ( )

◆ GetBase()

std::optional< nlohmann::json > AnalysisMergeConflict::GetBase ( )

◆ GetFirst()

std::optional< nlohmann::json > AnalysisMergeConflict::GetFirst ( )

◆ GetSecond()

std::optional< nlohmann::json > AnalysisMergeConflict::GetSecond ( )

◆ GetBaseFile()

Ref< FileMetadata > AnalysisMergeConflict::GetBaseFile ( )

◆ GetFirstFile()

Ref< FileMetadata > AnalysisMergeConflict::GetFirstFile ( )

◆ GetSecondFile()

Ref< FileMetadata > AnalysisMergeConflict::GetSecondFile ( )

◆ GetBaseSnapshot()

Ref< Snapshot > AnalysisMergeConflict::GetBaseSnapshot ( )

◆ GetFirstSnapshot()

Ref< Snapshot > AnalysisMergeConflict::GetFirstSnapshot ( )

◆ GetSecondSnapshot()

Ref< Snapshot > AnalysisMergeConflict::GetSecondSnapshot ( )

◆ GetPathItem() [1/3]

template<typename T >
T BinaryNinja::Collaboration::AnalysisMergeConflict::GetPathItem ( const std::string &  key)

◆ Success() [1/3]

bool AnalysisMergeConflict::Success ( std::nullopt_t  value)

◆ Success() [2/3]

bool AnalysisMergeConflict::Success ( std::optional< const nlohmann::json * >  value)

◆ Success() [3/3]

bool AnalysisMergeConflict::Success ( const std::optional< nlohmann::json > &  value)

◆ GetPathItem() [2/3]

template<>
uint64_t BinaryNinja::Collaboration::AnalysisMergeConflict::GetPathItem ( const std::string &  path)

◆ GetPathItem() [3/3]

template<>
uint64_t BinaryNinja::Collaboration::AnalysisMergeConflict::GetPathItem ( const std::string &  path)