lintel 0.2.0
Loading...
Searching...
No Matches
Group.h
Go to the documentation of this file.
1#ifndef LINTEL_GROUP_H
2#define LINTEL_GROUP_H
3
4#include <ostream>
5#include <string>
6#include <vector>
7
8namespace lintel {
34class Group
35{
36private:
37 std::string m_groupName;
38 std::vector<Group> m_groups;
39 bool m_isVirtual;
40
41public:
48 Group(std::string groupName, std::vector<Group> groups, bool isVirtual);
49
51 [[nodiscard]] const std::string &getGroupName() const;
52
54 [[nodiscard]] const std::vector<Group> &getGroups() const;
55
57 [[nodiscard]] bool isVirtual() const;
58
60 friend std::ostream &operator<<(std::ostream &os, const Group &group);
61
63 bool operator==(const Group &rhs) const;
64
66 bool operator!=(const Group &rhs) const;
67
69 bool operator<(const Group &rhs) const;
70
72 bool operator>(const Group &rhs) const;
73
75 bool operator<=(const Group &rhs) const;
76
78 bool operator>=(const Group &rhs) const;
79};
80
81}// namespace lintel
82#endif// LINTEL_GROUP_H
Definition Group.h:35
bool operator<(const Group &rhs) const
friend std::ostream & operator<<(std::ostream &os, const Group &group)
Group(std::string groupName, std::vector< Group > groups, bool isVirtual)
bool operator!=(const Group &rhs) const
bool operator<=(const Group &rhs) const
bool operator==(const Group &rhs) const
bool operator>=(const Group &rhs) const
const std::string & getGroupName() const
const std::vector< Group > & getGroups() const
bool operator>(const Group &rhs) const
bool isVirtual() const
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9