CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ODSRPConfig Class Reference

#include <ODSRPConfig.h>

Inheritance diagram for ODSRPConfig:
IODConfig IDBObject

Public Member Functions

int getAutomaticMasks () const
 
int getAutomaticSrpSelect () const
 
std::string getConfigFile () const
 
int getDebugMode () const
 
int getDummyMode () const
 
int getId () const
 
std::string getPatternDirectory () const
 
int getSRP0BunchAdjustPosition () const
 
unsigned char * getSRPClob () const
 
unsigned int getSRPClobSize () const
 
std::string getTable ()
 
 ODSRPConfig ()
 
void setAutomaticMasks (int x)
 
void setAutomaticSrpSelect (int x)
 
void setConfigFile (std::string x)
 
void setDebugMode (int x)
 
void setDummyMode (int x)
 
void setId (int id)
 
void setParameters (std::map< std::string, std::string > my_keys_map)
 
void setPatternDirectory (std::string x)
 
void setSRP0BunchAdjustPosition (int x)
 
void setSRPClob (unsigned char *x)
 
 ~ODSRPConfig ()
 
- Public Member Functions inherited from IODConfig
std::string getConfigTag ()
 
void setConfigTag (std::string x)
 
- Public Member Functions inherited from IDBObject
oracle::occi::Connection * getConn () const
 
oracle::occi::Environment * getEnv () const
 
void setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn)
 
virtual ~IDBObject ()
 

Private Member Functions

void clear ()
 
void fetchData (ODSRPConfig *result) throw (std::runtime_error)
 
int fetchID () throw (std::runtime_error)
 
int fetchNextId () throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeDB () throw (std::runtime_error)
 

Private Attributes

int m_auto
 
int m_auto_srp
 
int m_bnch
 
int m_debug
 
int m_dummy
 
std::string m_file
 
int m_ID
 
std::string m_patdir
 
unsigned int m_size
 
unsigned char * m_srp_clob
 

Friends

class EcalCondDBInterface
 

Additional Inherited Members

- Public Types inherited from IODConfig
typedef oracle::occi::Clob Clob
 
typedef oracle::occi::SQLException SQLException
 
typedef oracle::occi::Statement Statement
 
typedef oracle::occi::Stream Stream
 
- Public Attributes inherited from IODConfig
std::string m_config_tag
 
- Static Public Attributes inherited from IDBObject
static int const ECALDB_NROWS =1024
 
- Protected Member Functions inherited from IODConfig
void checkPrepare () throw (std::runtime_error)
 
void createReadStatement () throw (std::runtime_error)
 
void populateClob (Clob &clob, std::string fname, unsigned int bufsize) throw (std::runtime_error)
 
unsigned char * readClob (Clob &clob, int size) throw (std::runtime_error)
 
void setPrefetchRowCount (int ncount) throw (std::runtime_error)
 
void terminateReadStatement () throw (std::runtime_error)
 
void terminateWriteStatement () throw (std::runtime_error)
 
- Protected Member Functions inherited from IDBObject
void checkConnection () const throw (std::runtime_error)
 
- Protected Attributes inherited from IODConfig
Statementm_readStmt
 
Statementm_writeStmt
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 17 of file ODSRPConfig.h.

Constructor & Destructor Documentation

ODSRPConfig::ODSRPConfig ( )

Definition at line 13 of file ODSRPConfig.cc.

References hitfit::clear(), and NULL.

14 {
15  m_env = NULL;
16  m_conn = NULL;
17  m_writeStmt = NULL;
18  m_readStmt = NULL;
19  m_config_tag="";
20 
21  m_ID=0;
22  clear();
23  m_size=0;
24 }
oracle::occi::Environment * m_env
Definition: IDBObject.h:38
oracle::occi::Connection * m_conn
Definition: IDBObject.h:39
Statement * m_writeStmt
Definition: IODConfig.h:36
#define NULL
Definition: scimark2.h:8
unsigned int m_size
Definition: ODSRPConfig.h:75
std::string m_config_tag
Definition: IODConfig.h:27
void clear()
Definition: ODSRPConfig.cc:26
Statement * m_readStmt
Definition: IODConfig.h:37
ODSRPConfig::~ODSRPConfig ( )

Definition at line 37 of file ODSRPConfig.cc.

38 {
39 }

Member Function Documentation

void ODSRPConfig::clear ( void  )
private

Definition at line 26 of file ODSRPConfig.cc.

