48 void setRootVersion(
const std::string& _name,
const std::string& _label = std::string(),
const std::string& _description = std::string());
69 bool versionStartingWithNameExists(
const std::string& _prefix);
72 void removeVersion(
const std::string& _version);
80 std::string m_activeVersionName;
81 std::string m_activeBranchVersionName;
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
JSON Array value.
Definition JSON.h:116
The Serializable class is the default interface of serializable objects.
Definition Serializable.h:17
Definition VersionGraphCfg.h:13
const std::string & getActiveBranchVersionName(void) const
Returns the active branch version name. The active branch version is the currently active branch....
Definition VersionGraphCfg.h:46
VersionGraphCfg(const VersionGraphCfg &_other)=delete
void setActiveVersionName(const std::string &_version)
Definition VersionGraphCfg.h:33
const VersionGraphVersionCfg * getRootVersion(void) const
Returns the root version. The VersionGraphCfg keeps ownership of the version.
Definition VersionGraphCfg.h:60
const std::string & getActiveVersionName(void) const
Returns the active version name. The active version is the currently active model version.
Definition VersionGraphCfg.h:37
VersionGraphVersionCfg * getRootVersion(void)
Returns the root version. The VersionGraphCfg keeps ownership of the version.
Definition VersionGraphCfg.h:56
void setActiveBranchVersionName(const std::string &_version)
Definition VersionGraphCfg.h:40
Definition VersionGraphVersionCfg.h:22
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30