23 #include "repo_node.h"
30 #define REPO_NODE_REVISION_LABEL_AUTHOR "author"
31 #define REPO_NODE_REVISION_LABEL_MESSAGE "desc"
32 #define REPO_NODE_REVISION_LABEL_TAG "tag"
33 #define REPO_NODE_REVISION_LABEL_TIMESTAMP "timestamp"
34 #define REPO_NODE_REVISION_LABEL_CURRENT_UNIQUE_IDS "current"
35 #define REPO_NODE_REVISION_LABEL_ADDED_SHARED_IDS "added"
36 #define REPO_NODE_REVISION_LABEL_DELETED_SHARED_IDS "deleted"
37 #define REPO_NODE_REVISION_LABEL_MODIFIED_SHARED_IDS "modified"
38 #define REPO_NODE_REVISION_LABEL_UNMODIFIED_SHARED_IDS "unmodified"
39 #define REPO_NODE_REVISION_LABEL_BRANCH_MASTER "master"
40 #define REPO_NODE_REVISION_LABEL_REF_FILE "rFile"
41 #define REPO_NODE_REVISION_LABEL_INCOMPLETE "incomplete"
42 #define REPO_NODE_REVISION_LABEL_WORLD_COORD_SHIFT "coordOffset"
43 #define REPO_NODE_UUID_SUFFIX_REVISION "10"
44 //------------------------------------------------------------------------------
52 enum class UploadStatus{ COMPLETE = 0, GEN_DEFAULT = 1, GEN_REPO_STASH = 2, GEN_WEB_STASH = 3, GEN_SEL_TREE = 4, UNKNOWN = 5 };
70 return REPO_NODE_TYPE_REVISION;
79 return NodeType::REVISION;
91 const UploadStatus &status)
const;
101 std::string getAuthor()
const;
107 std::vector<double> getCoordOffset()
const;
113 std::vector<repoUUID> getCurrentIDs()
const;
137 std::string getMessage()
const;
143 std::string getTag()
const;
149 UploadStatus getUploadStatus()
const;
155 std::vector<std::string> getOrgFiles()
const;
161 int64_t getTimestampInt64()
const;
Definition: repo_node_revision.h:49
Definition: repo_connection_pool_mongo.h:32
virtual std::string getType() const
Definition: repo_node_revision.h:68
Definition: repo_node.h:33
Definition: repo_bson.h:53
virtual NodeType getTypeAsEnum() const
Definition: repo_node_revision.h:77