CernVM-FS  2.13.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
repository_tag.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_REPOSITORY_TAG_H_
6 #define CVMFS_REPOSITORY_TAG_H_
7 
8 #include <string>
9 
11  public:
12  RepositoryTag() : name_(""), description_("") { }
13  RepositoryTag(const std::string &name, const std::string &description);
14 
15  void SetName(const std::string &name) { name_ = name; }
16  void SetDescription(const std::string &description) {
18  }
19 
20  bool HasGenericName();
21  void SetGenericName();
22 
23  std::string name() const { return name_; }
24  std::string description() const { return description_; }
25 
26  private:
27  std::string name_;
28  std::string description_;
29 };
30 
31 #endif // CVMFS_REPOSITORY_TAG_H_
std::string name() const
void SetGenericName()
std::string description() const
std::string name_
void SetName(const std::string &name)
std::string description_
void SetDescription(const std::string &description)
bool HasGenericName()