Minsky
variableType.h
Go to the documentation of this file.
1
/*
2
@copyright Steve Keen 2013
3
@author Russell Standish
4
This file is part of Minsky.
5
6
Minsky is free software: you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
Minsky is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with Minsky. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef VARIABLETYPE_H
21
#define VARIABLETYPE_H
22
#include "
units.h
"
23
24
namespace
minsky
25
{
26
struct
VariableType
27
{
28
enum
Type
{
undefined
,
constant
,
parameter
,
flow
,
integral
,
stock
,
tempFlow
,
numVarTypes
};
29
static
std::string
typeName
(
int
t);
30
};
31
inline
std::ostream&
operator<<
(std::ostream& o,
VariableType::Type
t)
32
{
return
o<<
VariableType::typeName
(t);}
33
}
34
35
36
#include "variableType.cd"
37
#include "variableType.xcd"
38
#endif
minsky::VariableType::parameter
Definition:
variableType.h:28
minsky::VariableType::stock
Definition:
variableType.h:28
minsky::VariableType::Type
Type
Definition:
variableType.h:28
minsky::VariableType::undefined
Definition:
variableType.h:28
minsky::VariableType::tempFlow
Definition:
variableType.h:28
minsky::VariableType::integral
Definition:
variableType.h:28
minsky::VariableType::flow
Definition:
variableType.h:28
minsky
Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state cha...
Definition:
constMap.h:22
minsky::operator<<
std::ostream & operator<<(std::ostream &o, OperationType::Type t)
Definition:
operationType.h:70
minsky::VariableType::typeName
static std::string typeName(int t)
Definition:
variableType.cc:30
units.h
minsky::VariableType
Definition:
variableType.h:26
minsky::VariableType::numVarTypes
Definition:
variableType.h:28
minsky::VariableType::constant
Definition:
variableType.h:28
schema
variableType.h
Generated on Tue Mar 18 2025 13:00:34 for Minsky by
1.8.14