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 14 of file SkillID.h.

Member Function Documentation

◆ FromIce() [1/2]

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

Definition at line 36 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 44 of file SkillID.cpp.

+ Here is the call graph for this function:

◆ isFullySpecified()

bool isFullySpecified ( ) const

Definition at line 78 of file SkillID.cpp.

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

◆ isProviderSpecified()

bool isProviderSpecified ( ) const

Definition at line 90 of file SkillID.cpp.

+ Here is the caller graph for this function:

◆ isSkillSpecified()

bool isSkillSpecified ( ) const

Definition at line 84 of file SkillID.cpp.

+ Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const SkillID other) const

Definition at line 18 of file SkillID.cpp.

◆ operator<()

bool operator< ( const SkillID other) const

Definition at line 24 of file SkillID.cpp.

+ Here is the call graph for this function:

◆ operator<=()

bool operator<= ( const SkillID other) const

Definition at line 30 of file SkillID.cpp.

+ Here is the call graph for this function:

◆ operator==()

bool operator== ( const SkillID other) const

Definition at line 12 of file SkillID.cpp.

+ Here is the call graph for this function:

◆ toManagerIce()

manager::dto::SkillID toManagerIce ( ) const

Definition at line 55 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 62 of file SkillID.cpp.

+ Here is the caller graph for this function:

◆ toString()

std::string toString ( ) const

Definition at line 68 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 17 of file SkillID.h.

◆ providerId

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

Definition at line 40 of file SkillID.h.

◆ skillName

std::string skillName

Definition at line 41 of file SkillID.h.

◆ UNKNOWN

const constexpr char* UNKNOWN = "UNKNOWN"
staticconstexpr

Definition at line 18 of file SkillID.h.


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