The status of a migrator, it provides the helper functions to convert the status to string and vice versa.
More...
#include <MigratiorStatus.hpp>
|
enum | Status { Migrated
, NotMigrated
, NotKnown
, NumStatuses
} |
| The status of a migrator.
|
|
The status of a migrator, it provides the helper functions to convert the status to string and vice versa.
◆ MigratorStatus()
migration::MigratorStatus::MigratorStatus |
( |
Status | status | ) |
|
|
inline |
Construct a new Migrator Status object with the given status.
- Parameters
-
status | The status of the migrator |
◆ fromString()
MigratorStatus migration::MigratorStatus::fromString |
( |
std::string const & | statusStr | ) |
|
|
static |
Convert the string to status.
- Parameters
-
statusStr | The string to convert |
- Returns
- The status representation of the string
◆ operator==() [1/2]
bool migration::MigratorStatus::operator== |
( |
MigratorStatus const & | other | ) |
const |
Compare the status with another MigratorStatus.
- Parameters
-
other | The other status to compare |
- Returns
- true if the status is equal to the other status, false otherwise
◆ operator==() [2/2]
bool migration::MigratorStatus::operator== |
( |
Status const & | other | ) |
const |
Compare the status with another status.
- Parameters
-
other | The other status to compare |
- Returns
- true if the status is equal to the other status, false otherwise
◆ toString()
std::string migration::MigratorStatus::toString |
( |
| ) |
const |
Convert the status to string.
- Returns
- The string representation of the status
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/migration/MigratiorStatus.hpp
- /__w/clio/clio/src/migration/MigratorStatus.cpp