26  {
27  // strcpy((char *)m_srp_clob, "");
28  m_debug=0;
29  m_dummy=0;
30  m_file="";
31  m_patdir="";
32  m_auto=0;
33  m_bnch=0;
34 
35 }
std::string m_file
Definition: ODSRPConfig.h:71
std::string m_patdir
Definition: ODSRPConfig.h:72
void ODSRPConfig::fetchData ( ODSRPConfig result)
throw (std::runtime_error
)
private

Definition at line 203 of file ODSRPConfig.cc.

References alignCSCRings::e, and query::result.

205 {
206  this->checkConnection();
207  // result->clear();
208  if(result->getId()==0 && (result->getConfigTag()=="") ){
209  // throw(std::runtime_error("ODSRPConfig::fetchData(): no Id defined for this ODSRPConfig "));
210  result->fetchID();
211  }
212 
213  try {
214 
215  m_readStmt->setSQL("SELECT * "
216  " FROM ECAL_SRP_CONFIGURATION "
217  " where (srp_configuration_id = :1 or srp_tag=:2 )" );
218  m_readStmt->setInt(1, result->getId());
219  m_readStmt->setString(2, result->getConfigTag());
220  ResultSet* rset = m_readStmt->executeQuery();
221 
222  rset->next();
223  // 1 is the id and 2 is the config tag
224 
225  result->setId(rset->getInt(1));
226  result->setConfigTag(rset->getString(2));
227 
228  result->setDebugMode(rset->getInt(3));
229  result->setDummyMode(rset->getInt(4));
230  result->setPatternDirectory(rset->getString(5));
231  result->setAutomaticMasks(rset->getInt(6));
232  result->setSRP0BunchAdjustPosition(rset->getInt(7));
233  result->setConfigFile(rset->getString(8));
234 
235  Clob clob = rset->getClob(9);
236  m_size = clob.length();
237  Stream *instream = clob.getStream (1,0);
238  unsigned char *buffer = new unsigned char[m_size];
239  memset (buffer, 0, m_size);
240  instream->readBuffer ((char*)buffer, m_size);
241  /*
242  cout << "Opening the clob in Read only mode" << endl;
243  clob.open (OCCI_LOB_READONLY);
244  int clobLength=clob.length ();
245  cout << "Length of the clob is: " << clobLength << endl;
246  unsigned char* buffer = readClob (clob, clobLength);
247  clob.close ();
248  cout<< "the clob buffer is:"<<endl;
249  for (int i = 0; i < clobLength; ++i)
250  cout << (char) buffer[i];
251  cout << endl;
252 
253 
254  */
255  result->setSRPClob(buffer );
256  result->setAutomaticSrpSelect(rset->getInt(10));
257 
258  } catch (SQLException &e) {
259  throw(std::runtime_error("ODSRPConfig::fetchData(): "+e.getMessage()));
260  }
261 }
void setPatternDirectory(std::string x)
Definition: ODSRPConfig.h:35
int getId() const
Definition: ODSRPConfig.h:27
void setSRPClob(unsigned char *x)
Definition: ODSRPConfig.h:50
oracle::occi::Stream Stream
Definition: IODConfig.h:24
void setConfigFile(std::string x)
Definition: ODSRPConfig.h:47
unsigned int m_size
Definition: ODSRPConfig.h:75
oracle::occi::SQLException SQLException
Definition: HcalDbOmds.cc:22
oracle::occi::Clob Clob
Definition: IODConfig.h:25
void setDebugMode(int x)
Definition: ODSRPConfig.h:29
oracle::occi::ResultSet ResultSet
Definition: HcalDbOmds.cc:21
void setConfigTag(std::string x)
Definition: IODConfig.h:31
void setSRP0BunchAdjustPosition(int x)
Definition: ODSRPConfig.h:44
Statement * m_readStmt
Definition: IODConfig.h:37
std::string getConfigTag()
Definition: IODConfig.h:32
void setDummyMode(int x)
Definition: ODSRPConfig.h:32
void setId(int id)
Definition: ODSRPConfig.h:26
void setAutomaticMasks(int x)
Definition: ODSRPConfig.h:38
void checkConnection() const
Definition: IDBObject.h:41
void setAutomaticSrpSelect(int x)
Definition: ODSRPConfig.h:41
int ODSRPConfig::fetchID ( )
throw (std::runtime_error
)
private

