Chrysalis - Pattern
Toggle main menu visibility
Loading...
Searching...
No Matches
TransformInstruction.h
Go to the documentation of this file.
1
#ifndef CHRYSALIS_CONNECTINSTRUCTION_H
2
#define CHRYSALIS_CONNECTINSTRUCTION_H
3
4
#include "
BasePatternInstruction.h
"
5
#include "
arguments/VectorArgument.h
"
6
10
namespace
Chrysalis
{
11
class
TransformInstruction
:
public
BasePatternInstruction
{
12
PROVIDE_SERIALIZATION_ACCESS
(
TransformInstruction
)
13
public
:
14
explicit
TransformInstruction
(
ProjectSpace
*
space
,
args::patterns
* patterns,
15
const
args::vector
* from,
const
args::vector
* to);
16
~TransformInstruction
()
override
;
17
18
void
execute
()
override
;
19
private
:
21
const
args::vector
* from_;
23
const
args::vector
* to_;
24
};
25
SERIALIZE_DERIVED_CONSTRUCTION
(
TransformInstruction
,
BasePatternInstruction
, space_, patterns_, from_, to_);
26
}
28
29
#endif
//CHRYSALIS_CONNECTINSTRUCTION_H
BasePatternInstruction.h
VectorArgument.h
Chrysalis::BasePatternInstruction
Definition
BasePatternInstruction.h:14
Chrysalis::BasePatternInstruction::space
ProjectSpace & space() const
Definition
BasePatternInstruction.h:21
Chrysalis::BasePatternInstruction::BasePatternInstruction
BasePatternInstruction(ProjectSpace *space, args::patterns *patterns)
Definition
BasePatternInstruction.cpp:5
Chrysalis::ProjectSpace
Definition
ProjectSpace.h:12
Chrysalis::TransformInstruction
Definition
TransformInstruction.h:11
Chrysalis::TransformInstruction::execute
void execute() override
Definition
TransformInstruction.cpp:14
Chrysalis::TransformInstruction::TransformInstruction
TransformInstruction(ProjectSpace *space, args::patterns *patterns, const args::vector *from, const args::vector *to)
Definition
TransformInstruction.cpp:5
Chrysalis::TransformInstruction::~TransformInstruction
~TransformInstruction() override
Definition
TransformInstruction.cpp:9
Chrysalis::args::vector
VectorArgument vector
Definition
VectorArgument.h:32
Chrysalis::args::patterns
PatternsContainerArgument patterns
Definition
PatternsContainerArgument.h:31
Chrysalis
Definition
Argument.h:9
PROVIDE_SERIALIZATION_ACCESS
#define PROVIDE_SERIALIZATION_ACCESS(Class)
Definition
serialization.h:29
SERIALIZE_DERIVED_CONSTRUCTION
#define SERIALIZE_DERIVED_CONSTRUCTION(Class, Base,...)
Definition
serialization.h:124
pattern
include
instructions
TransformInstruction.h
Generated by
1.17.0