Template Class Program

Inheritance Relationships

Base Type

  • public std::vector< sgpl::Instruction< Spec > >

Class Documentation

template<typename Spec>
class sgpl::Program : public std::vector<sgpl::Instruction<Spec>>

Public Functions

Program() = default

Default constructor.

Program(const size_t n)
Program(const char *as_json)

Deserialize from JSON string.

Program(const std::filesystem::path &path)

Deserialize from file.

Program(const Program &other)

Copy constructor.

Program(Program &&other)

Move constructor.

Program(const parent_t &other)

Raw copy constructor.

Program(parent_t &&other)

Raw move constructor.

Program &operator=(const Program &other)

Copy assignment operator.

Program &operator=(Program &&other)

Move assignment operator.

Program &operator=(parent_t &&other)

Raw move assignment operator.

size_t ApplyPointMutations(const float p_bit_toggle, const rectifier_t &rectifier = rectifier_t{})
void RotateGlobalAnchorToFront()
void Rectify(const rectifier_t &rectifier = rectifier_t{})
bool HasGlobalAnchor() const