SkillID Class Reference

#include <RobotAPI/libraries/skills/core/SkillID.h>

Public Member Functions

bool isFullySpecified () const
 
bool isProviderSpecified () const
 
bool isSkillSpecified () const
 
bool operator!= (const SkillID &other) const
 
bool operator< (const SkillID &other) const
 
bool operator<= (const SkillID &other) const
 
bool operator== (const SkillID &other) const
 
manager::dto::SkillID toManagerIce () const
 
provider::dto::SkillID toProviderIce () const
 
std::string toString () const
 

Static Public Member Functions

static SkillID FromIce (const manager::dto::SkillID &)
 
static SkillID FromIce (const provider::dto::SkillID &, const std::optional< ProviderID > &providerId=std::nullopt)
 

Public Attributes

std::optional< ProviderIDproviderId = std::nullopt
 
std::string skillName
 

Static Public Attributes

static const constexpr char * NAME_SEPARATOR = "/"
 
static const constexpr char * UNKNOWN = "UNKNOWN"
 

Detailed Description

Definition at line 17 of file SkillID.h.

Member Function Documentation

◆ FromIce() [1/2]

SkillID FromIce ( const manager::dto::SkillID &  s)
static

Definition at line 32 of file SkillID.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FromIce() [2/2]

SkillID FromIce ( const provider::dto::SkillID &  s,
const std::optional< ProviderID > &  providerId = std::nullopt 
)
static

Definition at line 40 of file SkillID.cpp.

+ Here is the call graph for this function:

◆ isFullySpecified()

bool isFullySpecified ( ) const
inline

Definition at line 29 of file SkillID.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isProviderSpecified()

bool isProviderSpecified ( ) const
inline

Definition at line 41 of file SkillID.h.

+ Here is the caller graph for this function:

◆ isSkillSpecified()

bool isSkillSpecified ( ) const
inline

Definition at line 35 of file SkillID.h.

+ Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const SkillID other) const

Definition at line 14 of file SkillID.cpp.

◆ operator<()

bool operator< ( const SkillID other) const

Definition at line 20 of file SkillID.cpp.

+ Here is the call graph for this function:

◆ operator<=()

bool operator<= ( const SkillID other) const

Definition at line 26 of file SkillID.cpp.

+ Here is the call graph for this function:

◆ operator==()

bool operator== ( const SkillID other) const

Definition at line 8 of file SkillID.cpp.

+ Here is the call graph for this function:

◆ toManagerIce()

manager::dto::SkillID toManagerIce ( ) const

Definition at line 51 of file SkillID.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toProviderIce()

provider::dto::SkillID toProviderIce ( ) const

Definition at line 58 of file SkillID.cpp.

+ Here is the caller graph for this function:

◆ toString()

std::string toString ( ) const

Definition at line 64 of file SkillID.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ NAME_SEPARATOR

const constexpr char* NAME_SEPARATOR = "/"
staticconstexpr

Definition at line 20 of file SkillID.h.

◆ providerId

std::optional<ProviderID> providerId = std::nullopt

Definition at line 59 of file SkillID.h.

◆ skillName

std::string skillName

Definition at line 60 of file SkillID.h.

◆ UNKNOWN

const constexpr char* UNKNOWN = "UNKNOWN"
staticconstexpr

Definition at line 21 of file SkillID.h.


The documentation for this class was generated from the following files: