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

#include <chomik.h>

Inheritance diagram for chomik::generic_stream_random_enum_stream:
Collaboration diagram for chomik::generic_stream_random_enum_stream:

Public Member Functions

 generic_stream_random_enum_stream (const std::string &n, machine &m)
 
virtual bool get_allows_input () const override
 
virtual std::string read_string () override
 
- Public Member Functions inherited from chomik::generic_stream_random_number_stream
 generic_stream_random_number_stream (int a, int b)
 
virtual int read_integer () override
 
- Public Member Functions inherited from chomik::generic_stream
 generic_stream ()
 
void set_max_size (int ms)
 
virtual ~generic_stream ()
 
virtual bool get_allows_output () const
 
virtual bool get_should_be_opened () const
 
virtual bool get_should_be_closed () const
 
virtual std::ostream & get_output_stream ()
 
virtual std::istream & get_input_stream ()
 
virtual std::string get_result () const
 
virtual std::string getline_result () const
 
virtual void set_result (const std::string &r)
 
virtual bool read_char (unsigned char &target)
 
virtual void getline ()
 
virtual bool get_is_good ()
 

Additional Inherited Members

- Protected Member Functions inherited from chomik::generic_stream
void read_string_of_x_characters (std::string &target, unsigned x)
 
- Protected Attributes inherited from chomik::generic_stream
int max_size
 

Constructor & Destructor Documentation

◆ generic_stream_random_enum_stream()

chomik::generic_stream_random_enum_stream::generic_stream_random_enum_stream ( const std::string & n,
machine & m )

Member Function Documentation

◆ get_allows_input()

virtual bool chomik::generic_stream_random_enum_stream::get_allows_input ( ) const
inlineoverridevirtual

◆ read_string()

virtual std::string chomik::generic_stream_random_enum_stream::read_string ( )
overridevirtual

Reimplemented from chomik::generic_stream.


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

copyright by Pawel Biernacki

Vantaa 2022