List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
casadi::FileDeserializer Class Reference

#include <serializer.hpp>

Detailed Description

Definition at line 243 of file serializer.hpp.

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

Public Member Functions

 FileDeserializer (const std::string &fname)
 Advanced deserialization of CasADi objects. More...
 
 ~FileDeserializer ()
 
SerializerBase::SerializationType pop_type ()
 
Sparsity blind_unpack_sparsity ()
 
MX blind_unpack_mx ()
 
Matrix< double > blind_unpack_dm ()
 
Matrix< SXElemblind_unpack_sx ()
 
Linsol blind_unpack_linsol ()
 
Function blind_unpack_function ()
 
GenericType blind_unpack_generictype ()
 
casadi_int blind_unpack_int ()
 
double blind_unpack_double ()
 
std::string blind_unpack_string ()
 
std::vector< Sparsityblind_unpack_sparsity_vector ()
 
std::vector< MXblind_unpack_mx_vector ()
 
std::vector< Matrix< double > > blind_unpack_dm_vector ()
 
std::vector< Matrix< SXElem > > blind_unpack_sx_vector ()
 
std::vector< Linsolblind_unpack_linsol_vector ()
 
std::vector< Functionblind_unpack_function_vector ()
 
std::vector< GenericTypeblind_unpack_generictype_vector ()
 
std::vector< casadi_int > blind_unpack_int_vector ()
 
std::vector< double > blind_unpack_double_vector ()
 
std::vector< std::string > blind_unpack_string_vector ()
 
Sparsity unpack_sparsity ()
 
MX unpack_mx ()
 
Matrix< double > unpack_dm ()
 
Matrix< SXElemunpack_sx ()
 
Linsol unpack_linsol ()
 
Function unpack_function ()
 
GenericType unpack_generictype ()
 
casadi_int unpack_int ()
 
double unpack_double ()
 
std::string unpack_string ()
 
std::vector< Sparsityunpack_sparsity_vector ()
 
std::vector< MXunpack_mx_vector ()
 
std::vector< Matrix< double > > unpack_dm_vector ()
 
std::vector< Matrix< SXElem > > unpack_sx_vector ()
 
std::vector< Linsolunpack_linsol_vector ()
 
std::vector< Functionunpack_function_vector ()
 
std::vector< GenericTypeunpack_generictype_vector ()
 
std::vector< casadi_int > unpack_int_vector ()
 
std::vector< double > unpack_double_vector ()
 
std::vector< std::string > unpack_string_vector ()
 
void connect (SerializerBase &s)
 
void reset ()
 

Protected Member Functions

DeserializingStreamdeserializer ()
 

Protected Attributes

std::unique_ptr< std::istream > dstream_
 
std::unique_ptr< DeserializingStreamdeserializer_
 

Constructor & Destructor Documentation

◆ FileDeserializer()

casadi::FileDeserializer::FileDeserializer ( const std::string &  fname)

◆ ~FileDeserializer()

casadi::FileDeserializer::~FileDeserializer ( )

Member Function Documentation

◆ blind_unpack_dm()

Matrix<double> casadi::DeserializerBase::blind_unpack_dm ( )
inherited

◆ blind_unpack_dm_vector()

std::vector< Matrix<double> > casadi::DeserializerBase::blind_unpack_dm_vector ( )
inherited

◆ blind_unpack_double()

double casadi::DeserializerBase::blind_unpack_double ( )
inherited

◆ blind_unpack_double_vector()

std::vector<double> casadi::DeserializerBase::blind_unpack_double_vector ( )
inherited

◆ blind_unpack_function()

Function casadi::DeserializerBase::blind_unpack_function ( )
inherited

◆ blind_unpack_function_vector()

std::vector<Function> casadi::DeserializerBase::blind_unpack_function_vector ( )
inherited

◆ blind_unpack_generictype()

GenericType casadi::DeserializerBase::blind_unpack_generictype ( )
inherited

◆ blind_unpack_generictype_vector()

std::vector<GenericType> casadi::DeserializerBase::blind_unpack_generictype_vector ( )
inherited

◆ blind_unpack_int()

casadi_int casadi::DeserializerBase::blind_unpack_int ( )
inherited

◆ blind_unpack_int_vector()

std::vector<casadi_int> casadi::DeserializerBase::blind_unpack_int_vector ( )
inherited

◆ blind_unpack_linsol()

Linsol casadi::DeserializerBase::blind_unpack_linsol ( )
inherited

