| Line | Branch | Decision | Call | Exec | Source |
|---|---|---|---|---|---|
| 1 | #ifndef CHRYSALIS_UNFOLDEDGEDARTINSTRUCTION_H | ||||
| 2 | #define CHRYSALIS_UNFOLDEDGEDARTINSTRUCTION_H | ||||
| 3 | |||||
| 4 | #include <boost/serialization/export.hpp> | ||||
| 5 | |||||
| 6 | #include "arguments/SegmentArgument.h" | ||||
| 7 | #include "instructions/BasePatternInstruction.h" | ||||
| 8 | |||||
| 9 | /** @defgroup Instructions Instructions | ||||
| 10 | * @{ | ||||
| 11 | */ | ||||
| 12 | namespace Chrysalis { | ||||
| 13 | class UnfoldEdgeDartInstruction: public BasePatternInstruction { | ||||
| 14 | PROVIDE_SERIALIZATION_ACCESS(UnfoldEdgeDartInstruction) | ||||
| 15 | public: | ||||
| 16 | explicit UnfoldEdgeDartInstruction(ProjectSpace* space, args::patterns* patterns, | ||||
| 17 | const args::segment* edge, const args::segment* leg, args::number&& intake); | ||||
| 18 | ~UnfoldEdgeDartInstruction() override; | ||||
| 19 | |||||
| 20 | void execute() override; | ||||
| 21 | private: | ||||
| 22 | const args::segment* edge_; | ||||
| 23 | const args::segment* leg_; | ||||
| 24 | args::number intake_; | ||||
| 25 | }; | ||||
| 26 | 20 | SERIALIZE_DERIVED_CONSTRUCTION(UnfoldEdgeDartInstruction, BasePatternInstruction, space_, patterns_, edge_, leg_, intake_) | |||
| 27 | } | ||||
| 28 | /**@}*/ | ||||
| 29 | |||||
| 30 | #endif //CHRYSALIS_UNFOLDEDGEDARTINSTRUCTION_H | ||||
| 31 |