Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes | Protected Member Functions
jafar::jmath::vector_file< T > Class Template Reference

Class vector_file loads/saves data into/from a vector from/to a file. More...


Detailed Description

template<typename T>
class jafar::jmath::vector_file< T >

Class vector_file loads/saves data into/from a vector from/to a file.

Remarks:
vector is publicly accessed through data member
assumes data written in a single column or single row

Definition at line 56 of file ublas_data_file.hpp.

#include <ublas_data_file.hpp>

Inheritance diagram for jafar::jmath::vector_file< T >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  storage { VERTICAL, HORIZONTAL }

Public Member Functions

 vector_file (storage type=VERTICAL)
 default constructor
 vector_file (const boost::numeric::ublas::vector< T > &_data, storage type=VERTICAL)
 constructor which initializes data content to

Public Attributes

boost::numeric::ublas::vector< T > data
storage storage_type

Protected Member Functions

void loadCSVFile (jafar::kernel::CSVFile &csvFile)
 Implement this method calling repeatedly CSVFile::getItem() method.
void saveCSVFile (jafar::kernel::CSVFile &csvFile)
 Implement this method calling repeatedly CSVFile::setItem() method.

Constructor & Destructor Documentation

template<typename T >
jafar::jmath::vector_file< T >::vector_file ( const boost::numeric::ublas::vector< T > &  _data,
storage  type = VERTICAL 
) [inline]

constructor which initializes data content to

Parameters:
_data

Definition at line 65 of file ublas_data_file.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:40 for Jafar by doxygen 1.7.6.1
LAAS-CNRS