Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
Model::Text Class Reference
Inheritance diagram for Model::Text:
Core::Reflect< Base >

Public Member Functions

 Text (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially)
 
 Text (::Model::Node *parent=nullptr)
 
 Text (const QString &text)
 
Textclone () const override
 
const QString & get () const
 
virtual void load (PersistentStore &store) override
 
 operator const QString & () const
 
virtual void save (PersistentStore &store) const override
 
void set (const QString &newText)
 

Static Public Member Functions

static TextcreateDefaultInstance (Node *parent=nullptr)
 

Private Member Functions

virtual FieldSet< QString > * getSetCommand (QString &textField, const QString &newText)
 

Private Attributes

QString text_
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Constructor & Destructor Documentation

◆ Text() [1/3]

Model::Text::Text ( ::Model::Node parent = nullptr)

◆ Text() [2/3]

Model::Text::Text ( ::Model::Node parent,
::Model::PersistentStore store,
bool  loadPartially 
)

◆ Text() [3/3]

Model::Text::Text ( const QString &  text)

Member Function Documentation

◆ clone()

Text * Model::Text::clone ( ) const
override

◆ createDefaultInstance()

Text * Model::Text::createDefaultInstance ( Node parent = nullptr)
static

◆ get()

const QString & Model::Text::get ( ) const
inline

◆ getSetCommand()

FieldSet< QString > * Model::Text::getSetCommand ( QString &  textField,
const QString &  newText 
)
privatevirtual

◆ load()

void Model::Text::load ( PersistentStore store)
overridevirtual

◆ operator const QString &()

Model::Text::operator const QString & ( ) const
inline

◆ save()

void Model::Text::save ( PersistentStore store) const
overridevirtual

◆ set()

void Model::Text::set ( const QString &  newText)

Member Data Documentation

◆ text_

QString Model::Text::text_
private