1#ifndef IV_SRC_MODEL_PROJECTINFO_HPP_
2#define IV_SRC_MODEL_PROJECTINFO_HPP_
6#include "model/structs.hpp"
42 static constexpr std::string_view
projectInfo {
"ProjectInfo"};
43 static constexpr std::string_view
creator {
"Creator"};
44 static constexpr std::string_view
modifier {
"LastModifier"};
45 static constexpr std::string_view
inspector {
"Inspector"};
46 static constexpr std::string_view
validator {
"Validator"};
50 static constexpr std::string_view
reference {
"Reference"};
51 static constexpr std::string_view
savePath {
"SavePath"};
53 static constexpr std::string_view
name {
"Name"};
54 static constexpr std::string_view
value {
"Value"};
55 static constexpr std::string_view
date {
"Date"};
59 static constexpr std::string
string {};
Definition xmlFile.hpp:15
Definition DiamarModel.cpp:14
uint64_t timestamp
Definition types.hpp:21
Definition structs.hpp:15
Definition ProjectInfo.hpp:58
static constexpr bool isValid
Definition ProjectInfo.hpp:61
static constexpr iv::types::timestamp timestamp
Definition ProjectInfo.hpp:60
Definition ProjectInfo.hpp:49
static constexpr std::string_view reference
Definition ProjectInfo.hpp:50
static constexpr std::string_view isProjectValid
Definition ProjectInfo.hpp:52
static constexpr std::string_view value
Definition ProjectInfo.hpp:54
static constexpr std::string_view name
Definition ProjectInfo.hpp:53
static constexpr std::string_view date
Definition ProjectInfo.hpp:55
static constexpr std::string_view savePath
Definition ProjectInfo.hpp:51
Definition ProjectInfo.hpp:41
static constexpr std::string_view creator
Definition ProjectInfo.hpp:43
static constexpr std::string_view projectInfo
Definition ProjectInfo.hpp:42
static constexpr std::string_view modifier
Definition ProjectInfo.hpp:44
static constexpr std::string_view inspector
Definition ProjectInfo.hpp:45
static constexpr std::string_view validator
Definition ProjectInfo.hpp:46
Definition ProjectInfo.hpp:12
bool save(iv::file::xml::node &nodeDataProject) const
Definition ProjectInfo.cpp:76
ProjectInfo()
Definition ProjectInfo.cpp:5
ProjectInfo & operator=(const ProjectInfo &other)
Definition ProjectInfo.cpp:20
iv::model::EntryRegister m_inspector
Definition ProjectInfo.hpp:36
ProjectInfo(const ProjectInfo &other)
iv::model::EntryRegister m_lastModifier
Definition ProjectInfo.hpp:35
iv::model::EntryRegister m_validator
Definition ProjectInfo.hpp:37
std::string m_reference
Definition ProjectInfo.hpp:31
bool load(const iv::file::xml::node &nodeDataProject)
Loads the project info from the XML node.
Definition ProjectInfo.cpp:50
iv::model::EntryRegister m_creator
Definition ProjectInfo.hpp:34
bool m_isProjectValid
Definition ProjectInfo.hpp:32