OpenWalnut  1.4.0
Public Member Functions | Private Attributes
WEEGPositionsLibrary Class Reference

Class which contains the positions of EEG electrodes by label. More...

#include <WEEGPositionsLibrary.h>

List of all members.

Public Member Functions

 WEEGPositionsLibrary (const std::map< std::string, WPosition > &positions)
 Constructor.
WPosition getPosition (std::string label) const throw ( WOutOfBounds )
 Get the position of an electrode with the given label.

Private Attributes

std::map< std::string, WPositionm_positions
 mapping from labels to positions

Detailed Description

Class which contains the positions of EEG electrodes by label.

Definition at line 40 of file WEEGPositionsLibrary.h.


Constructor & Destructor Documentation

WEEGPositionsLibrary::WEEGPositionsLibrary ( const std::map< std::string, WPosition > &  positions) [explicit]

Constructor.

Parameters:
positionsmapping from labels to positions

Definition at line 34 of file WEEGPositionsLibrary.cpp.

References m_positions, and string_utils::toUpper().


Member Function Documentation

WPosition WEEGPositionsLibrary::getPosition ( std::string  label) const throw ( WOutOfBounds )

Get the position of an electrode with the given label.

Parameters:
labellabel of the electrode
Returns:
position of the electrode

Definition at line 43 of file WEEGPositionsLibrary.cpp.

References string_utils::toUpper().


Member Data Documentation

std::map< std::string, WPosition > WEEGPositionsLibrary::m_positions [private]

mapping from labels to positions

Definition at line 60 of file WEEGPositionsLibrary.h.

Referenced by WEEGPositionsLibrary().


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