chomik 0.2.1
experimental and minimalistic programming language

My name is Pawel Biernacki.
I am a software engineer.
This site is my hobby project.

Loading...
Searching...
No Matches
chomik::simple_variable_with_value_float Class Reference

#include <chomik.h>

Inheritance diagram for chomik::simple_variable_with_value_float:
Collaboration diagram for chomik::simple_variable_with_value_float:

Public Member Functions

 simple_variable_with_value_float (std::shared_ptr< signature > &&s, double v)
 
virtual double get_value_float () const override
 
virtual void assign_value_float (double v) override
 
virtual std::string get_debug_type_name () const override
 
- Public Member Functions inherited from chomik::simple_variable_with_value< double, static_cast< int >(variable_with_value::actual_memory_representation_type::FLOAT)>
 simple_variable_with_value (std::shared_ptr< signature > &&s, double v)
 
virtual void report (std::ostream &s) const override
 
virtual actual_memory_representation_type get_representation_type () const override
 
- Public Member Functions inherited from chomik::variable_with_value
 variable_with_value (std::shared_ptr< signature > &&n)
 
virtual ~variable_with_value ()
 
std::string get_signature_item_representation (int item_index) const
 
std::string get_signature_item_type_name (int item_index) const
 
int get_amount_of_signature_items () const
 
std::string get_signature_string_representation () const
 
virtual int get_value_integer () const
 
virtual std::string get_value_string () const
 
virtual std::string get_value_enum () const
 
virtual void get_value_code (code &target) const
 
virtual void assign_value_integer (int v)
 
virtual void assign_value_string (std::string v)
 
virtual void assign_value_enum (std::string v)
 
virtual void assign_value_code (const code &ci)
 

Additional Inherited Members

- Public Types inherited from chomik::variable_with_value
enum class  actual_memory_representation_type {
  NONE , INTEGER , FLOAT , STRING ,
  CODE , ENUM
}
 
- Protected Attributes inherited from chomik::simple_variable_with_value< double, static_cast< int >(variable_with_value::actual_memory_representation_type::FLOAT)>
double value
 
- Protected Attributes inherited from chomik::variable_with_value
std::shared_ptr< signatureactual_name
 

Constructor & Destructor Documentation

◆ simple_variable_with_value_float()

chomik::simple_variable_with_value_float::simple_variable_with_value_float ( std::shared_ptr< signature > && s,
double v )
inline

Member Function Documentation

◆ assign_value_float()

virtual void chomik::simple_variable_with_value_float::assign_value_float ( double v)
inlineoverridevirtual

Reimplemented from chomik::variable_with_value.

◆ get_debug_type_name()

virtual std::string chomik::simple_variable_with_value_float::get_debug_type_name ( ) const
inlineoverridevirtual

◆ get_value_float()

virtual double chomik::simple_variable_with_value_float::get_value_float ( ) const
inlineoverridevirtual

Reimplemented from chomik::variable_with_value.


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

copyright by Pawel Biernacki

Vantaa 2022