|
Stimfit @PACKAGE_VERSION@
|
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. | |
| Section & | operator[] (std::size_t at_) |
| Unchecked access to a section (read and write) | |
| const Section & | operator[] (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 Section & | at (std::size_t at_) const |
| Range-checked access to a section (read-only). | |
| Section & | at (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. | |