KSeExpr 4.0.4.0
GenericCurveEditable< TVAL > Struct Template Reference

#include <Editable.h>

Inheritance diagram for GenericCurveEditable< TVAL >:
Editable

Public Types

using Curve = typename KSeExpr::Curve<TVAL>
using CV = typename KSeExpr::Curve<TVAL>::CV
using InterpType = typename Curve::InterpType

Public Member Functions

 GenericCurveEditable (const std::string &name, int startPos, int endPos)
void add (double x, const TVAL &y, int interp)
bool parseComment (const std::string &) override
 parses a comment. if false is returned then delete the control from the editable
std::string str () const override
void appendString (std::stringstream &stream) const override
bool controlsMatch (const Editable &other) const override
Public Member Functions inherited from Editable
 Editable (const std::string &name, int startPos, int endPos)
Editableoperator= (const Editable &)=default
Editableoperator= (Editable &&)=default
 Editable (const Editable &)=default
 Editable (Editable &&)=default
void updatePositions (const Editable &other)
virtual ~Editable ()=default

Public Attributes

std::vector< CVcvs
Public Attributes inherited from Editable
std::string name
int startPos
int endPos

Detailed Description

template<class TVAL>
struct GenericCurveEditable< TVAL >

Definition at line 94 of file Editable.h.

Member Typedef Documentation

◆ Curve

template<class TVAL>
using GenericCurveEditable< TVAL >::Curve = typename KSeExpr::Curve<TVAL>

Definition at line 95 of file Editable.h.

◆ CV

template<class TVAL>
using GenericCurveEditable< TVAL >::CV = typename KSeExpr::Curve<TVAL>::CV

Definition at line 96 of file Editable.h.

◆ InterpType

template<class TVAL>
using GenericCurveEditable< TVAL >::InterpType = typename Curve::InterpType

Definition at line 97 of file Editable.h.

Constructor & Destructor Documentation

◆ GenericCurveEditable()

template<class TVAL>
GenericCurveEditable< TVAL >::GenericCurveEditable ( const std::string & name,
int startPos,
int endPos )
inline

Definition at line 100 of file Editable.h.

Member Function Documentation

◆ add()

template<class TVAL>
void GenericCurveEditable< TVAL >::add ( double x,
const TVAL & y,
int interp )
inline

Definition at line 105 of file Editable.h.

◆ appendString()

template<class TVAL>
void GenericCurveEditable< TVAL >::appendString ( std::stringstream & stream) const
inlineoverridevirtual

Implements Editable.

Definition at line 122 of file Editable.h.

◆ controlsMatch()

template<class TVAL>
bool GenericCurveEditable< TVAL >::controlsMatch ( const Editable & other) const
inlineoverridevirtual

Implements Editable.

Definition at line 131 of file Editable.h.

◆ parseComment()

template<class TVAL>
bool GenericCurveEditable< TVAL >::parseComment ( const std::string & comment)
inlineoverridevirtual

parses a comment. if false is returned then delete the control from the editable

Implements Editable.

Definition at line 110 of file Editable.h.

◆ str()

template<class TVAL>
std::string GenericCurveEditable< TVAL >::str ( ) const
inlineoverridevirtual

Reimplemented from Editable.

Definition at line 114 of file Editable.h.

Member Data Documentation

◆ cvs

template<class TVAL>
std::vector<CV> GenericCurveEditable< TVAL >::cvs

Definition at line 99 of file Editable.h.


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