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_enum Class Reference

#include <chomik.h>

Inheritance diagram for chomik::simple_variable_with_value_enum:
Collaboration diagram for chomik::simple_variable_with_value_enum:

Public Member Functions

 simple_variable_with_value_enum (std::shared_ptr< signature > &&s, std::string v)
 
virtual std::string get_value_enum () const override
 
virtual void assign_value_enum (std::string v) override
 
virtual std::string get_debug_type_name () const override
 
- Public Member Functions inherited from chomik::simple_variable_with_value< std::string, static_cast< int >(variable_with_value::actual_memory_representation_type::ENUM)>
 simple_variable_with_value (std::shared_ptr< signature > &&s, std::string 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 double get_value_float () const
 
virtual std::string get_value_string () const
 
virtual void get_value_code (code &target) const
 
virtual void assign_value_integer (int v)
 
virtual void assign_value_float (double v)
 
virtual void assign_value_string (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< std::string, static_cast< int >(variable_with_value::actual_memory_representation_type::ENUM)>
std::string value
 
- Protected Attributes inherited from chomik::variable_with_value
std::shared_ptr< signatureactual_name
 

Constructor & Destructor Documentation

◆ simple_variable_with_value_enum()

chomik::simple_variable_with_value_enum::simple_variable_with_value_enum ( std::shared_ptr< signature > && s,
std::string v )
inline

Member Function Documentation

◆ assign_value_enum()

virtual void chomik::simple_variable_with_value_enum::assign_value_enum ( std::string v)
inlineoverridevirtual

Reimplemented from chomik::variable_with_value.

◆ get_debug_type_name()

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

◆ get_value_enum()

virtual std::string chomik::simple_variable_with_value_enum::get_value_enum ( ) 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