BinaryNinja::ProjectFile Class Reference

Public Member Functions

 ProjectFile (BNProjectFile *file)
 
Ref< ProjectGetProject () const
 
std::string GetPathOnDisk () const
 
bool ExistsOnDisk () const
 
std::string GetName () const
 
std::string GetDescription () const
 
void SetName (const std::string &name)
 
void SetDescription (const std::string &description)
 
std::string GetId () const
 
Ref< ProjectFolderGetFolder () const
 
void SetFolder (Ref< ProjectFolder > folder)
 
bool Export (const std::string &destination) const
 
int64_t GetCreationTimestamp () 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

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNProjectFile, BNNewProjectFileReference, BNFreeProjectFile >
static BNProjectFileGetObject (CoreRefCountObject *obj)
 
static BNProjectFileGetObject (const CoreRefCountObject *obj)
 
- 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

◆ ExistsOnDisk()

bool ProjectFile::ExistsOnDisk ( ) const

◆ GetName()

std::string ProjectFile::GetName ( ) const

◆ GetDescription()

std::string ProjectFile::GetDescription ( ) const

◆ SetName()

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

◆ SetDescription()

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

◆ GetId()

std::string ProjectFile::GetId ( ) const

◆ GetFolder()

Ref< ProjectFolder > ProjectFile::GetFolder ( ) const

◆ SetFolder()

void ProjectFile::SetFolder ( Ref< ProjectFolder folder)

◆ Export()

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

◆ GetCreationTimestamp()

int64_t ProjectFile::GetCreationTimestamp ( ) const