Domain class - class that points to a data type.
More...
#include <Domain.h>
Domain class - class that points to a data type.
◆ Domain() [1/2]
Inter4ql::Domain::Domain |
( |
std::string |
a_name, |
|
|
variable_type::type |
type = variable_type::INVALID |
|
) |
| |
|
explicit |
constructor that creates a connection between name and type
- Parameters
-
a_name | name of a domain |
type | type of a domain |
◆ Domain() [2/2]
constructor that creates a default named type
- Parameters
-
◆ ~Domain()
Inter4ql::Domain::~Domain |
( |
| ) |
|
◆ get_name()
std::string Inter4ql::Domain::get_name |
( |
| ) |
const |
getter for name of a domain
- Returns
- name of the domain
◆ get_type()
getter for type of a domain
- Returns
- type of the domain
◆ print()
std::string Inter4ql::Domain::print |
( |
| ) |
|
returns string with domain information
- Returns
- domain information packed in a std::string
◆ set_type()
setter for type of a domain
- Parameters
-
The documentation for this class was generated from the following files:
- /home/lukasz/Desktop/Inter4QL_5_2/Inter4QL_5_2/src/Domain.h
- /home/lukasz/Desktop/Inter4QL_5_2/Inter4QL_5_2/src/Domain.cc