Definition at line 265 of file ODSRPConfig.cc.

References alignCSCRings::e.

266 {
267  // Return from memory if available
268  if (m_ID!=0) {
269  return m_ID;
270  }
271 
272  this->checkConnection();
273 
274  try {
275  Statement* stmt = m_conn->createStatement();
276  stmt->setSQL("SELECT srp_configuration_id FROM ecal_srp_configuration "
277  "WHERE srp_tag=:srp_tag "
278  );
279 
280  stmt->setString(1, getConfigTag() );
281 
282  ResultSet* rset = stmt->executeQuery();
283 
284  if (rset->next()) {
285  m_ID = rset->getInt(1);
286  } else {
287  m_ID = 0;
288  }
289  m_conn->terminateStatement(stmt);
290  } catch (SQLException &e) {
291  throw(std::runtime_error("ODSRPConfig::fetchID: "+e.getMessage()));
292  }
293 
294  return m_ID;
295 }
oracle::occi::Connection * m_conn
Definition: IDBObject.h:39
oracle::occi::SQLException SQLException
Definition: HcalDbOmds.cc:22
oracle::occi::Statement Statement
Definition: IODConfig.h:23
oracle::occi::ResultSet ResultSet
Definition: HcalDbOmds.cc:21
std::string getConfigTag()
Definition: IODConfig.h:32
void checkConnection() const
Definition: IDBObject.h:41
int ODSRPConfig::fetchNextId ( )
throw (std::runtime_error
)
private

Definition at line 41 of file ODSRPConfig.cc.

References alignCSCRings::e, and query::result.

41  {
42 
43  int result=0;
44  try {
45  this->checkConnection();
46 
47  m_readStmt = m_conn->createStatement();
48  m_readStmt->setSQL("select ecal_srp_config_sq.NextVal from dual");
49  ResultSet* rset = m_readStmt->executeQuery();
50  while (rset->next ()){
51  result= rset->getInt(1);
52  }
53  m_conn->terminateStatement(m_readStmt);
54  return result;
55 
56  } catch (SQLException &e) {
57  throw(std::runtime_error("ODSRPConfig::fetchNextId(): "+e.getMessage()));
58  }
59 
60 }
oracle::occi::Connection * m_conn
Definition: IDBObject.h:39
oracle::occi::SQLException SQLException
Definition: HcalDbOmds.cc:22
tuple result
Definition: query.py:137
oracle::occi::ResultSet ResultSet
Definition: HcalDbOmds.cc:21
Statement * m_readStmt
Definition: IODConfig.h:37
void checkConnection() const
Definition: IDBObject.h:41
int ODSRPConfig::getAutomaticMasks ( ) const
inline

Definition at line 39 of file ODSRPConfig.h.

References m_auto.

Referenced by popcon::EcalSRPHandler::getNewObjects().

39 { return m_auto; }
int ODSRPConfig::getAutomaticSrpSelect ( ) const
inline

Definition at line 42 of file ODSRPConfig.h.

References m_auto_srp.

Referenced by popcon::EcalSRPHandler::getNewObjects().

42 { return m_auto_srp; }
int m_auto_srp
Definition: ODSRPConfig.h:73
std::string ODSRPConfig::getConfigFile ( ) const
inline

Definition at line 48 of file ODSRPConfig.h.

References m_file.

48 { return m_file; }
std::string m_file
Definition: ODSRPConfig.h:71
int ODSRPConfig::getDebugMode ( ) const
inline

Definition at line 30 of file ODSRPConfig.h.

References m_debug.

30 { return m_debug; }
int ODSRPConfig::getDummyMode ( ) const
inline

Definition at line 33 of file ODSRPConfig.h.

References m_dummy.

33 { return m_dummy; }
int ODSRPConfig::getId ( ) const
inline

Definition at line 27 of file ODSRPConfig.h.

References m_ID.

27 { return m_ID; }
std::string ODSRPConfig::getPatternDirectory ( ) const
inline

Definition at line 36 of file ODSRPConfig.h.

References m_patdir.

36 { return m_patdir; }
std::string m_patdir
Definition: ODSRPConfig.h:72
int ODSRPConfig::getSRP0BunchAdjustPosition ( ) const
inline

Definition at line 45 of file ODSRPConfig.h.

References m_bnch.

Referenced by popcon::EcalSRPHandler::getNewObjects().

45 { return m_bnch; }
unsigned char* ODSRPConfig::getSRPClob ( ) const
inline

