cee::ug::SectionInfo
-
class
SectionInfo
Simple class containing metadata info for a section.
A state group info contains:
- Section id
- Section name
Public Functions
-
SectionInfo
() Constructs an empty object.
Default id is -1 (invalid)
-
SectionInfo
(int id, const Str &name, int categoryId) Constructs a new object with the given section id and name.
-
SectionInfo
(const SectionInfo &other) Constructs a new SectionInfo that is a copy of other.
-
SectionInfo &
operator=
(const SectionInfo &rhs) Assigns rhs to this section info and returns a reference to this section info.
-
bool
operator==
(const SectionInfo &rhs) const Returns true if this object is equal to rhs.
-
bool
operator!=
(const SectionInfo &rhs) const Returns true if this object is not equal to rhs.
-
int
id
() const Returns the section id.
Returns -1 if this section info object is invalid.
-
int
categoryId
() const Returns the section category id.
Returns -1 if this section info object is invalid.