Holds the common info for all SDK components.
More...
#include <component.h>
|
|
| Component ()=default |
| | The default constructor.
|
| |
| | Component (std::string name) |
| | The name constructor.
|
| |
| | Component (std::string name, std::string uuid) |
| | The name and UUID constructor.
|
| |
| std::string | get_name () const |
| | Gets the name of the component.
|
| |
| std::string | get_uuid () const |
| | Gets the uuid of the component.
|
| |
Holds the common info for all SDK components.
◆ Component() [1/2]
| flyby::Component::Component |
( |
std::string | name | ) |
|
|
inlineexplicit |
The name constructor.
- Parameters
-
| name | - the name of the component |
◆ Component() [2/2]
| flyby::Component::Component |
( |
std::string | name, |
|
|
std::string | uuid ) |
|
inline |
The name and UUID constructor.
- Parameters
-
| name | - the name of the component |
| uuid | - the UUID of the component |
◆ get_name()
| std::string flyby::Component::get_name |
( |
| ) |
const |
|
inlinenodiscard |
Gets the name of the component.
- Returns
- The name of the component
◆ get_uuid()
| std::string flyby::Component::get_uuid |
( |
| ) |
const |
|
inlinenodiscard |
Gets the uuid of the component.
- Returns
- The uuid of the component
The documentation for this class was generated from the following file: