SeExpr
Public Member Functions | Public Attributes | List of all members
Editable Struct Referenceabstract

#include <Editable.h>

Inheritance diagram for Editable:
AnimCurveEditable ColorSwatchEditable DeepWaterEditable GenericCurveEditable< TVAL > NumberEditable StringEditable VectorEditable

Public Member Functions

 Editable (const std::string &name, int startPos, int endPos)
 
void updatePositions (const Editable &other)
 
virtual ~Editable ()
 
virtual bool parseComment (const std::string &comment)=0
 parses a comment. if false is returned then delete the control from the editable More...
 
virtual std::string str () const
 
virtual void appendString (std::stringstream &stream) const =0
 
virtual bool controlsMatch (const Editable &) const =0
 

Public Attributes

std::string name
 
int startPos
 
int endPos
 

Detailed Description

Definition at line 38 of file Editable.h.

Constructor & Destructor Documentation

Editable::Editable ( const std::string &  name,
int  startPos,
int  endPos 
)
inline

Definition at line 44 of file Editable.h.

virtual Editable::~Editable ( )
inlinevirtual

Definition at line 55 of file Editable.h.

Member Function Documentation

virtual void Editable::appendString ( std::stringstream &  stream) const
pure virtual
virtual bool Editable::controlsMatch ( const Editable ) const
pure virtual
virtual bool Editable::parseComment ( const std::string &  comment)
pure virtual

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

Implemented in DeepWaterEditable, ColorSwatchEditable, AnimCurveEditable, GenericCurveEditable< TVAL >, StringEditable, VectorEditable, and NumberEditable.

Referenced by EditableExpression::setExpr().

virtual std::string Editable::str ( ) const
inlinevirtual
void Editable::updatePositions ( const Editable other)
inline

Definition at line 50 of file Editable.h.

References endPos, and startPos.

Referenced by EditableExpression::updateString().

Member Data Documentation

int Editable::endPos
std::string Editable::name
int Editable::startPos

Definition at line 41 of file Editable.h.

Referenced by EditableExpression::getEditedExpr(), and updatePositions().


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