Definition at line 51 of file ODSRPConfig.h.

References m_srp_clob.

Referenced by popcon::EcalSRPHandler::getNewObjects().

51 { return m_srp_clob; }
unsigned char * m_srp_clob
Definition: ODSRPConfig.h:68
unsigned int ODSRPConfig::getSRPClobSize ( ) const
inline

Definition at line 52 of file ODSRPConfig.h.

References m_size.

Referenced by popcon::EcalSRPHandler::getNewObjects().

52 { return m_size; }
unsigned int m_size
Definition: ODSRPConfig.h:75
std::string ODSRPConfig::getTable ( )
inlinevirtual

Implements IODConfig.

Definition at line 24 of file ODSRPConfig.h.

24 { return "ECAL_SRP_CONFIGURATION"; }
void ODSRPConfig::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IODConfig.

Definition at line 116 of file ODSRPConfig.cc.

References gather_cfg::cout, and alignCSCRings::e.

118 {
119  this->checkConnection();
120 
121  int next_id=fetchNextId();
122 
123  try {
124  m_writeStmt = m_conn->createStatement();
125  m_writeStmt->setSQL("INSERT INTO ECAL_SRP_CONFIGURATION (srp_configuration_id, srp_tag, "
126  " DEBUGMODE, DUMMYMODE, PATTERN_DIRECTORY, AUTOMATIC_MASKS,"
127  " SRP0BUNCHADJUSTPOSITION, SRP_CONFIG_FILE, SRP_CONFIGURATION, AUTOMATICSRPSELECT ) "
128  "VALUES (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10 )");
129  m_writeStmt->setInt(1, next_id);
130  m_writeStmt->setString(2, getConfigTag());
131  m_writeStmt->setInt(3, getDebugMode());
132  m_writeStmt->setInt(4, getDummyMode());
133  m_writeStmt->setString(5, getPatternDirectory());
134  m_writeStmt->setInt(6, getAutomaticMasks());
135  m_writeStmt->setInt(10, getAutomaticSrpSelect());
137  m_writeStmt->setString(8, getConfigFile());
138 
139  // and now the clob
140  oracle::occi::Clob clob(m_conn);
141  clob.setEmpty();
142  m_writeStmt->setClob(9,clob);
143  m_writeStmt->executeUpdate ();
144  m_ID=next_id;
145 
146  m_conn->terminateStatement(m_writeStmt);
147  std::cout<<"SRP Clob inserted into CONFIGURATION with id="<<next_id<<std::endl;
148 
149  // now we read and update it
150  m_writeStmt = m_conn->createStatement();
151  m_writeStmt->setSQL ("SELECT srp_configuration FROM ECAL_SRP_CONFIGURATION WHERE"
152  " srp_configuration_id=:1 FOR UPDATE");
153 
154  std::cout<<"updating the clob 0"<<std::endl;
155 
156 
157  } catch (SQLException &e) {
158  throw(std::runtime_error("ODSRPConfig::prepareWrite(): "+e.getMessage()));
159  }
160 
161  std::cout<<"updating the clob 1 "<<std::endl;
162 
163 }
int fetchNextId()
Definition: ODSRPConfig.cc:41
oracle::occi::Connection * m_conn
Definition: IDBObject.h:39
Statement * m_writeStmt
Definition: IODConfig.h:36
std::string getConfigFile() const
Definition: ODSRPConfig.h:48
oracle::occi::SQLException SQLException
Definition: HcalDbOmds.cc:22
int getAutomaticMasks() const
Definition: ODSRPConfig.h:39
int getDebugMode() const
Definition: ODSRPConfig.h:30
int getAutomaticSrpSelect() const
Definition: ODSRPConfig.h:42
int getSRP0BunchAdjustPosition() const
Definition: ODSRPConfig.h:45
std::string getPatternDirectory() const
Definition: ODSRPConfig.h:36
int getDummyMode() const
Definition: ODSRPConfig.h:33
std::string getConfigTag()
Definition: IODConfig.h:32
tuple cout
Definition: gather_cfg.py:121
void checkConnection() const
Definition: IDBObject.h:41
void ODSRPConfig::setAutomaticMasks ( int  x)
inline

Definition at line 38 of file ODSRPConfig.h.

References m_auto, and vdt::x.

38 { m_auto = x; }
x
Definition: VDTMath.h:216
void ODSRPConfig::setAutomaticSrpSelect ( int  x)
inline

Definition at line 41 of file ODSRPConfig.h.

References m_auto_srp, and vdt::x.

41 { m_auto_srp = x; }
int m_auto_srp
Definition: ODSRPConfig.h:73
x
Definition: VDTMath.h:216
void ODSRPConfig::setConfigFile ( std::string  x)
inline

Definition at line 47 of file ODSRPConfig.h.

References m_file, and vdt::x.

47 { m_file = x; }
std::string m_file
Definition: ODSRPConfig.h:71
x
Definition: VDTMath.h:216
void ODSRPConfig::setDebugMode ( int  x)
inline

Definition at line 29 of file ODSRPConfig.h.

References m_debug, and vdt::x.

29 { m_debug = x; }
x
Definition: VDTMath.h:216
void ODSRPConfig::setDummyMode ( int  x)
inline

Definition at line 32 of file ODSRPConfig.h.

References m_dummy, and vdt::x.

32 { m_dummy= x; }
x
Definition: VDTMath.h:216
void ODSRPConfig::setId ( int  id)
inline
void ODSRPConfig::setParameters ( std::map< std::string, std::string >  my_keys_map)

Definition at line 65 of file ODSRPConfig.cc.

References gather_cfg::cout, end, alignmentValidation::fname, mergeVDriftHistosByStation::name, and create_public_pileup_plots::transform.

65  {
66 
67  // parses the result of the XML parser that is a map of
68  // string string with variable name variable value
69 
70 
71  for( std::map<std::string, std::string >::iterator ci=
72  my_keys_map.begin(); ci!=my_keys_map.end(); ci++ ) {
73 
74  std::string name = ci->first;
75  std::transform(name.begin(), name.end(), name.begin(), (int(*)(int))std::toupper);
76 
77  if( name == "SRP_CONFIGURATION_ID") setConfigTag(ci->second);
78  if( name == "DEBUGMODE") setDebugMode(atoi(ci->second.c_str()));
79  if( name == "DUMMYMODE") setDummyMode(atoi(ci->second.c_str()));
80  if( name == "PATTERNDIRECTORY") setPatternDirectory(ci->second);
81  if( name == "PATTERN_DIRECTORY") setPatternDirectory(ci->second);
82  if( name == "AUTOMATICMASKS") setAutomaticMasks(atoi(ci->second.c_str()));
83  if( name == "AUTOMATIC_MASKS") setAutomaticMasks(atoi(ci->second.c_str()));
84  if( name == "AUTOMATICSRPSELECT") setAutomaticSrpSelect(atoi(ci->second.c_str()));
85  if( name == "SRP0BUNCHADJUSTPOSITION") setSRP0BunchAdjustPosition(atoi(ci->second.c_str()));
86  if( name == "SRP_CONFIG_FILE") {
87  std::string fname=ci->second ;
88 
89  cout << "fname="<<fname << endl;
90  setConfigFile(fname);
91 
92 
93  // here we must open the file and read the LTC Clob
94  std::cout << "Going to read SRP file: " << fname << endl;
95 
96  ifstream inpFile;
97  inpFile.open(fname.c_str());
98 
99  // tell me size of file
100  int bufsize = 0;
101  inpFile.seekg( 0,ios::end );
102  bufsize = inpFile.tellg();
103  std::cout <<" bufsize ="<<bufsize<< std::endl;
104  // set file pointer to start again
105  inpFile.seekg( 0,ios::beg );
106 
107  m_size=bufsize;
108 
109  inpFile.close();
110 
111  }
112  }
113 
114 }
void setPatternDirectory(std::string x)
Definition: ODSRPConfig.h:35
void setConfigFile(std::string x)
Definition: ODSRPConfig.h:47
unsigned int m_size
Definition: ODSRPConfig.h:75
#define end
Definition: vmac.h:38
void setDebugMode(int x)
Definition: ODSRPConfig.h:29
string fname
main script
void setConfigTag(std::string x)
Definition: IODConfig.h:31
void setSRP0BunchAdjustPosition(int x)
Definition: ODSRPConfig.h:44
tuple cout
Definition: gather_cfg.py:121
void setDummyMode(int x)
Definition: ODSRPConfig.h:32
void setAutomaticMasks(int x)
Definition: ODSRPConfig.h:38
void setAutomaticSrpSelect(int x)
Definition: ODSRPConfig.h:41
void ODSRPConfig::setPatternDirectory ( std::string  x)
inline

