Generic data type, can hold different types such as bool, casadi_int, std::string etc. More...
#include <generic_type.hpp>
Extra doc: https://github.com/casadi/casadi/wiki/L_17n
Definition at line 72 of file generic_type.hpp.
Public Types | |
typedef std::map< std::string, GenericType > | Dict |
C++ equivalent of Python's dict or MATLAB's struct. More... | |
Public Member Functions | |
void | serialize (SerializingStream &s) const |
Serialize an object. More... | |
Static Public Member Functions | |
static GenericType | deserialize (DeserializingStream &s) |
Deserialize with type disambiguation. More... | |
typedef std::map<std::string, GenericType> casadi::GenericType::Dict |
Definition at line 80 of file generic_type.hpp.
|
static |
Extra doc: https://github.com/casadi/casadi/wiki/L_17s
void casadi::GenericType::serialize | ( | SerializingStream & | s | ) | const |
Extra doc: https://github.com/casadi/casadi/wiki/L_17r