Loading...
Searching...
No Matches
BinaryNinja::ProjectFile Class Reference

Public Member Functions

 ProjectFile (BNProjectFile *file)
Ref< ProjectGetProject () const
std::string GetPathOnDisk () const
std::string GetPathInProject () const
bool ExistsOnDisk () const
std::string GetName () const
std::string GetDescription () const
bool SetName (const std::string &name)
bool SetDescription (const std::string &description)
std::string GetId () const
Ref< ProjectFolderGetFolder () const
bool SetFolder (Ref< ProjectFolder > folder)
bool Export (const std::string &destination) const
int64_t GetCreationTimestamp () const
bool AddDependency (Ref< ProjectFile > file)
bool RemoveDependency (Ref< ProjectFile > file)
std::vector< Ref< ProjectFile > > GetDependencies () const
std::vector< Ref< ProjectFile > > GetRequiredBy () const
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNProjectFile, BNNewProjectFileReference, BNFreeProjectFile >
 CoreRefCountObject ()
virtual ~CoreRefCountObject ()
BNProjectFileGetObject () const
void AddRef ()
void Release ()
void AddRefForRegistration ()
void ReleaseForRegistration ()
void AddRefForCallback ()
void ReleaseForCallback ()

Additional Inherited Members

Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNProjectFile, BNNewProjectFileReference, BNFreeProjectFile >
std::atomic< int > m_refs
bool m_registeredRef
BNProjectFilem_object

Constructor & Destructor Documentation

◆ ProjectFile()

ProjectFile::ProjectFile ( BNProjectFile * file)

Member Function Documentation

◆ GetProject()

Ref< Project > ProjectFile::GetProject ( ) const

◆ GetPathOnDisk()

std::string ProjectFile::GetPathOnDisk ( ) const

◆ GetPathInProject()

std::string ProjectFile::GetPathInProject ( ) const

◆ ExistsOnDisk()

bool ProjectFile::ExistsOnDisk ( ) const

◆ GetName()

std::string ProjectFile::GetName ( ) const

◆ GetDescription()

std::string ProjectFile::GetDescription ( ) const

◆ SetName()

bool ProjectFile::SetName ( const std::string & name)

◆ SetDescription()

bool ProjectFile::SetDescription ( const std::string & description)

◆ GetId()

std::string ProjectFile::GetId ( ) const

◆ GetFolder()

Ref< ProjectFolder > ProjectFile::GetFolder ( ) const

◆ SetFolder()

bool ProjectFile::SetFolder ( Ref< ProjectFolder > folder)

◆ Export()

bool ProjectFile::Export ( const std::string & destination) const

◆ GetCreationTimestamp()

int64_t ProjectFile::GetCreationTimestamp ( ) const

◆ AddDependency()

bool ProjectFile::AddDependency ( Ref< ProjectFile > file)

◆ RemoveDependency()

bool ProjectFile::RemoveDependency ( Ref< ProjectFile > file)

◆ GetDependencies()

std::vector< Ref< ProjectFile > > ProjectFile::GetDependencies ( ) const

◆ GetRequiredBy()

std::vector< Ref< ProjectFile > > ProjectFile::GetRequiredBy ( ) const