Public Member Functions | Friends
CasADi::PrintableObject Class Reference

Base class for objects that have a natural string representation. More...

#include <printable_object.hpp>

Inheritance diagram for CasADi::PrintableObject:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::string getDescription () const
 Return a string with a destription (for SWIG)
std::string getRepresentation () const
 Return a string with a representation (for SWIG)
virtual void print (std::ostream &stream=std::cout) const
 Print a destription of the object.
virtual void repr (std::ostream &stream=std::cout) const
 Print a representation of the object.

Friends

std::ostream & operator<< (std::ostream &stream, const PrintableObject &obj)
 Print a representation of the object to a stream.

Detailed Description

Base class for objects that have a natural string representation.

Author:
Joel Andersson
Date:
2010

Definition at line 38 of file printable_object.hpp.


Member Function Documentation

Return a string with a destription (for SWIG)

Definition at line 52 of file printable_object.cpp.

Return a string with a representation (for SWIG)

Definition at line 46 of file printable_object.cpp.

void CasADi::PrintableObject::print ( std::ostream &  stream = std::cout) const [virtual]

Print a destription of the object.

Reimplemented in CasADi::SharedObject.

Definition at line 41 of file printable_object.cpp.

void CasADi::PrintableObject::repr ( std::ostream &  stream = std::cout) const [virtual]

Print a representation of the object.

Reimplemented in CasADi::SharedObject.

Definition at line 36 of file printable_object.cpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const PrintableObject obj 
) [friend]

Print a representation of the object to a stream.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:40