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

Represents a continuously sampled sweep of data points. More...

#include <section.h>

Public Member Functions

 Section ()
 Default constructor.
 Section (const Vector_double &valA, const std::string &label="\0")
 Constructor.
 Section (std::size_t size, const std::string &label="\0")
 Yet another constructor.
 ~Section ()
 Destructor.
double & operator[] (std::size_t at)
 Unchecked access. Returns a non-const reference.
double operator[] (std::size_t at) const
 Unchecked access. Returns a copy.
double at (std::size_t at_) const
 Range-checked access. Returns a copy.
double & at (std::size_t at_)
 Range-checked access. Returns a non-const reference.
const Vector_doubleget () const
 Low-level access to the valarray (read-only).
Vector_doubleget_w ()
 Low-level access to the valarray (read and write).
void resize (std::size_t new_size)
 Resize the Section to a new number of data points; deletes all previously stored data when gcc is used.
size_t size () const
 Retrieve the number of data points.
void SetXScale (double value)
 Sets the x scaling.
double GetXScale () const
 Retrieves the x scaling.
const std::string & GetSectionDescription () const
 Retrieves a section description.
void SetSectionDescription (const std::string &value)
 Sets a section description.
std::size_t GetSectionSize ()
 Range-checked access. Returns a non-const reference.
void AddAnnotation (Annotation annotation)
void MoveAnnotation (size_t index, int new_position)
void RemoveAnnotation (size_t index)
void EraseAllAnnotations ()
std::vector< AnnotationGetAnnotationList ()
std::size_t GetFirstAnnotationPosition ()
std::size_t GetLastAnnotationPosition ()

Detailed Description

Represents a continuously sampled sweep of data points.

Definition at line 36 of file section.h.


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