Public Member Functions | |
| Project (BNProject *project) | |
| bool | Open () |
| bool | Close () |
| std::string | GetId () const |
| bool | IsOpen () const |
| std::string | GetPath () const |
| std::string | GetFilePathInProject (const Ref< ProjectFile > &file) const |
| std::string | GetName () const |
| bool | SetName (const std::string &name) |
| std::string | GetDescription () const |
| bool | SetDescription (const std::string &description) |
| Ref< Metadata > | QueryMetadata (const std::string &key) |
| bool | StoreMetadata (const std::string &key, Ref< Metadata > value) |
| bool | RemoveMetadata (const std::string &key) |
| Ref< ProjectFolder > | CreateFolderFromPath (const std::string &path, Ref< ProjectFolder > parent, const std::string &description, const ProgressFunction &progressCallback={}) |
| Ref< ProjectFolder > | CreateFolder (Ref< ProjectFolder > parent, const std::string &name, const std::string &description) |
| Ref< ProjectFolder > | CreateFolderUnsafe (Ref< ProjectFolder > parent, const std::string &name, const std::string &description, const std::string &id) |
| std::vector< Ref< ProjectFolder > > | GetFolders () const |
| Ref< ProjectFolder > | GetFolderById (const std::string &id) const |
| bool | PushFolder (Ref< ProjectFolder > folder) |
| bool | DeleteFolder (Ref< ProjectFolder > folder, const ProgressFunction &progressCallback={}) |
| Ref< ProjectFile > | CreateFileFromPath (const std::string &path, Ref< ProjectFolder > folder, const std::string &name, const std::string &description, const ProgressFunction &progressCallback={}) |
| Ref< ProjectFile > | CreateFileFromPathUnsafe (const std::string &path, Ref< ProjectFolder > folder, const std::string &name, const std::string &description, const std::string &id, int64_t creationTimestamp, const ProgressFunction &progressCallback={}) |
| Ref< ProjectFile > | CreateFile_ (const std::vector< uint8_t > &contents, Ref< ProjectFolder > folder, const std::string &name, const std::string &description, const ProgressFunction &progressCallback={}) |
| Ref< ProjectFile > | CreateFileUnsafe (const std::vector< uint8_t > &contents, Ref< ProjectFolder > folder, const std::string &name, const std::string &description, const std::string &id, int64_t creationTimestamp, const ProgressFunction &progressCallback={}) |
| std::vector< Ref< ProjectFile > > | GetFiles () const |
| Ref< ProjectFile > | GetFileById (const std::string &id) const |
| Ref< ProjectFile > | GetFileByPathOnDisk (const std::string &path) const |
| std::vector< Ref< ProjectFile > > | GetFilesByPathInProject (const std::string &path) const |
| bool | PushFile (Ref< ProjectFile > file) |
| bool | DeleteFile_ (Ref< ProjectFile > file) |
| void | RegisterNotification (ProjectNotification *notify) |
| void | UnregisterNotification (ProjectNotification *notify) |
| bool | BeginBulkOperation () |
| bool | EndBulkOperation () |
| Ref< Collaboration::RemoteProject > | GetRemoteProject () |
| Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNProject, BNNewProjectReference, BNFreeProject > | |
| CoreRefCountObject () | |
| virtual | ~CoreRefCountObject () |
| BNProject * | GetObject () const |
| void | AddRef () |
| void | Release () |
| void | AddRefForRegistration () |
| void | ReleaseForRegistration () |
| void | AddRefForCallback () |
| void | ReleaseForCallback () |
Static Public Member Functions | |
| static Ref< Project > | CreateProject (const std::string &path, const std::string &name) |
| static Ref< Project > | OpenProject (const std::string &path) |
| static std::vector< Ref< Project > > | GetOpenProjects () |
Additional Inherited Members | |
| Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNProject, BNNewProjectReference, BNFreeProject > | |
| std::atomic< int > | m_refs |
| bool | m_registeredRef |
| BNProject * | m_object |
| Project::Project | ( | BNProject * | project | ) |
| bool Project::Open | ( | ) |
| bool Project::Close | ( | ) |
| std::string Project::GetId | ( | ) | const |
| bool Project::IsOpen | ( | ) | const |
| std::string Project::GetPath | ( | ) | const |
| std::string Project::GetFilePathInProject | ( | const Ref< ProjectFile > & | file | ) | const |
| std::string Project::GetName | ( | ) | const |
| bool Project::SetName | ( | const std::string & | name | ) |
| std::string Project::GetDescription | ( | ) | const |
| bool Project::SetDescription | ( | const std::string & | description | ) |
| bool Project::RemoveMetadata | ( | const std::string & | key | ) |
| Ref< ProjectFolder > Project::CreateFolderFromPath | ( | const std::string & | path, |
| Ref< ProjectFolder > | parent, | ||
| const std::string & | description, | ||
| const ProgressFunction & | progressCallback = {} ) |
| Ref< ProjectFolder > Project::CreateFolder | ( | Ref< ProjectFolder > | parent, |
| const std::string & | name, | ||
| const std::string & | description ) |
| Ref< ProjectFolder > Project::CreateFolderUnsafe | ( | Ref< ProjectFolder > | parent, |
| const std::string & | name, | ||
| const std::string & | description, | ||
| const std::string & | id ) |
| std::vector< Ref< ProjectFolder > > Project::GetFolders | ( | ) | const |
| Ref< ProjectFolder > Project::GetFolderById | ( | const std::string & | id | ) | const |
| bool Project::PushFolder | ( | Ref< ProjectFolder > | folder | ) |
| bool Project::DeleteFolder | ( | Ref< ProjectFolder > | folder, |
| const ProgressFunction & | progressCallback = {} ) |
| Ref< ProjectFile > Project::CreateFileFromPath | ( | const std::string & | path, |
| Ref< ProjectFolder > | folder, | ||
| const std::string & | name, | ||
| const std::string & | description, | ||
| const ProgressFunction & | progressCallback = {} ) |
| Ref< ProjectFile > Project::CreateFileFromPathUnsafe | ( | const std::string & | path, |
| Ref< ProjectFolder > | folder, | ||
| const std::string & | name, | ||
| const std::string & | description, | ||
| const std::string & | id, | ||
| int64_t | creationTimestamp, | ||
| const ProgressFunction & | progressCallback = {} ) |
| Ref< ProjectFile > Project::CreateFile_ | ( | const std::vector< uint8_t > & | contents, |
| Ref< ProjectFolder > | folder, | ||
| const std::string & | name, | ||
| const std::string & | description, | ||
| const ProgressFunction & | progressCallback = {} ) |
| Ref< ProjectFile > Project::CreateFileUnsafe | ( | const std::vector< uint8_t > & | contents, |
| Ref< ProjectFolder > | folder, | ||
| const std::string & | name, | ||
| const std::string & | description, | ||
| const std::string & | id, | ||
| int64_t | creationTimestamp, | ||
| const ProgressFunction & | progressCallback = {} ) |
| std::vector< Ref< ProjectFile > > Project::GetFiles | ( | ) | const |
| Ref< ProjectFile > Project::GetFileById | ( | const std::string & | id | ) | const |
| Ref< ProjectFile > Project::GetFileByPathOnDisk | ( | const std::string & | path | ) | const |
| std::vector< Ref< ProjectFile > > Project::GetFilesByPathInProject | ( | const std::string & | path | ) | const |
| bool Project::PushFile | ( | Ref< ProjectFile > | file | ) |
| bool Project::DeleteFile_ | ( | Ref< ProjectFile > | file | ) |
| void Project::RegisterNotification | ( | ProjectNotification * | notify | ) |
| void Project::UnregisterNotification | ( | ProjectNotification * | notify | ) |
| bool Project::BeginBulkOperation | ( | ) |
| bool Project::EndBulkOperation | ( | ) |
| Ref< Collaboration::RemoteProject > Project::GetRemoteProject | ( | ) |