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::type_instance_ad_hoc_range Class Reference

#include <chomik.h>

Inheritance diagram for chomik::type_instance_ad_hoc_range:
Collaboration diagram for chomik::type_instance_ad_hoc_range:

Public Member Functions

 type_instance_ad_hoc_range (const generic_type &t, const std::string &n, int b1, int b2)
 
virtual void update (placeholder_with_value &v, machine &m, basic_generator &g) override
 
virtual void report (std::ostream &s) const override
 
- Public Member Functions inherited from chomik::type_instance_range
 type_instance_range (const std::string &n, int b1, int b2)
 
virtual int get_first_iterator_for_range () const override
 
virtual int get_last_iterator_for_range () const override
 
virtual type_instance_mode get_mode () const
 
virtual int get_amount_of_values () const override
 
- Public Member Functions inherited from chomik::type_instance
 type_instance (const std::string &n)
 
virtual void add_type_instance_enum_value (const signature &n, unsigned new_level=1)
 
virtual void add_type_instance_enum_value (const std::string &n, unsigned new_level=1)
 
virtual std::vector< std::unique_ptr< type_instance_enum_value > >::const_iterator get_first_iterator_for_enum () const
 
virtual std::vector< std::unique_ptr< type_instance_enum_value > >::const_iterator get_last_iterator_for_enum () const
 
const std::string get_name () const
 
virtual std::string get_enum_item (int i)
 
void update_name (const std::string &n)
 

Additional Inherited Members

- Public Types inherited from chomik::type_instance
enum class  type_instance_mode { NONE , INTEGER , ENUM }
 
- Protected Attributes inherited from chomik::type_instance_range
int min_boundary
 
int max_boundary
 
- Protected Attributes inherited from chomik::type_instance
std::string name
 

Constructor & Destructor Documentation

◆ type_instance_ad_hoc_range()

chomik::type_instance_ad_hoc_range::type_instance_ad_hoc_range ( const generic_type & t,
const std::string & n,
int b1,
int b2 )
inline

Member Function Documentation

◆ report()

virtual void chomik::type_instance_ad_hoc_range::report ( std::ostream & s) const
overridevirtual

Reimplemented from chomik::type_instance_range.

◆ update()

virtual void chomik::type_instance_ad_hoc_range::update ( placeholder_with_value & v,
machine & m,
basic_generator & g )
overridevirtual

Reimplemented from chomik::type_instance.


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

copyright by Pawel Biernacki

Vantaa 2022