Provides method to parse DMAP file.
More...
#include <DMapFileParser.h>
Provides method to parse DMAP file.
Class does not perform parsing of associated MAP files.
Definition at line 19 of file DMapFileParser.h.
◆ absPathOfDMapContent()
std::string ChimeraTK::DMapFileParser::absPathOfDMapContent |
( |
const std::string & |
dmapContent, |
|
|
const std::string & |
dmapFileName |
|
) |
| |
|
staticprotected |
◆ parse()
Performs parsing of specified DMAP file.
Returns pointer to dRegisterInfo object describing all devices in file.
- Exceptions
-
exDmapFileParser | [exLibMap::EX_DMAP_FILE_PARSE_ERROR] if parsing error detected, exMapFileParser [exLibMap::EX_CANNOT_OPEN_DMAP_FILE] if specified DMAP file cannot be opened or exMapFileParser [exLibMap::EX_NO_DATA_IN_DMAP_FILES] if specified DMAP file is empty |
- Parameters
-
file_name | name of DMAP file |
- Returns
- pointer to dmapFile object
Definition at line 18 of file DMapFileParser.cpp.
◆ parseForLoadLib()
void ChimeraTK::DMapFileParser::parseForLoadLib |
( |
const std::string & |
file_name, |
|
|
const std::string & |
line, |
|
|
uint32_t |
line_nr, |
|
|
const DeviceInfoMapPointer & |
dmap |
|
) |
| |
|
staticprotected |
◆ parseRegularLine()
void ChimeraTK::DMapFileParser::parseRegularLine |
( |
const std::string & |
file_name, |
|
|
const std::string & |
line, |
|
|
uint32_t |
line_nr, |
|
|
const DeviceInfoMapPointer & |
dmap |
|
) |
| |
|
staticprotected |
◆ raiseException()
void ChimeraTK::DMapFileParser::raiseException |
( |
const std::string & |
file_name, |
|
|
const std::string & |
line, |
|
|
uint32_t |
line_nr |
|
) |
| |
|
staticprotected |
The documentation for this class was generated from the following files: