Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches

A Channel contains several data Sections representing observations of the same physical quantity. More...

#include <channel.h>

Public Member Functions

 Channel (void)
 Default constructor.
 Channel (const Section &c_Section)
 Constructor.
 Channel (const std::deque< Section > &SectionList)
 Constructor.
 Channel (std::size_t c_n_sections, std::size_t section_size=0)
 Constructor.
 ~Channel ()
 Destructor.
Sectionoperator[] (std::size_t at_)
 Unchecked access to a section (read and write)
const Sectionoperator[] (std::size_t at_) const
 Unchecked access to a section (read-only)
const std::string & GetChannelName () const
 Retrieves the channel name.
const std::string & GetYUnits () const
 Retrieves the y units string.
size_t size () const
 Retrieves the size of the section array.
const Sectionat (std::size_t at_) const
 Range-checked access to a section (read-only).
Sectionat (std::size_t at_)
 Range-checked access to a section (read and write).
const std::deque< Section > & get () const
 Low-level access to the section array (read-only).
std::deque< Section > & get ()
 Low-level access to the section array (read and write).
void SetChannelName (const std::string &value)
 Sets the channel name.
void SetYUnits (const std::string &value)
 Sets the y units string.
void InsertSection (const Section &c_Section, std::size_t pos)
 Inserts a section at the given position, overwriting anything that's currently stored at that position.
void resize (std::size_t newSize)
 Resize the section array.
void reserve (std::size_t resSize)
 Reserve memory for a number of sections.

Detailed Description

A Channel contains several data Sections representing observations of the same physical quantity.

Definition at line 34 of file channel.h.


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