ocra-recipes
Doxygen documentation for the ocra-recipes repository
Namespaces | Functions
FileOperations.h File Reference

Some FileOperations function for debbuging purpose. More...

#include <ocra/util/MathTypes.h>
#include <string>
#include <fstream>
#include <iostream>
Include dependency graph for FileOperations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ocra
 Optimization-based Robot Controller namespace. a library of classes to write and solve optimization problems dedicated to the control of multi-body systems.
 
 ocra::utils
 

Functions

template<class Derived >
void ocra::utils::writeInFile (const MatrixBase< Derived > &m, const std::string &fileName, bool app=false)
 
template<class Derived >
std::ostream & ocra::utils::writeInFile (std::ostream &s, const MatrixBase< Derived > &m, int precision=-1, const std::string &coeffSeparator=" ", const std::string &rowSeparator="\n", const std::string &rowPrefix="", const std::string &rowSuffix="", const std::string &matPrefix="", const std::string &matSuffix="")
 
template<class Derived >
std::ostream & ocra::utils::writeInFile (std::ostream &s, const MatrixBase< Derived > &v, int precision=-1, const std::string &coeffSeparator=" ", const std::string &vectPrefix="", const std::string &vectSuffix="")
 
template<class Derived >
std::ostream & ocra::utils::writeInFileForScilab (std::ostream &s, const MatrixBase< Derived > &m, int precision=-1)
 

Detailed Description

Some FileOperations function for debbuging purpose.

Copyright (C) 2009 CEA/DRT/LIST/DTSI/SRCI

Author
Escande Adrien
Brisset Julien
Date
09.07.17

Definition in file FileOperations.h.