Logo Search packages:      
Sourcecode: libgdf version File versions  Download package

Private Member Functions | Private Attributes | Friends

gdf::SignalHeader Class Reference

Contains all information required to construct the GDF signal header. More...

#include <SignalHeader.h>

List of all members.

Private Member Functions

void copyFrom (const SignalHeader &other)
 copy another Signal Header
uint32 get_samplerate () const
template<typename T >
getNumeric (std::string item)
 get value of a numeric item
std::string getString (std::string item)
 get value of a string item
double phys_to_raw (const double phy) const
 Converts from physical units to raw digital representation.
double raw_to_phys (const double raw) const
 Converts from raw digital representation to physical units.
void set_samplerate (uint32 fs)
template<typename T >
void setArray (std::string item, size_t array_index, T value)
 Assign a numeric array item.
void setDefaultValues ()
 set header items to default values
template<typename T >
void setNumeric (std::string item, T value)
 Assign a numeric item.
void setString (std::string item, std::string value)
 Assign a string valued item.

Private Attributes

uint32 samplerate

Friends

class GDFHeaderAccess
std::ostream & operator<< (std::ostream &out, const GDFHeaderAccess &hdr)
 Header Serializer.
std::istream & operator>> (std::istream &in, GDFHeaderAccess &hdr)
 Header Deserializer.

Detailed Description

Contains all information required to construct the GDF signal header.

Definition at line 30 of file SignalHeader.h.


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

Generated by  Doxygen 1.6.0   Back to index