List of all members | Public Types | Public Member Functions | Static Public Member Functions
casadi::GenericType Class Reference

Generic data type, can hold different types such as bool, casadi_int, std::string etc. More...

#include <generic_type.hpp>

Detailed Description

Author
Joel Andersson
Date
2010

Extra doc: https://github.com/casadi/casadi/wiki/L_17n

Definition at line 72 of file generic_type.hpp.

Inheritance diagram for casadi::GenericType:
Inheritance graph
[legend]

Public Types

typedef std::map< std::string, GenericTypeDict
 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...
 

Member Typedef Documentation

◆ Dict

typedef std::map<std::string, GenericType> casadi::GenericType::Dict

Definition at line 80 of file generic_type.hpp.

Member Function Documentation

◆ deserialize()

static GenericType casadi::GenericType::deserialize ( DeserializingStream s)
static

◆ serialize()

void casadi::GenericType::serialize ( SerializingStream s) const

The documentation for this class was generated from the following file: