3D Repo Bouncer  1.4
repo_bson_role_settings.h
1 
22 #pragma once
23 #include "repo_bson.h"
24 #include <vector>
25 #include <string>
26 
27 namespace repo {
28  namespace core {
29  namespace model {
30  class REPO_API_EXPORT RepoRoleSettings : public RepoBSON
31  {
32  public:
33 
35 
37 
39 
40  public:
41 
46  std::string getColor() const
47  {
48  return getStringField(REPO_LABEL_COLOR);
49  }
50 
55  std::string getDescription() const
56  {
57  return getStringField(REPO_LABEL_DESCRIPTION);
58  }
59 
64  std::vector<std::string> getModules() const
65  {
66  return getStringArray(REPO_LABEL_MODULES);
67  }
68 
73  std::string getName() const
74  {
75  return getStringField(REPO_LABEL_ID);
76  }
77  };
78  }// end namespace model
79  } // end namespace core
80 } // end namespace repo
Definition: repo_connection_pool_mongo.h:32
std::vector< std::string > getModules() const
Definition: repo_bson_role_settings.h:64
std::string getDescription() const
Definition: repo_bson_role_settings.h:55
std::string getColor() const
Definition: repo_bson_role_settings.h:46
Definition: repo_bson_role_settings.h:30
Definition: repo_bson.h:53
std::string getName() const
Definition: repo_bson_role_settings.h:73