#include <Chain.h>
◆ State
Enumerator |
---|
Draft | |
Ready | |
Fabricate | |
Failed | |
◆ Type
Enumerator |
---|
Preview | |
Production | |
◆ Chain()
◆ equals()
bool Chain::equals |
( |
const Chain & |
chain | ) |
const |
Assert equality with another Chain
- Parameters
-
chain | The Chain to compare |
- Returns
- true if equal
◆ hashCode()
unsigned long long Chain::hashCode |
( |
| ) |
const |
Determine a unique hash code for the Chain
- Returns
- hash code
◆ parseState()
Parse the Chain State enum value from a string
- Parameters
-
- Returns
- The Chain State enum value
◆ parseType()
Chain::Type Chain::parseType |
( |
const std::string & |
value | ) |
|
|
static |
Parse the Chain Type enum value from a string
- Parameters
-
- Returns
- The Chain Type enum value
◆ toString() [1/2]
std::string Chain::toString |
( |
const State & |
state | ) |
|
|
static |
Convert an Chain State enum value to a string
- Parameters
-
state | The Chain State enum value |
- Returns
- The string representation of the Chain State
◆ toString() [2/2]
std::string Chain::toString |
( |
const Type & |
type | ) |
|
|
static |
Convert an Chain Type enum value to a string
- Parameters
-
type | The Chain Type enum value |
- Returns
- The string representation of the Chain Type
◆ operator<
bool operator< |
( |
const Chain & |
lhs, |
|
|
const Chain & |
rhs |
|
) |
| |
|
friend |
Compare two Chains
- Parameters
-
- Returns
- true if lhs < rhs
◆ config
◆ id
◆ name
std::string XJ::Chain::name {} |
◆ shipKey
std::string XJ::Chain::shipKey {} |
◆ state
State XJ::Chain::state {} |
◆ templateId
UUID XJ::Chain::templateId {} |
◆ type
◆ updatedAt
The documentation for this class was generated from the following files:
- /home/runner/work/xjmusic/xjmusic/engine/include/xjmusic/segment/Chain.h
- /home/runner/work/xjmusic/xjmusic/engine/src/segment/Chain.cpp