A library for working with phylogenetic and population genetic data.
v0.27.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 493 of file attributes.hpp.

Public Member Functions

template<typename T >
 Transformation (T const &object)
 
 Transformation (Transformation &&)=default
 
 Transformation (Transformation const &other)
 
 ~Transformation ()=default
 
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 508 of file attributes.hpp.

◆ Transformation() [2/3]

Transformation ( Transformation const &  other)
inline

Definition at line 514 of file attributes.hpp.

◆ Transformation() [3/3]

Transformation ( Transformation &&  )
default

◆ ~Transformation()

~Transformation ( )
default

Member Function Documentation

◆ operator=()

Transformation& operator= ( Transformation  other)
inline

Definition at line 520 of file attributes.hpp.

◆ write()

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

Definition at line 532 of file attributes.hpp.

Member Typedef Documentation

◆ self_type

Definition at line 501 of file attributes.hpp.


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