A library for working with phylogenetic and population genetic data.
v0.32.0
SvgTransform::Transformation Class Reference

#include <genesis/utils/formats/svg/attributes.hpp>

Detailed Description

Internal helper class used as an abstraction to be able to store Transformations without need for inheritance and virtual functions within the different transformation types.

Definition at line 546 of file attributes.hpp.

Public Member Functions

template<typename T >
 Transformation (T const &object)
 
 Transformation (Transformation &&)=default
 
 Transformation (Transformation const &other)
 
 ~Transformation ()=default
 
SvgPoint apply (SvgPoint const &p) const
 
Transformationoperator= (Transformation other)
 
void write (std::ostream &out) const
 

Public Types

using self_type = Transformation
 

Constructor & Destructor Documentation

◆ Transformation() [1/3]

Transformation ( T const &  object)
inline

Definition at line 561 of file attributes.hpp.

◆ Transformation() [2/3]

Transformation ( Transformation const &  other)
inline

Definition at line 567 of file attributes.hpp.

◆ Transformation() [3/3]

Transformation ( Transformation &&  )
default

◆ ~Transformation()

~Transformation ( )
default

Member Function Documentation

◆ apply()

SvgPoint apply ( SvgPoint const &  p) const
inline

Definition at line 585 of file attributes.hpp.

◆ operator=()

Transformation& operator= ( Transformation  other)
inline

Definition at line 573 of file attributes.hpp.

◆ write()

void write ( std::ostream &  out) const
inline

Definition at line 590 of file attributes.hpp.

Member Typedef Documentation

◆ self_type

Definition at line 554 of file attributes.hpp.


The documentation for this class was generated from the following file: