Mass++ Common Libraries v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations Macros
Public Member Functions | Protected Member Functions | List of all members
kome::objects::SampleReader Class Referenceabstract

#include <SampleReader.h>

Public Member Functions

 SampleReader ()
 constructor
 
virtual ~SampleReader ()
 destructor
 
std::string selectKeys (void)
 select keys More...
 
kome::objects::SampleopenData (std::string strKey)
 open data More...
 

Protected Member Functions

virtual std::string onSelectKeys (void)=0
 on select keys
 
virtual kome::objects::SampleonOpenData (std::string strKey)=0
 on open data More...
 

Detailed Description

@ brief Sample Reader class

Definition at line 22 of file SampleReader.h.

Member Function Documentation

kome::objects::Sample * kome::objects::SampleReader::onOpenData ( std::string  strKey)
protectedpure virtual

on open data

Parameters
strKey
Returns
sample object
kome::objects::Sample * kome::objects::SampleReader::openData ( std::string  strKey)

open data

Parameters
strKey
Returns
sample object

Definition at line 51 of file SampleReader.cpp.

51  {
52  return onOpenData( strKey );
53 };
virtual kome::objects::Sample * onOpenData(std::string strKey)=0
on open data

Here is the call graph for this function:

std::string kome::objects::SampleReader::selectKeys ( void  )

select keys

Returns
key

Definition at line 29 of file SampleReader.cpp.

29  {
30 
31  std::string strTemp;
32 
33  try {
34  strTemp = onSelectKeys();
35  } catch (const std::runtime_error& ex) {
36  strTemp = ex.what();
37 
38  //cerr << ex.what() << endl;
39  }
40  catch (...) {
41  strTemp = "";
42  }
43 
44 
45  return strTemp;
46 
47 };
virtual std::string onSelectKeys(void)=0
on select keys

Here is the call graph for this function:


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