Class editorObject

Class Documentation

class editorObject

Public Functions

template<typename EDIT_ARG_TYPE>
bool AddLine(const EDIT_ARG_TYPE &obj)
bool AddLine(const std::string &musicName, const std::string &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 std::string &trackTitle, litedb &ROOTDB)
void demoPlayInit(std::optional<audioPlayer> &player, unsigned int frameBufferSize, trackdata &td)
bool pushToRootDB(litedb &ROOTDB, const std::string &trackTitleToPush)
bool pushToRootDB(litedb &ROOTDB, const std::string &musicTitle, const std::string &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 std::string &musicName)
template<typename EDIT_ARG_TYPE>
bool Redo()
template<typename EDIT_ARG_TYPE>
bool Redo(const std::string &musicName)
template<typename EDIT_ARG_TYPE>
bool Go(const std::string &branchName, git_oid *commitID)
template<typename EDIT_ARG_TYPE>
std::string GetLogWithJSONGraph()
template<typename EDIT_ARG_TYPE>
std::string GetLogWithJSONGraph(const std::string &musicName)
template<typename EDIT_ARG_TYPE>
bool UpdateLog()
template<typename EDIT_ARG_TYPE>
bool UpdateLog(const std::string &branchName)
template<typename EDIT_ARG_TYPE>
DiffResult GetDiff(const gitwrap::commit &oldTimeStamp, const gitwrap::commit &newTimeStamp)
inline nj &operator[](const std::string &key)
std::string DESTROY_PROJECT()

WARNING!!! THERE IS NO TURNING BACK.

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