SlHelpers
SlKernCVS::Role Class Reference

Role of a Person. More...

#include <Person.h>

Public Member Functions

 Role (size_t index)
 Construct new Role with role set by the index.
 
 Role (RoleType role)
 Construct new Role with role set.
 
RoleType role () const
 Get the actual RoleType.
 
constexpr auto index () const
 Convert Role to number/index.
 
constexpr auto toString () const
 Convert Role to string.
 

Static Public Member Functions

static constexpr auto index (RoleType role)
 Convert Role to number/index.
 
static constexpr auto toString (RoleType role)
 Convert Role to string.
 

Detailed Description

Role of a Person.

The class converts roles to indices and back too.


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