OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WReaderELC Class Reference

Read electrode positions from an ELC file. More...

#include <WReaderELC.h>

+ Inheritance diagram for WReaderELC:
+ Collaboration diagram for WReaderELC:

Public Member Functions

 WReaderELC (std::string fname)
 Constructs a reader object. More...
 
std::shared_ptr< WEEGPositionsLibraryread ()
 Read the file and create a dataset out of it. More...
 
- Public Member Functions inherited from WReader
 WReader (std::string fname)
 Creates a read object for file reading. More...
 
OW_API_DEPRECATED void setFileName (std::string fname)
 Reset the file name and checks if it exists. More...
 
void setFilename (std::string fname)
 Reset the file name and checks if it exists. More...
 

Additional Inherited Members

- Protected Attributes inherited from WReader
std::string m_fname
 Absolute path of the file to read from. More...
 

Detailed Description

Read electrode positions from an ELC file.

Definition at line 39 of file WReaderELC.h.

Constructor & Destructor Documentation

◆ WReaderELC()

WReaderELC::WReaderELC ( std::string  fname)
explicit

Constructs a reader object.

Parameters
fnamepath to file which should be loaded

Definition at line 42 of file WReaderELC.cpp.

Member Function Documentation

◆ read()

std::shared_ptr< WEEGPositionsLibrary > WReaderELC::read ( )

Read the file and create a dataset out of it.

Returns
reference to the dataset

Definition at line 47 of file WReaderELC.cpp.

References wlog::debug(), WReader::m_fname, and string_utils::tokenize().

+ Here is the call graph for this function:

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