SeExpr
Public Types | Public Member Functions | Public Attributes | List of all members
GenericCurveEditable< TVAL > Struct Template Reference

#include <Editable.h>

Inheritance diagram for GenericCurveEditable< TVAL >:
Editable

Public Types

typedef SeExpr2::Curve< TVAL > Curve
 
typedef SeExpr2::Curve< TVAL >::CV CV
 
typedef Curve::InterpType 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 &)
 parses a comment. if false is returned then delete the control from the editable More...
 
std::string str () const
 
void appendString (std::stringstream &stream) const
 
virtual bool controlsMatch (const Editable &other) const
 
- Public Member Functions inherited from Editable
 Editable (const std::string &name, int startPos, int endPos)
 
void updatePositions (const Editable &other)
 
virtual ~Editable ()
 

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 190 of file Editable.h.

Member Typedef Documentation

template<class TVAL >
typedef SeExpr2::Curve<TVAL> GenericCurveEditable< TVAL >::Curve

Definition at line 192 of file Editable.h.

template<class TVAL >
typedef SeExpr2::Curve<TVAL>::CV GenericCurveEditable< TVAL >::CV

Definition at line 193 of file Editable.h.

template<class TVAL >
typedef Curve::InterpType GenericCurveEditable< TVAL >::InterpType

Definition at line 194 of file Editable.h.

Constructor & Destructor Documentation

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

Definition at line 197 of file Editable.h.

Member Function Documentation

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

Definition at line 201 of file Editable.h.

References GenericCurveEditable< TVAL >::cvs.

template<class TVAL >
void GenericCurveEditable< TVAL >::appendString ( std::stringstream &  stream) const
inlinevirtual
template<class TVAL >
virtual bool GenericCurveEditable< TVAL >::controlsMatch ( const Editable other) const
inlinevirtual

Implements Editable.

Definition at line 223 of file Editable.h.

References UNUSED.

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

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

Implements Editable.

Definition at line 205 of file Editable.h.

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

Reimplemented from Editable.

Definition at line 206 of file Editable.h.

References Editable::name.

Member Data Documentation

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

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