summaryrefslogtreecommitdiff
path: root/NT/src/rotor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NT/src/rotor.cpp')
-rw-r--r--NT/src/rotor.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/NT/src/rotor.cpp b/NT/src/rotor.cpp
index 5f75826..997dc4c 100644
--- a/NT/src/rotor.cpp
+++ b/NT/src/rotor.cpp
@@ -9,12 +9,6 @@
using namespace std;
using namespace Rotor;
-std::istream& operator>> (std::istream &in, Rotor::Enum &en)
-{
- in >> en.value;
- return in;
-};
-
string Variable::get_connection_id(){
if (connection) return connection->get_id();
return "";
@@ -23,15 +17,6 @@ string Variable::get_name(){
return name;
}
-template <class T>
-Json::Value Variable_type<T>::to_json(){
- Json::Value json;
- json["type"]=get_type();
- json["name"]=name;
- json["connectable"]=connectable?"yes":"no";
- json["input"]=connection?connection->get_id():"";
- return json;
-}
template <class T>
Json::Value Variable_array_type<T>::to_json(){