Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches
stfio.h File Reference

header file for libstfio More...

#include <iostream>
#include "./core.h"
#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.

Typedefs

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::deque< Channel >::iterator ch_it
typedef std::deque< Channel >::const_iterator c_ch_it
typedef std::deque< Section >::iterator sec_it
typedef std::deque< 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::tdms , stfio::intan ,
  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 std::string stfio::findExtension (stfio::filetype ftype)
 Returns file extension for a file type.
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

◆ c_ch_it

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

constant Channel iterator

Definition at line 207 of file stfio.h.

◆ c_int_it

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

constant int iterator

Definition at line 205 of file stfio.h.

◆ c_sec_it

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

constant Section iterator

Definition at line 209 of file stfio.h.

◆ c_sst_it

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

constant std::string iterator

Definition at line 202 of file stfio.h.

◆ c_st_it

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

constant size_t iterator

Definition at line 203 of file stfio.h.

◆ ch_it

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

Channel iterator

Definition at line 206 of file stfio.h.

◆ int_it

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

int iterator

Definition at line 204 of file stfio.h.

◆ sec_it

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

Section iterator

Definition at line 208 of file stfio.h.

◆ sst_it

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

std::string iterator

Definition at line 201 of file stfio.h.