Loading...
Searching...
No Matches
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< FileMetadata > GetBaseFile ()
Ref< FileMetadata > GetFirstFile ()
Ref< FileMetadata > GetSecondFile ()
Ref< Snapshot > GetBaseSnapshot ()
Ref< Snapshot > GetFirstSnapshot ()
Ref< Snapshot > GetSecondSnapshot ()
template<typename T>
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 ()
BNAnalysisMergeConflict * GetObject () const
void AddRef ()
void Release ()
void AddRefForRegistration ()
void ReleaseForRegistration ()
void AddRefForCallback ()
void ReleaseForCallback ()

Additional Inherited Members

Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNAnalysisMergeConflict, BNNewAnalysisMergeConflictReference, BNFreeAnalysisMergeConflict >
std::atomic< int > m_refs
bool m_registeredRef
BNAnalysisMergeConflict * m_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)