| Line |
Branch |
Decision |
Call |
Exec |
Source |
| 1 |
|
|
|
|
#ifndef CHRYSALIS_POINTARGUMENT_H |
| 2 |
|
|
|
|
#define CHRYSALIS_POINTARGUMENT_H |
| 3 |
|
|
|
|
|
| 4 |
|
|
|
|
#include "CGAL.h" |
| 5 |
|
|
|
|
#include "arguments/Argument.h" |
| 6 |
|
|
|
|
#include "arguments/BasePointArgument.h" |
| 7 |
|
|
|
|
#include "arguments/PatternsContainerArgument.h" |
| 8 |
|
|
|
|
|
| 9 |
|
|
|
|
/** @defgroup Arguments Arguments |
| 10 |
|
|
|
|
* @{ |
| 11 |
|
|
|
|
*/ |
| 12 |
|
|
|
|
namespace Chrysalis { |
| 13 |
|
|
|
|
class PatternPointArgument: public BasePointArgument { |
| 14 |
|
|
|
|
PROVIDE_SERIALIZATION_ACCESS(PatternPointArgument) |
| 15 |
|
|
|
|
public: |
| 16 |
|
|
|
|
explicit PatternPointArgument(args::name&& name, const args::patterns* patterns); |
| 17 |
|
|
|
|
PatternPointArgument(const PatternPointArgument& other); |
| 18 |
|
|
|
|
~PatternPointArgument() override; |
| 19 |
|
|
|
|
|
| 20 |
|
|
|
|
[[nodiscard]] bool isValid() const override; |
| 21 |
|
|
|
|
[[nodiscard]] const Point* get() const override; |
| 22 |
|
|
|
|
[[nodiscard]] const args::name& name() const override; |
| 23 |
|
|
|
|
[[nodiscard]] BasePointArgument* clone() const override; |
| 24 |
|
|
|
|
|
| 25 |
|
|
|
|
[[nodiscard]] operator CG::Point() const override; |
| 26 |
|
|
|
|
private: |
| 27 |
|
|
|
|
/// @uml{composition} |
| 28 |
|
|
|
|
args::name name_; |
| 29 |
|
|
|
|
/// @uml{composition} |
| 30 |
|
|
|
|
const args::patterns* patterns_; |
| 31 |
|
|
|
|
}; |
| 32 |
3/8
✓ Branch 4 taken 348 times.
✗ Branch 5 not taken.
✓ Branch 8 taken 348 times.
✗ Branch 9 not taken.
✓ Branch 17 taken 348 times.
✗ Branch 18 not taken.
✗ Branch 20 not taken.
✗ Branch 21 not taken.
|
|
18/20
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 5 invoked.
✓ Call 6 invoked.
✓ Call 7 invoked.
✓ Call 8 invoked.
✓ Call 9 invoked.
✓ Call 10 invoked.
✓ Call 11 invoked.
✓ Call 12 invoked.
✓ Call 13 invoked.
✓ Call 14 invoked.
✓ Call 15 invoked.
✓ Call 16 invoked.
✓ Call 19 invoked.
✗ Call 22 not invoked.
✗ Call 23 not invoked.
|
3480 |
SERIALIZE_DERIVED_CONSTRUCTION(PatternPointArgument, BasePointArgument, name_, patterns_) |
| 33 |
|
|
|
|
} |
| 34 |
|
|
|
|
/**@}*/ |
| 35 |
|
|
|
|
|
| 36 |
|
|
|
|
#endif //CHRYSALIS_POINTARGUMENT_H |
| 37 |
|
|
|
|
|