#include "printable_object.hpp"
#include "casadi_exception.hpp"
#include <map>
#include <vector>
Go to the source code of this file.
|
template<class B > |
bool | CasADi::is_a (const SharedObject &A) |
| Check if a shared object is of a certain type. More...
|
|
template<class B > |
B | CasADi::shared_cast (SharedObject &A) |
| Typecast a shared object to a base class to a shared object to a derived class, cf. dynamic_cast. More...
|
|
template<class B > |
const B | CasADi::shared_cast (const SharedObject &A) |
| Typecast a shared object to a base class to a shared object to a derived class, cf. dynamic_cast (const) More...
|
|
|
template<class A > |
A | CasADi::deepcopy (const A &a) |
| Make a deep copy of an object (Note: default is a shallow copy!) More...
|
|
template<class A > |
A | CasADi::deepcopy (const A &a, std::map< SharedObjectNode *, SharedObject > &already_copied) |
|
template<class A > |
std::vector< A > | CasADi::deepcopy (const std::vector< A > &a, std::map< SharedObjectNode *, SharedObject > &already_copied) |
|