Definition at line 35 of file ODSRPConfig.h.

References m_patdir, and vdt::x.

35 { m_patdir = x; }
x
Definition: VDTMath.h:216
std::string m_patdir
Definition: ODSRPConfig.h:72
void ODSRPConfig::setSRP0BunchAdjustPosition ( int  x)
inline

Definition at line 44 of file ODSRPConfig.h.

References m_bnch, and vdt::x.

44 { m_bnch = x; }
x
Definition: VDTMath.h:216
void ODSRPConfig::setSRPClob ( unsigned char *  x)
inline

Definition at line 50 of file ODSRPConfig.h.

References m_srp_clob, and vdt::x.

50 { m_srp_clob = x; }
unsigned char * m_srp_clob
Definition: ODSRPConfig.h:68
x
Definition: VDTMath.h:216
void ODSRPConfig::writeDB ( )
throw (std::runtime_error
)
private

Definition at line 166 of file ODSRPConfig.cc.

References gather_cfg::cout, and alignCSCRings::e.

168 {
169 
170  std::cout<<"updating the clob 2"<<std::endl;
171 
172  try {
173  m_writeStmt->setInt(1, m_ID);
174  ResultSet* rset = m_writeStmt->executeQuery();
175 
176  while (rset->next ())
177  {
178  oracle::occi::Clob clob = rset->getClob (1);
179  cout << "Opening the clob in read write mode" << endl;
180  cout << "Populating the clob" << endl;
181  populateClob (clob, getConfigFile(), m_size );
182  int clobLength=clob.length ();
183  cout << "Length of the clob after writing is: " << clobLength << endl;
184 
185  }
186 
187  m_writeStmt->executeUpdate();
188 
189  m_writeStmt->closeResultSet (rset);
190 
191  } catch (SQLException &e) {
192  throw(std::runtime_error("ODSRPConfig::writeDB(): "+e.getMessage()));
193  }
194  // Now get the ID
195  if (!this->fetchID()) {
196  throw(std::runtime_error("ODSRPConfig::writeDB: Failed to write"));
197  }
198 
199 
200 }
void populateClob(Clob &clob, std::string fname, unsigned int bufsize)
Definition: IODConfig.h:88
Statement * m_writeStmt
Definition: IODConfig.h:36
std::string getConfigFile() const
Definition: ODSRPConfig.h:48
unsigned int m_size
Definition: ODSRPConfig.h:75
oracle::occi::SQLException SQLException
Definition: HcalDbOmds.cc:22
oracle::occi::ResultSet ResultSet
Definition: HcalDbOmds.cc:21
tuple cout
Definition: gather_cfg.py:121

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 19 of file ODSRPConfig.h.

Member Data Documentation

int ODSRPConfig::m_auto
private

Definition at line 73 of file ODSRPConfig.h.

Referenced by getAutomaticMasks(), and setAutomaticMasks().

int ODSRPConfig::m_auto_srp
private

Definition at line 73 of file ODSRPConfig.h.

Referenced by getAutomaticSrpSelect(), and setAutomaticSrpSelect().

int ODSRPConfig::m_bnch
private

Definition at line 74 of file ODSRPConfig.h.

Referenced by getSRP0BunchAdjustPosition(), and setSRP0BunchAdjustPosition().

int ODSRPConfig::m_debug
private

Definition at line 69 of file ODSRPConfig.h.

Referenced by getDebugMode(), and setDebugMode().

int ODSRPConfig::m_dummy
private

Definition at line 70 of file ODSRPConfig.h.

Referenced by getDummyMode(), and setDummyMode().

std::string ODSRPConfig::m_file
private

Definition at line 71 of file ODSRPConfig.h.

Referenced by getConfigFile(), and setConfigFile().

int ODSRPConfig::m_ID
private

Definition at line 67 of file ODSRPConfig.h.

Referenced by getId(), and setId().

std::string ODSRPConfig::m_patdir
private

Definition at line 72 of file ODSRPConfig.h.

Referenced by getPatternDirectory(), and setPatternDirectory().

unsigned int ODSRPConfig::m_size
private

Definition at line 75 of file ODSRPConfig.h.

Referenced by getSRPClobSize().

unsigned char* ODSRPConfig::m_srp_clob
private

Definition at line 68 of file ODSRPConfig.h.

Referenced by getSRPClob(), and setSRPClob().