Differentiate between load after and requirement metadata sources

When reporting a cyclic interaction error.
This commit is contained in:
Oliver Hamlet
2018-10-20 12:48:23 +01:00
parent 5250cb3696
commit e06ce7efee
9 changed files with 271 additions and 114 deletions
@@ -38,8 +38,10 @@ enum struct EdgeType : unsigned int {
Hardcoded,
MasterFlag,
Master,
Requirement,
LoadAfter,
MasterlistRequirement,
UserRequirement,
MasterlistLoadAfter,
UserLoadAfter,
Group,
Overlap,
TieBreak,
@@ -62,7 +64,7 @@ public:
/**
* @brief Get the name of the plugin or group.
* @return The name of the plugin or group.
*/
*/
std::string GetName() const;
/**
@@ -70,8 +72,9 @@ public:
* @details Each edge goes from the vertex that loads earlier to the vertex
* that loads later.
* @return The edge type.
*/
*/
EdgeType GetTypeOfEdgeToNextVertex() const;
private:
std::string name_;
EdgeType outEdgeType_;