A library for working with phylogenetic and population genetic data.
v0.27.0
SvgObject Class Reference

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

Detailed Description

Definition at line 46 of file object.hpp.

Public Member Functions

 SvgObject (SvgObject &&)=default
 
 SvgObject (SvgObject const &other)
 
template<typename T >
 SvgObject (T const &object)
 
 ~SvgObject ()=default
 
SvgBox bounding_box () const
 
SvgObjectoperator= (SvgObject other)
 
void write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const
 

Public Types

using self_type = SvgObject
 

Constructor & Destructor Documentation

◆ SvgObject() [1/3]

SvgObject ( T const &  object)
inline

Definition at line 61 of file object.hpp.

◆ SvgObject() [2/3]

SvgObject ( SvgObject const &  other)
inline

Definition at line 67 of file object.hpp.

◆ SvgObject() [3/3]

SvgObject ( SvgObject &&  )
default

◆ ~SvgObject()

~SvgObject ( )
default

Member Function Documentation

◆ bounding_box()

SvgBox bounding_box ( ) const
inline

Definition at line 88 of file object.hpp.

◆ operator=()

SvgObject& operator= ( SvgObject  other)
inline

Definition at line 73 of file object.hpp.

◆ write()

void write ( std::ostream &  out,
size_t  indent = 0,
SvgDrawingOptions const &  options = SvgDrawingOptions() 
) const
inline

Definition at line 93 of file object.hpp.

Member Typedef Documentation

◆ self_type

Definition at line 54 of file object.hpp.


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