![]() |
helics
2.8.1
|
#include "../core/Core.hpp"#include "data_view.hpp"#include "helicsTypes.hpp"#include <string>#include <utility>#include <vector>#include "ValueConverter_impl.hpp"Go to the source code of this file.
Classes | |
| class | helics::ValueConverter< X > |
| class | helics::ValueConverter< std::string > |
| class | helics::ValueConverter3< X > |
Namespaces | |
| helics | |
| the main namespace for the helics co-simulation library User functions will be in the helics namespace with internal functions possible in a lower level namespace | |
Functions | |
| data_type | helics::detail::detectType3 (const unsigned char *data) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, double &val) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, std::int64_t &val) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, std::complex< double > &val) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, char *val) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, std::string &val) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, NamedPoint &val) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, std::vector< double > &val) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, double *val) |
| void | helics::detail::convertFromBinary3 (const unsigned char *data, std::vector< std::complex< double >> &val) |
| size_t | helics::detail::getDataSize3 (const unsigned char *data) |
the purpose of these objects are to convert a specific type into a data block for use in the core algorithms
| HELICS_CXX_EXPORT data_type helics::detail::detectType3 | ( | const unsigned char * | data | ) |
detect the contained data type, assumes data is at least 1 byte long
| HELICS_CXX_EXPORT size_t helics::detail::getDataSize3 | ( | const unsigned char * | data | ) |
get the size of the data from the data stream for a specific type
this returns the number of elements of the specific data type it is NOT in bytes
1.8.17