#include "operation.h"
#include "variable.h"
#include "godleyTable.h"
#include "godleyIcon.h"
#include "ravelWrap.h"
#include "variableValue.h"
#include <xml_unpack_base.h>
Go to the source code of this file.
|
| template<class T > |
| ecolab::array< T > | toArray (const std::vector< T > &v) |
| |
| template<class T > |
| std::vector< T > | toVector (const ecolab::array< T > &a) |
| |
| template<class T > |
| std::vector< double > | toDoubleVector (const ecolab::array< T > &a) |
| |
| template<class PreviousSchema , class CurrentSchema > |
| void | minsky::loadSchema (CurrentSchema ¤tSchema, classdesc::xml_unpack_t &data, const std::string &rootElement) |
| |
| classdesc::pack_t | minsky::decode (const classdesc::CDATA &) |
| | decode ascii-encoded representation to binary data More...
|
| |
| classdesc::CDATA | minsky::encode (const classdesc::pack_t &) |
| | encode binary data to ascii-encoded More...
|
| |
◆ toArray()
template<class T >
| ecolab::array<T> toArray |
( |
const std::vector< T > & |
v | ) |
|
Definition at line 32 of file schemaHelper.h.
34 ecolab::array<T> a(v.size());
35 for (std::size_t i=0; i<v.size(); ++i) a[i]=v[i];
◆ toDoubleVector()
template<class T >
| std::vector<double> toDoubleVector |
( |
const ecolab::array< T > & |
a | ) |
|
Definition at line 48 of file schemaHelper.h.
50 std::vector<double> v(a.size());
51 for (std::size_t i=0; i<v.size(); ++i) v[i]=a[i];
◆ toVector()
template<class T >
| std::vector<T> toVector |
( |
const ecolab::array< T > & |
a | ) |
|
Definition at line 40 of file schemaHelper.h.
42 std::vector<T> v(a.size());
43 for (std::size_t i=0; i<v.size(); ++i) v[i]=a[i];