ndmspc 0.20250128.0
Loading...
Searching...
No Matches
GitlabTrack.h
1#ifndef GitlabTrack_H
2#define GitlabTrack_H
3
4#include <TObject.h>
5namespace Ndmspc {
6namespace Gitlab {
7
14
15class Track : public TObject {
16
17 public:
18 Track();
19 virtual ~Track();
20
28
36
44
52
60
68
76
77 std::string GetState() const { return fState; }
78 void SetState(std::string t) { fState = std::move(t); }
79 Int_t GetAuthorID() const { return fAuthorID; }
80 void SetAuthorID(Int_t id) { fAuthorID = id; }
81 std::string GetAuthor() const { return fAuthor; }
82 void SetAuthor(std::string name) { fAuthor = name; }
83 Int_t GetProjectID() const { return fProjectID; }
84 void SetProjectID(Int_t id) { fProjectID = id; }
85 std::string GetProject() const { return fProject; }
86 void SetProject(std::string name) { fProject = name; }
87 Int_t GetMilestoneID() const { return fMilestoneID; }
88 void SetMilestoneID(Int_t id) { fMilestoneID = id; }
89 std::string GetMilestone() const { return fMilestone; }
90 void SetMilestone(std::string name) { fMilestone = name; }
91
92 virtual void Print(Option_t * option = "") const;
93 virtual void Clear(Option_t * option = "");
94
95 void BuildRandom();
96
97 private:
98 std::string fState;
99 Int_t fAuthorID;
100 std::string fAuthor;
102 std::string fProject;
104 std::string fMilestone;
105
106 // TODO
108 Track(const Track &);
109 Track & operator=(const Track &);
110
112 ClassDef(Track, 1);
114};
115} // namespace Gitlab
116} // namespace Ndmspc
117#endif
Int_t GetMilestoneID() const
Returns Milestone ID.
Definition GitlabTrack.h:87
std::string GetAuthor() const
Returns author.
Definition GitlabTrack.h:81
Int_t fAuthorID
Author id.
Definition GitlabTrack.h:99
Int_t GetAuthorID() const
Returns author id.
Definition GitlabTrack.h:79
void SetAuthor(std::string name)
Definition GitlabTrack.h:82
void SetState(std::string t)
Definition GitlabTrack.h:78
Int_t GetProjectID() const
Returns Project ID.
Definition GitlabTrack.h:83
Track & operator=(const Track &)
not implemented
virtual void Print(Option_t *option="") const
Int_t fMilestoneID
! Project name
Track(const Track &)
! Milestone name
Int_t fProjectID
! Author name
virtual void Clear(Option_t *option="")
std::string GetMilestone() const
Returns Milestone.
Definition GitlabTrack.h:89
void SetProjectID(Int_t id)
Definition GitlabTrack.h:84
void SetAuthorID(Int_t id)
Definition GitlabTrack.h:80
void SetProject(std::string name)
Definition GitlabTrack.h:86
std::string GetProject() const
Returns Project.
Definition GitlabTrack.h:85
void SetMilestoneID(Int_t id)
Definition GitlabTrack.h:88
std::string GetState() const
Returns state.
Definition GitlabTrack.h:77
std::string fState
State of track.
Definition GitlabTrack.h:98
void SetMilestone(std::string name)
Definition GitlabTrack.h:90