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

Public Member Functions

 Float (::Model::Node *parent, ::Model::PersistentStore &store, bool loadPartially)
 
 Float (::Model::Node *parent=nullptr)
 
Floatclone () const override
 
double get () const
 
virtual void load (PersistentStore &store) override
 
virtual void save (PersistentStore &store) const override
 
void set (const double &newValue)
 

Static Public Member Functions

static FloatcreateDefaultInstance (Node *parent=nullptr)
 

Private Attributes

double value
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Float() [1/2]

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

◆ Float() [2/2]

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

Member Function Documentation

◆ clone()

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

◆ createDefaultInstance()

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

◆ get()

double Model::Float::get ( ) const
inline

◆ load()

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

◆ save()

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

◆ set()

void Model::Float::set ( const double &  newValue)

Member Data Documentation

◆ value

double Model::Float::value
private