◆ blind_unpack_linsol_vector()

std::vector<Linsol> casadi::DeserializerBase::blind_unpack_linsol_vector ( )
inherited

◆ blind_unpack_mx()

MX casadi::DeserializerBase::blind_unpack_mx ( )
inherited

◆ blind_unpack_mx_vector()

std::vector<MX> casadi::DeserializerBase::blind_unpack_mx_vector ( )
inherited

◆ blind_unpack_sparsity()

Sparsity casadi::DeserializerBase::blind_unpack_sparsity ( )
inherited

◆ blind_unpack_sparsity_vector()

std::vector<Sparsity> casadi::DeserializerBase::blind_unpack_sparsity_vector ( )
inherited

◆ blind_unpack_string()

std::string casadi::DeserializerBase::blind_unpack_string ( )
inherited

◆ blind_unpack_string_vector()

std::vector<std::string> casadi::DeserializerBase::blind_unpack_string_vector ( )
inherited

◆ blind_unpack_sx()

Matrix<SXElem> casadi::DeserializerBase::blind_unpack_sx ( )
inherited

◆ blind_unpack_sx_vector()

std::vector< Matrix<SXElem> > casadi::DeserializerBase::blind_unpack_sx_vector ( )
inherited

◆ connect()

void casadi::DeserializerBase::connect ( SerializerBase s)
inherited

◆ deserializer()

DeserializingStream& casadi::DeserializerBase::deserializer ( )
protectedinherited

◆ pop_type()

SerializerBase::SerializationType casadi::DeserializerBase::pop_type ( )
inherited

◆ reset()

void casadi::DeserializerBase::reset ( )
inherited

◆ unpack_dm()

Matrix<double> casadi::DeserializerBase::unpack_dm ( )
inherited

◆ unpack_dm_vector()

std::vector< Matrix<double> > casadi::DeserializerBase::unpack_dm_vector ( )
inherited

◆ unpack_double()

double casadi::DeserializerBase::unpack_double ( )
inherited

◆ unpack_double_vector()

std::vector<double> casadi::DeserializerBase::unpack_double_vector ( )
inherited

◆ unpack_function()

Function casadi::DeserializerBase::unpack_function ( )
inherited

◆ unpack_function_vector()

std::vector<Function> casadi::DeserializerBase::unpack_function_vector ( )
inherited

◆ unpack_generictype()

GenericType casadi::DeserializerBase::unpack_generictype ( )
inherited

◆ unpack_generictype_vector()

std::vector<GenericType> casadi::DeserializerBase::unpack_generictype_vector ( )
inherited

◆ unpack_int()

casadi_int casadi::DeserializerBase::unpack_int ( )
inherited

◆ unpack_int_vector()

std::vector<casadi_int> casadi::DeserializerBase::unpack_int_vector ( )
inherited

◆ unpack_linsol()

Linsol casadi::DeserializerBase::unpack_linsol ( )
inherited

◆ unpack_linsol_vector()

std::vector<Linsol> casadi::DeserializerBase::unpack_linsol_vector ( )
inherited

◆ unpack_mx()

MX casadi::DeserializerBase::unpack_mx ( )
inherited

◆ unpack_mx_vector()

std::vector<MX> casadi::DeserializerBase::unpack_mx_vector ( )
inherited

◆ unpack_sparsity()

Sparsity casadi::DeserializerBase::unpack_sparsity ( )
inherited

◆ unpack_sparsity_vector()

std::vector<Sparsity> casadi::DeserializerBase::unpack_sparsity_vector ( )
inherited

◆ unpack_string()

std::string casadi::DeserializerBase::unpack_string ( )
inherited

◆ unpack_string_vector()

std::vector<std::string> casadi::DeserializerBase::unpack_string_vector ( )
inherited

◆ unpack_sx()

Matrix<SXElem> casadi::DeserializerBase::unpack_sx ( )
inherited

◆ unpack_sx_vector()

std::vector< Matrix<SXElem> > casadi::DeserializerBase::unpack_sx_vector ( )
inherited

Member Data Documentation

◆ deserializer_

std::unique_ptr<DeserializingStream> casadi::DeserializerBase::deserializer_
protectedinherited

Definition at line 170 of file serializer.hpp.

◆ dstream_

std::unique_ptr<std::istream> casadi::DeserializerBase::dstream_
protectedinherited

Definition at line 169 of file serializer.hpp.


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