| Line | Branch | Decision | Call | Exec | Source |
|---|---|---|---|---|---|
| 1 | #ifndef CHRYSALIS_INTERSECTIONPOINTINSTRUCTION_H | ||||
| 2 | #define CHRYSALIS_INTERSECTIONPOINTINSTRUCTION_H | ||||
| 3 | |||||
| 4 | #include <boost/serialization/export.hpp> | ||||
| 5 | |||||
| 6 | #include "arguments/LineArgument.h" | ||||
| 7 | #include "arguments/BaseArgument.h" | ||||
| 8 | #include "instructions/BasePatternInstruction.h" | ||||
| 9 | |||||
| 10 | /** @defgroup Instructions Instructions | ||||
| 11 | * @{ | ||||
| 12 | */ | ||||
| 13 | namespace Chrysalis { | ||||
| 14 | class IntersectionPointInstruction: public BasePatternInstruction { | ||||
| 15 | PROVIDE_SERIALIZATION_ACCESS(IntersectionPointInstruction) | ||||
| 16 | public: | ||||
| 17 | explicit IntersectionPointInstruction(ProjectSpace* space, args::patterns* patterns, | ||||
| 18 | const args::line* line, | ||||
| 19 | const args::container<Argument<std::string>>* names, | ||||
| 20 | const args::container<args::line>* targets); | ||||
| 21 | ~IntersectionPointInstruction() override; | ||||
| 22 | |||||
| 23 | void execute() override; | ||||
| 24 | private: | ||||
| 25 | const args::line* line_; | ||||
| 26 | const args::container<Argument<std::string>>* names_; | ||||
| 27 | const args::container<args::line>* targets_; | ||||
| 28 | }; | ||||
| 29 | 60 | SERIALIZE_DERIVED_CONSTRUCTION(IntersectionPointInstruction, BasePatternInstruction, space_, patterns_, line_, names_, targets_) | |||
| 30 | } | ||||
| 31 | /**@}*/ | ||||
| 32 | |||||
| 33 | #endif //CHRYSALIS_INTERSECTIONPOINTINSTRUCTION_H | ||||
| 34 |