sciplot  0.3.1
A modern C++ plotting library powered by gnuplot
LineSpecsOf< DerivedSpecs > Class Template Reference

The class used to attach line options to a type. More...

#include <LineSpecsOf.hpp>

Inheritance diagram for LineSpecsOf< DerivedSpecs >:
[legend]
Collaboration diagram for LineSpecsOf< DerivedSpecs >:
[legend]

Public Member Functions

 LineSpecsOf ()
 Construct a default LineSpecsOf instance.
 
auto lineStyle (int value) -> DerivedSpecs &
 Set the line style of the underlying line object.
 
auto lineType (int value) -> DerivedSpecs &
 Set the line type of the underlying line object.
 
auto lineWidth (int value) -> DerivedSpecs &
 Set the line width of the underlying line object.
 
auto lineColor (std::string value) -> DerivedSpecs &
 Set the line color of the underlying line object.
 
auto dashType (int value) -> DerivedSpecs &
 Set the dash type of the underlying line object.
 
auto repr () const -> std::string
 Convert this LineSpecsOf object into a gnuplot formatted string.
 
- Public Member Functions inherited from Specs< DerivedSpecs >
virtual ~Specs ()=default
 Pure virtual destructor (this class is an abstract base class).
 
 operator std::string () const
 Return a string representation of this object of some class that derives from specs.
 
auto derived () -> DerivedSpecs &
 Return a reference to the specs object of class derived from this.
 
auto derived () const -> const DerivedSpecs &
 Return a const reference to the specs object of class derived from this.
 

Detailed Description

template<typename DerivedSpecs>
class sciplot::LineSpecsOf< DerivedSpecs >

The class used to attach line options to a type.


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