|
SlHelpers
|
#include <Person.h>
Public Types | |
| enum | RoleType { Author , SignedOffBy , FirstRole = SignedOffBy , CoDevelopedBy , SuggestedBy , ReviewedBy , AckedBy , LastRole = AckedBy , TestedBy , ReportedBy , Maintainer , Upstream , Last } |
| Actual roles. More... | |
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 const auto & | toString () const |
| Convert Role to string. | |
Actual roles.
Roles from FirstRole to LastRole are tried in parse(). The others have to be set manually as needed.