HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CH_File Class Reference

#include <CH_File.h>

Public Types

enum  Error {
  INVALID_FRAME_RANGE = -1, FILE_NOT_LOADED = -2, FILE_NOT_SAVED = -3, NO_DATA_IN_FILE = -4,
  NO_CHANNELS = -5, NO_PARAMETERS = -6, ALLOCATION_FAILED = -7
}
 

Static Public Member Functions

static void getTimeRange (const fpreal *from, const fpreal *to, fpreal &tstart, fpreal &tend)
 
static int loadRawChannels (CH_ChannelRefList *chrefs, const char *filename, CH_CollectionList &parents, const fpreal *from=nullptr, const fpreal *to=nullptr, bool full_replace=false)
 
static int saveRawChannels (CH_ChannelList &list, const char *filename, bool binary, const fpreal *from=nullptr, const fpreal *to=nullptr)
 

Detailed Description

Definition at line 18 of file CH_File.h.

Member Enumeration Documentation

Enumerator
INVALID_FRAME_RANGE 
FILE_NOT_LOADED 
FILE_NOT_SAVED 
NO_DATA_IN_FILE 
NO_CHANNELS 
NO_PARAMETERS 
ALLOCATION_FAILED 

Definition at line 21 of file CH_File.h.

Member Function Documentation

static void CH_File::getTimeRange ( const fpreal from,
const fpreal to,
fpreal tstart,
fpreal tend 
)
static
static int CH_File::loadRawChannels ( CH_ChannelRefList chrefs,
const char *  filename,
CH_CollectionList parents,
const fpreal from = nullptr,
const fpreal to = nullptr,
bool  full_replace = false 
)
static
static int CH_File::saveRawChannels ( CH_ChannelList list,
const char *  filename,
bool  binary,
const fpreal from = nullptr,
const fpreal to = nullptr 
)
static

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