SeExpr
Public Member Functions | Public Attributes | List of all members
StringEditable Struct Reference

#include <Editable.h>

Inheritance diagram for StringEditable:
Editable

Public Member Functions

 StringEditable (int startPos, int endPos, const std::string &val)
 
bool parseComment (const std::string &comment)
 parses a comment. if false is returned then delete the control from the editable More...
 
void appendString (std::stringstream &stream) const
 
std::string str () 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::string v
 
std::string type
 
- Public Attributes inherited from Editable
std::string name
 
int startPos
 
int endPos
 

Detailed Description

Definition at line 150 of file Editable.h.

Constructor & Destructor Documentation

StringEditable::StringEditable ( int  startPos,
int  endPos,
const std::string &  val 
)
inline

Definition at line 154 of file Editable.h.

Member Function Documentation

void StringEditable::appendString ( std::stringstream &  stream) const
inlinevirtual

Implements Editable.

Definition at line 170 of file Editable.h.

References v.

virtual bool StringEditable::controlsMatch ( const Editable other) const
inlinevirtual

Implements Editable.

Definition at line 180 of file Editable.h.

References Editable::name, type, and v.

bool StringEditable::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 158 of file Editable.h.

References Editable::name, and type.

std::string StringEditable::str ( ) const
inlinevirtual

Reimplemented from Editable.

Definition at line 174 of file Editable.h.

References Editable::name, type, and v.

Member Data Documentation

std::string StringEditable::type

Definition at line 153 of file Editable.h.

Referenced by controlsMatch(), parseComment(), str(), and StringControl::StringControl().

std::string StringEditable::v

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