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

Public Member Functions

 ProjectFolder (BNProjectFolder *folder)
 
Ref< ProjectGetProject () const
 
std::string GetId () const
 
std::string GetName () const
 
std::string GetDescription () const
 
void SetName (const std::string &name)
 
void SetDescription (const std::string &description)
 
Ref< ProjectFolderGetParent () const
 
void SetParent (Ref< ProjectFolder > parent)
 
bool Export (const std::string &destination, const std::function< bool(size_t progress, size_t total)> &progressCallback={}) const
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNProjectFolder, BNNewProjectFolderReference, BNFreeProjectFolder >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNProjectFolderGetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 
void AddRefForCallback ()
 
void ReleaseForCallback ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNProjectFolder, BNNewProjectFolderReference, BNFreeProjectFolder >
static BNProjectFolderGetObject (CoreRefCountObject *obj)
 
static BNProjectFolderGetObject (const CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNProjectFolder, BNNewProjectFolderReference, BNFreeProjectFolder >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNProjectFolderm_object
 

Constructor & Destructor Documentation

◆ ProjectFolder()

ProjectFolder::ProjectFolder ( BNProjectFolder * folder)

Member Function Documentation

◆ GetProject()

Ref< Project > ProjectFolder::GetProject ( ) const

◆ GetId()

std::string ProjectFolder::GetId ( ) const

◆ GetName()

std::string ProjectFolder::GetName ( ) const

◆ GetDescription()

std::string ProjectFolder::GetDescription ( ) const

◆ SetName()

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

◆ SetDescription()

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

◆ GetParent()

Ref< ProjectFolder > ProjectFolder::GetParent ( ) const

◆ SetParent()

void ProjectFolder::SetParent ( Ref< ProjectFolder > parent)

◆ Export()

bool ProjectFolder::Export ( const std::string & destination,
const std::function< bool(size_t progress, size_t total)> & progressCallback = {} ) const