Class editorObject

Class Documentation

class editorObject

Public Functions

inline git_repository *getMixRepo()
inline git_repository *getMusicRepo(const UNSANITIZED &Title)
inline git_repository *getNoteRepo()
inline git_repository *getKVRepo()
template<typename EDIT_ARG_TYPE>
bool AddLine(const EDIT_ARG_TYPE &obj)
bool AddLine(const UNSANITIZED &musicName, const DONT_SANITIZE &firstBar)
int deleteLine(const EDIT_ARG_MIX &obj, bool skipType, bool skipDetail)
template<typename EDIT_ARG_TYPE>
int deleteLine(const EDIT_ARG_TYPE &obj)
bool render(const UNSANITIZED &trackTitle, litedb &ROOTDB)
void demoPlayInit(std::optional<audioPlayer> &player, unsigned int frameBufferSize, const UNSANITIZED &trackTitle)
bool pushToRootDB(litedb &ROOTDB, const UNSANITIZED &trackTitleToPush)
bool pushToRootDB(litedb &ROOTDB, const UNSANITIZED &musicTitle, const UNSANITIZED &musicComposer)
template<typename EDIT_ARG_TYPE>
void getAll(std::function<void(const EDIT_ARG_TYPE &obj)> jsonCallback)
template<typename EDIT_ARG_TYPE>
bool Undo()
template<typename EDIT_ARG_TYPE>
bool Undo(const UNSANITIZED &musicName)
template<typename EDIT_ARG_TYPE>
bool Redo()
template<typename EDIT_ARG_TYPE>
bool Redo(const UNSANITIZED &musicName)
template<typename EDIT_ARG_TYPE>
bool Go(const DONT_SANITIZE &branchName, git_oid *commitID)
template<typename EDIT_ARG_TYPE>
DONT_SANITIZE GetLogWithJSONGraph()
template<typename EDIT_ARG_TYPE>
DONT_SANITIZE GetLogWithJSONGraph(const UNSANITIZED &musicName)
template<typename EDIT_ARG_TYPE>
bool UpdateLog()
template<typename EDIT_ARG_TYPE>
bool UpdateLog(const DONT_SANITIZE &branchName)
template<typename EDIT_ARG_TYPE>
DiffResult GetDiff(const gitwrap::commit &oldTimeStamp, const gitwrap::commit &newTimeStamp)
inline nj &operator[](const DONT_SANITIZE &key)
DONT_SANITIZE DESTROY_PROJECT()

WARNING!!! THERE IS NO TURNING BACK.

bool ConfigNewMusic(const UNSANITIZED &NewMusicName, const UNSANITIZED &composer, const fs::path &musicPath, const DONT_SANITIZE &firstBar = "0")
bool Open(const fs::path &projectPath)
editorObject() = delete
inline editorObject(const DONT_SANITIZE &auth_name, const DONT_SANITIZE &auth_email)
~editorObject() = default
template<> PDJE_API bool AddLine (const EDIT_ARG_MUSIC &obj)
template<> PDJE_API bool AddLine (const EDIT_ARG_MIX &obj)
template<> PDJE_API bool AddLine (const EDIT_ARG_NOTE &obj)
template<> PDJE_API bool AddLine (const EDIT_ARG_KEY_VALUE &obj)
template<> PDJE_API int deleteLine (const EDIT_ARG_NOTE &obj)
template<> PDJE_API int deleteLine (const EDIT_ARG_KEY_VALUE &obj)
template<> PDJE_API int deleteLine (const EDIT_ARG_MUSIC &obj)
template<> PDJE_API void getAll (std::function< void(const EDIT_ARG_KEY_VALUE &obj)> jsonCallback)
template<> PDJE_API void getAll (std::function< void(const EDIT_ARG_MIX &obj)> jsonCallback)
template<> PDJE_API void getAll (std::function< void(const EDIT_ARG_NOTE &obj)> jsonCallback)
template<> PDJE_API void getAll (std::function< void(const EDIT_ARG_MUSIC &obj)> jsonCallback)
template<> PDJE_API DiffResult GetDiff (const gitwrap::commit &oldTimeStamp, const gitwrap::commit &newTimeStamp)
template<> PDJE_API DiffResult GetDiff (const gitwrap::commit &oldTimeStamp, const gitwrap::commit &newTimeStamp)
template<> PDJE_API DiffResult GetDiff (const gitwrap::commit &oldTimeStamp, const gitwrap::commit &newTimeStamp)
template<> PDJE_API DiffResult GetDiff (const gitwrap::commit &oldTimeStamp, const gitwrap::commit &newTimeStamp)
template<> PDJE_API DONT_SANITIZE GetLogWithJSONGraph ()
template<> PDJE_API DONT_SANITIZE GetLogWithJSONGraph ()
template<> PDJE_API DONT_SANITIZE GetLogWithJSONGraph ()
template<> PDJE_API DONT_SANITIZE GetLogWithJSONGraph (const UNSANITIZED &musicName)
template<> PDJE_API bool Go (const DONT_SANITIZE &branchName, git_oid *commitID)
template<> PDJE_API bool Go (const DONT_SANITIZE &branchName, git_oid *commitID)
template<> PDJE_API bool Go (const DONT_SANITIZE &branchName, git_oid *commitID)
template<> PDJE_API bool Go (const DONT_SANITIZE &branchName, git_oid *commitID)
template<> PDJE_API bool Redo ()
template<> PDJE_API bool Redo ()
template<> PDJE_API bool Redo (const UNSANITIZED &musicName)
template<> PDJE_API bool Redo ()
template<> PDJE_API bool Undo ()
template<> PDJE_API bool Undo ()
template<> PDJE_API bool Undo (const UNSANITIZED &musicName)
template<> PDJE_API bool Undo ()
template<> PDJE_API bool UpdateLog ()
template<> PDJE_API bool UpdateLog (const DONT_SANITIZE &branchName)
template<> PDJE_API bool UpdateLog ()
template<> PDJE_API bool UpdateLog (const DONT_SANITIZE &branchName)
template<> PDJE_API bool UpdateLog ()
template<> PDJE_API bool UpdateLog (const DONT_SANITIZE &branchName)
template<> PDJE_API bool UpdateLog ()
template<> PDJE_API bool UpdateLog (const UNSANITIZED &musicName)