diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-05-14 20:06:02 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-05-14 20:06:02 +0100 |
| commit | ebc874413991fbc3d07493ece55f88f23e437af6 (patch) | |
| tree | 0b41617db2be2bdb53e83f1f37c971ced7e4172a /NT/src/rotor.cpp | |
| parent | f3a687d33486a3d7a644a2110291124cb813cd67 (diff) | |
NT bugs cleaned and variable array type functional
Diffstat (limited to 'NT/src/rotor.cpp')
| -rw-r--r-- | NT/src/rotor.cpp | 15 |
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(){ |
