Stimfit  0.13.15
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Classes | Namespaces | Defines | Typedefs | Enumerations | Functions
stfio.h File Reference

header file for libstfio More...

#include <iostream>
#include <boost/function.hpp>
#include <vector>
#include <deque>
#include <map>
#include <string>
#include <cmath>
#include "./recording.h"
#include "./channel.h"
#include "./section.h"
Include dependency graph for stfio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  stfio::ProgressInfo
 ProgressInfo class. More...
class  stfio::StdoutProgressInfo
 StdoutProgressInfo class. More...
struct  stfio::txtImportSettings
 Text file import filter settings. More...

Namespaces

namespace  stfio
 

The stfio namespace.


Defines

#define StfioDll   __declspec( dllimport )
 Defines dll export or import functions for Windows.

Typedefs

typedef std::vector< double > Vector_double
typedef std::vector< float > Vector_float
typedef std::vector
< std::string >::iterator 
sst_it
typedef std::vector
< std::string >
::const_iterator 
c_sst_it
typedef std::vector
< std::size_t >
::const_iterator 
c_st_it
typedef std::vector< int >
::iterator 
int_it
typedef std::vector< int >
::const_iterator 
c_int_it
typedef std::vector< Channel >
::iterator 
ch_it
typedef std::vector< Channel >
::const_iterator 
c_ch_it
typedef std::vector< Section >
::iterator 
sec_it
typedef std::vector< Section >
::const_iterator 
c_sec_it

Enumerations

enum  stfio::filetype {
  stfio::atf, stfio::abf, stfio::axg, stfio::ascii,
  stfio::cfs, stfio::igor, stfio::son, stfio::hdf5,
  stfio::heka, stfio::biosig, stfio::none
}
 File types. More...

Functions

StfioDll Vector_double stfio::vec_scal_plus (const Vector_double &vec, double scalar)
StfioDll Vector_double stfio::vec_scal_minus (const Vector_double &vec, double scalar)
StfioDll Vector_double stfio::vec_scal_mul (const Vector_double &vec, double scalar)
StfioDll Vector_double stfio::vec_scal_div (const Vector_double &vec, double scalar)
StfioDll Vector_double stfio::vec_vec_plus (const Vector_double &vec1, const Vector_double &vec2)
StfioDll Vector_double stfio::vec_vec_minus (const Vector_double &vec1, const Vector_double &vec2)
StfioDll Vector_double stfio::vec_vec_mul (const Vector_double &vec1, const Vector_double &vec2)
StfioDll Vector_double stfio::vec_vec_div (const Vector_double &vec1, const Vector_double &vec2)
StfioDll stfio::filetype stfio::findType (const std::string &ext)
 Attempts to determine the filetype from the filter extension.
StfioDll bool stfio::importFile (const std::string &fName, stfio::filetype type, Recording &ReturnData, const stfio::txtImportSettings &txtImport, stfio::ProgressInfo &progDlg)
 Generic file import.
StfioDll bool stfio::exportFile (const std::string &fName, stfio::filetype type, const Recording &Data, ProgressInfo &progDlg)
 Generic file export.
StfioDll Recording stfio::concatenate (const Recording &src, const std::vector< std::size_t > &sections, ProgressInfo &progDlg)
 Produce new recording with concatenated sections.
StfioDll Recording stfio::multiply (const Recording &src, const std::vector< std::size_t > &sections, std::size_t channel, double factor)
 Produce new recording with multiplied sections.

Detailed Description

header file for libstfio

Author:
Christoph Schmidt-Hieber
Date:
2011-09-25 Header file for libstfio

Definition in file stfio.h.


Typedef Documentation

typedef std::vector< Channel >::const_iterator c_ch_it

constant Channel iterator

Definition at line 231 of file stfio.h.

typedef std::vector< int >::const_iterator c_int_it

constant int iterator

Definition at line 229 of file stfio.h.

typedef std::vector< Section >::const_iterator c_sec_it

constant Section iterator

Definition at line 233 of file stfio.h.

typedef std::vector< std::string >::const_iterator c_sst_it

constant std::string iterator

Definition at line 226 of file stfio.h.

typedef std::vector< std::size_t >::const_iterator c_st_it

constant size_t iterator

Definition at line 227 of file stfio.h.

typedef std::vector< Channel >::iterator ch_it

Channel iterator

Definition at line 230 of file stfio.h.

typedef std::vector< int >::iterator int_it

int iterator

Definition at line 228 of file stfio.h.

typedef std::vector< Section >::iterator sec_it

Section iterator

Definition at line 232 of file stfio.h.

typedef std::vector< std::string >::iterator sst_it

std::string iterator

Definition at line 225 of file stfio.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines