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