| Line |
Branch |
Decision |
Call |
Exec |
Source |
| 1 |
|
|
|
|
#ifndef CHRYSALIS_BASEPOINTARGUMENT_H |
| 2 |
|
|
|
|
#define CHRYSALIS_BASEPOINTARGUMENT_H |
| 3 |
|
|
|
|
|
| 4 |
|
|
|
|
#include "Point.h" |
| 5 |
|
|
|
|
#include "arguments/Argument.h" |
| 6 |
|
|
|
|
|
| 7 |
|
|
|
|
/** @defgroup Arguments Arguments |
| 8 |
|
|
|
|
* @{ |
| 9 |
|
|
|
|
*/ |
| 10 |
|
|
|
|
namespace Chrysalis { |
| 11 |
|
|
|
|
class BasePointArgument { |
| 12 |
|
|
|
1552 |
SERIALIZED |
| 13 |
|
|
|
|
protected: |
| 14 |
|
|
2/2
✓ Call 0 invoked.
✓ Call 1 invoked.
|
858 |
explicit BasePointArgument() = default; |
| 15 |
|
|
|
|
public: |
| 16 |
|
|
2/2
✓ Call 0 invoked.
✓ Call 1 invoked.
|
1716 |
virtual ~BasePointArgument() = default; |
| 17 |
|
|
|
|
|
| 18 |
|
|
|
|
[[nodiscard]] virtual bool isValid() const; |
| 19 |
|
|
|
|
[[nodiscard]] virtual const Point* get() const = 0; |
| 20 |
|
|
|
|
[[nodiscard]] virtual const args::name& name() const = 0; |
| 21 |
|
|
|
|
[[nodiscard]] virtual BasePointArgument* clone() const = 0; |
| 22 |
|
|
|
|
|
| 23 |
|
|
|
|
[[nodiscard]] virtual operator CG::Point() const; |
| 24 |
|
|
|
|
}; |
| 25 |
|
|
|
|
namespace args { |
| 26 |
|
|
|
|
using point = BasePointArgument; |
| 27 |
|
|
|
|
} |
| 28 |
|
|
|
|
} |
| 29 |
|
|
|
|
/**@}*/ |
| 30 |
|
|
|
|
|
| 31 |
|
|
|
|
#endif //CHRYSALIS_BASEPOINTARGUMENT_H |
| 32 |
|
|
|
|
|