OverlayInfo object.
More...
OverlayInfo object.
Implements share-read / share-write Api object over IOverlayInfo.
◆ OverlayInfo() [1/2]
| gem::OverlayInfo::OverlayInfo |
( |
const OverlayInfo & | info | ) |
|
|
delete |
Disable copy.
Copy constructor and assignment operator are disabled
- Parameters
-
◆ OverlayInfo() [2/2]
| gem::OverlayInfo::OverlayInfo |
( |
OverlayInfo && | info | ) |
|
|
default |
Default move constructor noexcept is deduced.
- Parameters
-
◆ getCategories()
Get the overlay categories.
- Returns
- Empty if no categories are available
◆ getCategory()
Get the overlay category by id.
- Parameters
-
- Returns
- Empty if no category is found
◆ getImage()
| const ImageRef gem::OverlayInfo::getImage |
( |
| ) |
const |
|
inlinenoexcept |
Get the image of the overlay.
- Returns
- empty if image is not available
◆ getName()
| const StringRef gem::OverlayInfo::getName |
( |
| ) |
const |
|
inlinenoexcept |
Get the name of the overlay.
- Returns
- The overlay name
◆ getUid()
| int gem::OverlayInfo::getUid |
( |
| ) |
const |
|
inlinenoexcept |
Get the unique ID of the overlay.
- Returns
- The overlay ID
◆ hasCategories()
| bool gem::OverlayInfo::hasCategories |
( |
int | categId | ) |
const |
|
inlinenoexcept |
Check if category has subcategories.
- Returns
- True if category has subcategories, false otherwise
- Parameters
-
◆ operator=() [1/2]
Default move assignment noexcept is deduced.
- Parameters
-
- Returns
- The moved OverlayInfo object
◆ operator=() [2/2]
Disable copy assignment /.
- Parameters
-
- Returns
- The copied OverlayInfo object