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

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

#include <ShowSpecsOf.hpp>

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

Public Member Functions

 ShowSpecsOf ()
 Construct a default ShowSpecsOf instance.
 
auto show (bool value=true) -> DerivedSpecs &
 Set the visibility status of the plot element.
 
auto hide () -> DerivedSpecs &
 Set the visibility status of the plot element as hidden.
 
auto isHidden () const -> bool
 Return true if the underlying plot element is hidden.
 
auto repr () const -> std::string
 Convert this ShowSpecsOf 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::ShowSpecsOf< DerivedSpecs >

The class used to attach visibility options to a type.


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