CMS 3D CMS Logo

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 () override
 
 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 (const std::map< std::string, std::string > &my_keys_map)
 
void setPatternDirectory (std::string x)
 
void setSRP0BunchAdjustPosition (int x)
 
void setSRPClob (unsigned char *x)
 
 ~ODSRPConfig () override
 
- 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) noexcept(false)
 
int fetchID () noexcept(false)
 
int fetchNextId () noexcept(false)
 
void prepareWrite () noexcept(false) override
 
void writeDB () noexcept(false)
 

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 () noexcept(false)
 
void createReadStatement () noexcept(false)
 
void populateClob (Clob &clob, std::string fname, unsigned int bufsize) noexcept(false)
 
unsigned char * readClob (Clob &clob, int size) noexcept(false)
 
void setPrefetchRowCount (int ncount) noexcept(false)
 
void terminateReadStatement () noexcept(false)
 
void terminateWriteStatement () noexcept(false)
 
- Protected Member Functions inherited from IDBObject
void checkConnection () const noexcept(false)
 
- 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 16 of file ODSRPConfig.h.

Constructor & Destructor Documentation

◆ ODSRPConfig()

ODSRPConfig::ODSRPConfig ( )

Definition at line 13 of file ODSRPConfig.cc.

References clear().

13  {
14  m_env = nullptr;
15  m_conn = nullptr;
16  m_writeStmt = nullptr;
17  m_readStmt = nullptr;
18  m_config_tag = "";
19 
20  m_ID = 0;
21  clear();
22  m_size = 0;
23 }
oracle::occi::Environment * m_env
Definition: IDBObject.h:33
oracle::occi::Connection * m_conn
Definition: IDBObject.h:34
Statement * m_writeStmt
Definition: IODConfig.h:33
unsigned int m_size
Definition: ODSRPConfig.h:73
std::string m_config_tag
Definition: IODConfig.h:25
void clear()
Definition: ODSRPConfig.cc:25
Statement * m_readStmt
Definition: IODConfig.h:34

◆ ~ODSRPConfig()

ODSRPConfig::~ODSRPConfig ( )
override

Definition at line 35 of file ODSRPConfig.cc.

35 {}

Member Function Documentation

◆ clear()

void ODSRPConfig::clear ( void  )
private

Definition at line 25 of file ODSRPConfig.cc.

25  {
26  // strcpy((char *)m_srp_clob, "");
27  m_debug = 0;
28  m_dummy = 0;
29  m_file = "";
30  m_patdir = "";
31  m_auto = 0;
32  m_bnch = 0;
33 }
std::string m_file
Definition: ODSRPConfig.h:69
std::string m_patdir
Definition: ODSRPConfig.h:70

◆ fetchData()

void ODSRPConfig::fetchData ( ODSRPConfig result)
privatenoexcept

Definition at line 185 of file ODSRPConfig.cc.

References edmScanValgrind::buffer, MillePedeFileConverter_cfg::e, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

185  {
186  this->checkConnection();
187  // result->clear();
188  if (result->getId() == 0 && (result->getConfigTag().empty())) {
189  // throw(std::runtime_error("ODSRPConfig::fetchData(): no Id defined for this ODSRPConfig "));
190  result->fetchID();
191  }
192 
193  try {
194  m_readStmt->setSQL(
195  "SELECT * "
196  " FROM ECAL_SRP_CONFIGURATION "
197  " where (srp_configuration_id = :1 or srp_tag=:2 )");
198  m_readStmt->setInt(1, result->getId());
199  m_readStmt->setString(2, result->getConfigTag());
200  ResultSet *rset = m_readStmt->executeQuery();
201 
202  rset->next();
203  // 1 is the id and 2 is the config tag
204 
205  result->setId(rset->getInt(1));
206  result->setConfigTag(rset->getString(2));
207 
208  result->setDebugMode(rset->getInt(3));
209  result->setDummyMode(rset->getInt(4));
210  result->setPatternDirectory(rset->getString(5));
211  result->setAutomaticMasks(rset->getInt(6));
212  result->setSRP0BunchAdjustPosition(rset->getInt(7));
213  result->setConfigFile(rset->getString(8));
214 
215  Clob clob = rset->getClob(9);
216  m_size = clob.length();
217  Stream *instream = clob.getStream(1, 0);
218  unsigned char *buffer = new unsigned char[m_size];
219  memset(buffer, 0, m_size);
220  instream->readBuffer((char *)buffer, m_size);
221  /*
222  cout << "Opening the clob in Read only mode" << endl;
223  clob.open (OCCI_LOB_READONLY);
224  int clobLength=clob.length ();
225  cout << "Length of the clob is: " << clobLength << endl;
226  unsigned char* buffer = readClob (clob, clobLength);
227  clob.close ();
228  cout<< "the clob buffer is:"<<endl;
229  for (int i = 0; i < clobLength; ++i)
230  cout << (char) buffer[i];
231  cout << endl;
232 
233 
234  */
235  result->setSRPClob(buffer);
236  result->setAutomaticSrpSelect(rset->getInt(10));
237 
238  } catch (SQLException &e) {
239  throw(std::runtime_error(std::string("ODSRPConfig::fetchData(): ") + e.getMessage()));
240  }
241 }
oracle::occi::Stream Stream
Definition: IODConfig.h:22
void checkConnection() const noexcept(false)
Definition: IDBObject.h:36
unsigned int m_size
Definition: ODSRPConfig.h:73
oracle::occi::Clob Clob
Definition: IODConfig.h:23
oracle::occi::SQLException SQLException
Definition: IODConfig.h:20
Statement * m_readStmt
Definition: IODConfig.h:34
int getId() const
Definition: ODSRPConfig.h:26

◆ fetchID()

int ODSRPConfig::fetchID ( )
privatenoexcept

Definition at line 243 of file ODSRPConfig.cc.

References MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.

243  {
244  // Return from memory if available
245  if (m_ID != 0) {
246  return m_ID;
247  }
248 
249  this->checkConnection();
250 
251  try {
252  Statement *stmt = m_conn->createStatement();
253  stmt->setSQL(
254  "SELECT srp_configuration_id FROM ecal_srp_configuration "
255  "WHERE srp_tag=:srp_tag ");
256 
257  stmt->setString(1, getConfigTag());
258 
259  ResultSet *rset = stmt->executeQuery();
260 
261  if (rset->next()) {
262  m_ID = rset->getInt(1);
263  } else {
264  m_ID = 0;
265  }
266  m_conn->terminateStatement(stmt);
267  } catch (SQLException &e) {
268  throw(std::runtime_error(std::string("ODSRPConfig::fetchID: ") + e.getMessage()));
269  }
270 
271  return m_ID;
272 }
oracle::occi::Connection * m_conn
Definition: IDBObject.h:34
void checkConnection() const noexcept(false)
Definition: IDBObject.h:36
oracle::occi::Statement Statement
Definition: IODConfig.h:21
oracle::occi::SQLException SQLException
Definition: IODConfig.h:20
std::string getConfigTag()
Definition: IODConfig.h:30

◆ fetchNextId()

int ODSRPConfig::fetchNextId ( )
privatenoexcept

Definition at line 37 of file ODSRPConfig.cc.

References MillePedeFileConverter_cfg::e, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

37  {
38  int result = 0;
39  try {
40  this->checkConnection();
41 
42  m_readStmt = m_conn->createStatement();
43  m_readStmt->setSQL("select ecal_srp_config_sq.NextVal from dual");
44  ResultSet *rset = m_readStmt->executeQuery();
45  while (rset->next()) {
46  result = rset->getInt(1);
47  }
48  m_conn->terminateStatement(m_readStmt);
49  return result;
50 
51  } catch (SQLException &e) {
52  throw(std::runtime_error(std::string("ODSRPConfig::fetchNextId(): ") + e.getMessage()));
53  }
54 }
oracle::occi::Connection * m_conn
Definition: IDBObject.h:34
void checkConnection() const noexcept(false)
Definition: IDBObject.h:36
oracle::occi::SQLException SQLException
Definition: IODConfig.h:20
Statement * m_readStmt
Definition: IODConfig.h:34

◆ getAutomaticMasks()

int ODSRPConfig::getAutomaticMasks ( ) const
inline

Definition at line 38 of file ODSRPConfig.h.

References m_auto.

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

38 { return m_auto; }

◆ getAutomaticSrpSelect()

int ODSRPConfig::getAutomaticSrpSelect ( ) const
inline

Definition at line 41 of file ODSRPConfig.h.

References m_auto_srp.

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

41 { return m_auto_srp; }
int m_auto_srp
Definition: ODSRPConfig.h:71

◆ getConfigFile()

std::string ODSRPConfig::getConfigFile ( ) const
inline

Definition at line 47 of file ODSRPConfig.h.

References m_file.

47 { return m_file; }
std::string m_file
Definition: ODSRPConfig.h:69

◆ getDebugMode()

int ODSRPConfig::getDebugMode ( ) const
inline

Definition at line 29 of file ODSRPConfig.h.

References m_debug.

29 { return m_debug; }

◆ getDummyMode()

int ODSRPConfig::getDummyMode ( ) const
inline

Definition at line 32 of file ODSRPConfig.h.

References m_dummy.

32 { return m_dummy; }

◆ getId()

int ODSRPConfig::getId ( void  ) const
inline

Definition at line 26 of file ODSRPConfig.h.

References m_ID.

26 { return m_ID; }

◆ getPatternDirectory()

std::string ODSRPConfig::getPatternDirectory ( ) const
inline

Definition at line 35 of file ODSRPConfig.h.

References m_patdir.

35 { return m_patdir; }
std::string m_patdir
Definition: ODSRPConfig.h:70

◆ getSRP0BunchAdjustPosition()

int ODSRPConfig::getSRP0BunchAdjustPosition ( ) const
inline

Definition at line 44 of file ODSRPConfig.h.

References m_bnch.

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

44 { return m_bnch; }

◆ getSRPClob()

unsigned char* ODSRPConfig::getSRPClob ( ) const
inline

Definition at line 50 of file ODSRPConfig.h.

References m_srp_clob.

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

50 { return m_srp_clob; }
unsigned char * m_srp_clob
Definition: ODSRPConfig.h:66

◆ getSRPClobSize()

unsigned int ODSRPConfig::getSRPClobSize ( ) const
inline

Definition at line 51 of file ODSRPConfig.h.

References m_size.

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

51 { return m_size; }
unsigned int m_size
Definition: ODSRPConfig.h:73

◆ getTable()

std::string ODSRPConfig::getTable ( )
inlineoverridevirtual

Implements IODConfig.

Definition at line 23 of file ODSRPConfig.h.

23 { return "ECAL_SRP_CONFIGURATION"; }

◆ prepareWrite()

void ODSRPConfig::prepareWrite ( )
overrideprivatevirtualnoexcept

Implements IODConfig.

Definition at line 109 of file ODSRPConfig.cc.

References gather_cfg::cout, MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.

109  {
110  this->checkConnection();
111 
112  int next_id = fetchNextId();
113 
114  try {
115  m_writeStmt = m_conn->createStatement();
116  m_writeStmt->setSQL(
117  "INSERT INTO ECAL_SRP_CONFIGURATION (srp_configuration_id, srp_tag, "
118  " DEBUGMODE, DUMMYMODE, PATTERN_DIRECTORY, AUTOMATIC_MASKS,"
119  " SRP0BUNCHADJUSTPOSITION, SRP_CONFIG_FILE, SRP_CONFIGURATION, AUTOMATICSRPSELECT ) "
120  "VALUES (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10 )");
121  m_writeStmt->setInt(1, next_id);
122  m_writeStmt->setString(2, getConfigTag());
123  m_writeStmt->setInt(3, getDebugMode());
124  m_writeStmt->setInt(4, getDummyMode());
125  m_writeStmt->setString(5, getPatternDirectory());
126  m_writeStmt->setInt(6, getAutomaticMasks());
127  m_writeStmt->setInt(10, getAutomaticSrpSelect());
129  m_writeStmt->setString(8, getConfigFile());
130 
131  // and now the clob
132  oracle::occi::Clob clob(m_conn);
133  clob.setEmpty();
134  m_writeStmt->setClob(9, clob);
135  m_writeStmt->executeUpdate();
136  m_ID = next_id;
137 
138  m_conn->terminateStatement(m_writeStmt);
139  std::cout << "SRP Clob inserted into CONFIGURATION with id=" << next_id << std::endl;
140 
141  // now we read and update it
142  m_writeStmt = m_conn->createStatement();
143  m_writeStmt->setSQL(
144  "SELECT srp_configuration FROM ECAL_SRP_CONFIGURATION WHERE"
145  " srp_configuration_id=:1 FOR UPDATE");
146 
147  std::cout << "updating the clob 0" << std::endl;
148 
149  } catch (SQLException &e) {
150  throw(std::runtime_error(std::string("ODSRPConfig::prepareWrite(): ") + e.getMessage()));
151  }
152 
153  std::cout << "updating the clob 1 " << std::endl;
154 }
int fetchNextId() noexcept(false)
Definition: ODSRPConfig.cc:37
oracle::occi::Connection * m_conn
Definition: IDBObject.h:34
Statement * m_writeStmt
Definition: IODConfig.h:33
void checkConnection() const noexcept(false)
Definition: IDBObject.h:36
int getAutomaticSrpSelect() const
Definition: ODSRPConfig.h:41
int getDummyMode() const
Definition: ODSRPConfig.h:32
int getSRP0BunchAdjustPosition() const
Definition: ODSRPConfig.h:44
std::string getConfigFile() const
Definition: ODSRPConfig.h:47
oracle::occi::SQLException SQLException
Definition: IODConfig.h:20
std::string getConfigTag()
Definition: IODConfig.h:30
int getDebugMode() const
Definition: ODSRPConfig.h:29
std::string getPatternDirectory() const
Definition: ODSRPConfig.h:35
int getAutomaticMasks() const
Definition: ODSRPConfig.h:38

◆ setAutomaticMasks()

void ODSRPConfig::setAutomaticMasks ( int  x)
inline

Definition at line 37 of file ODSRPConfig.h.

References m_auto, and x.

37 { m_auto = x; }

◆ setAutomaticSrpSelect()

void ODSRPConfig::setAutomaticSrpSelect ( int  x)
inline

Definition at line 40 of file ODSRPConfig.h.

References m_auto_srp, and x.

40 { m_auto_srp = x; }
int m_auto_srp
Definition: ODSRPConfig.h:71

◆ setConfigFile()

void ODSRPConfig::setConfigFile ( std::string  x)
inline

Definition at line 46 of file ODSRPConfig.h.

References m_file, and x.

46 { m_file = x; }
std::string m_file
Definition: ODSRPConfig.h:69

◆ setDebugMode()

void ODSRPConfig::setDebugMode ( int  x)
inline

Definition at line 28 of file ODSRPConfig.h.

References m_debug, and x.

28 { m_debug = x; }

◆ setDummyMode()

void ODSRPConfig::setDummyMode ( int  x)
inline

Definition at line 31 of file ODSRPConfig.h.

References m_dummy, and x.

31 { m_dummy = x; }

◆ setId()

void ODSRPConfig::setId ( int  id)
inline

Definition at line 25 of file ODSRPConfig.h.

References triggerObjects_cff::id, and m_ID.

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

◆ setParameters()

void ODSRPConfig::setParameters ( const std::map< std::string, std::string > &  my_keys_map)

Definition at line 56 of file ODSRPConfig.cc.

References gather_cfg::cout, mps_fire::end, alignmentValidation::fname, createfilelist::int, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and HcalDetIdTransform::transform().

56  {
57  // parses the result of the XML parser that is a map of
58  // string string with variable name variable value
59 
60  for (std::map<std::string, std::string>::const_iterator ci = my_keys_map.begin(); ci != my_keys_map.end(); ci++) {
61  std::string name = ci->first;
62  std::transform(name.begin(), name.end(), name.begin(), (int (*)(int))std::toupper);
63 
64  if (name == "SRP_CONFIGURATION_ID")
65  setConfigTag(ci->second);
66  if (name == "DEBUGMODE")
67  setDebugMode(atoi(ci->second.c_str()));
68  if (name == "DUMMYMODE")
69  setDummyMode(atoi(ci->second.c_str()));
70  if (name == "PATTERNDIRECTORY")
71  setPatternDirectory(ci->second);
72  if (name == "PATTERN_DIRECTORY")
73  setPatternDirectory(ci->second);
74  if (name == "AUTOMATICMASKS")
75  setAutomaticMasks(atoi(ci->second.c_str()));
76  if (name == "AUTOMATIC_MASKS")
77  setAutomaticMasks(atoi(ci->second.c_str()));
78  if (name == "AUTOMATICSRPSELECT")
79  setAutomaticSrpSelect(atoi(ci->second.c_str()));
80  if (name == "SRP0BUNCHADJUSTPOSITION")
81  setSRP0BunchAdjustPosition(atoi(ci->second.c_str()));
82  if (name == "SRP_CONFIG_FILE") {
83  std::string fname = ci->second;
84 
85  cout << "fname=" << fname << endl;
87 
88  // here we must open the file and read the LTC Clob
89  std::cout << "Going to read SRP file: " << fname << endl;
90 
91  ifstream inpFile;
92  inpFile.open(fname.c_str());
93 
94  // tell me size of file
95  int bufsize = 0;
96  inpFile.seekg(0, ios::end);
97  bufsize = inpFile.tellg();
98  std::cout << " bufsize =" << bufsize << std::endl;
99  // set file pointer to start again
100  inpFile.seekg(0, ios::beg);
101 
102  m_size = bufsize;
103 
104  inpFile.close();
105  }
106  }
107 }
void setPatternDirectory(std::string x)
Definition: ODSRPConfig.h:34
void setConfigFile(std::string x)
Definition: ODSRPConfig.h:46
unsigned int m_size
Definition: ODSRPConfig.h:73
void setDebugMode(int x)
Definition: ODSRPConfig.h:28
string fname
main script
void setConfigTag(std::string x)
Definition: IODConfig.h:29
void setSRP0BunchAdjustPosition(int x)
Definition: ODSRPConfig.h:43
void setDummyMode(int x)
Definition: ODSRPConfig.h:31
void setAutomaticMasks(int x)
Definition: ODSRPConfig.h:37
void setAutomaticSrpSelect(int x)
Definition: ODSRPConfig.h:40
unsigned transform(const HcalDetId &id, unsigned transformCode)

◆ setPatternDirectory()

void ODSRPConfig::setPatternDirectory ( std::string  x)
inline

Definition at line 34 of file ODSRPConfig.h.

References m_patdir, and x.

34 { m_patdir = x; }
std::string m_patdir
Definition: ODSRPConfig.h:70

◆ setSRP0BunchAdjustPosition()

void ODSRPConfig::setSRP0BunchAdjustPosition ( int  x)
inline

Definition at line 43 of file ODSRPConfig.h.

References m_bnch, and x.

43 { m_bnch = x; }

◆ setSRPClob()

void ODSRPConfig::setSRPClob ( unsigned char *  x)
inline

Definition at line 49 of file ODSRPConfig.h.

References m_srp_clob, and x.

49 { m_srp_clob = x; }
unsigned char * m_srp_clob
Definition: ODSRPConfig.h:66

◆ writeDB()

void ODSRPConfig::writeDB ( )
privatenoexcept

Definition at line 156 of file ODSRPConfig.cc.

References gather_cfg::cout, MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.

156  {
157  std::cout << "updating the clob 2" << std::endl;
158 
159  try {
160  m_writeStmt->setInt(1, m_ID);
161  ResultSet *rset = m_writeStmt->executeQuery();
162 
163  while (rset->next()) {
164  oracle::occi::Clob clob = rset->getClob(1);
165  cout << "Opening the clob in read write mode" << endl;
166  cout << "Populating the clob" << endl;
168  int clobLength = clob.length();
169  cout << "Length of the clob after writing is: " << clobLength << endl;
170  }
171 
172  m_writeStmt->executeUpdate();
173 
174  m_writeStmt->closeResultSet(rset);
175 
176  } catch (SQLException &e) {
177  throw(std::runtime_error(std::string("ODSRPConfig::writeDB(): ") + e.getMessage()));
178  }
179  // Now get the ID
180  if (!this->fetchID()) {
181  throw(std::runtime_error("ODSRPConfig::writeDB: Failed to write"));
182  }
183 }
Statement * m_writeStmt
Definition: IODConfig.h:33
unsigned int m_size
Definition: ODSRPConfig.h:73
int fetchID() noexcept(false)
Definition: ODSRPConfig.cc:243
void populateClob(Clob &clob, std::string fname, unsigned int bufsize) noexcept(false)
Definition: IODConfig.h:67
std::string getConfigFile() const
Definition: ODSRPConfig.h:47
oracle::occi::SQLException SQLException
Definition: IODConfig.h:20

Friends And Related Function Documentation

◆ EcalCondDBInterface

friend class EcalCondDBInterface
friend

Definition at line 18 of file ODSRPConfig.h.

Member Data Documentation

◆ m_auto

int ODSRPConfig::m_auto
private

Definition at line 71 of file ODSRPConfig.h.

Referenced by getAutomaticMasks(), and setAutomaticMasks().

◆ m_auto_srp

int ODSRPConfig::m_auto_srp
private

Definition at line 71 of file ODSRPConfig.h.

Referenced by getAutomaticSrpSelect(), and setAutomaticSrpSelect().

◆ m_bnch

int ODSRPConfig::m_bnch
private

Definition at line 72 of file ODSRPConfig.h.

Referenced by getSRP0BunchAdjustPosition(), and setSRP0BunchAdjustPosition().

◆ m_debug

int ODSRPConfig::m_debug
private

Definition at line 67 of file ODSRPConfig.h.

Referenced by getDebugMode(), and setDebugMode().

◆ m_dummy

int ODSRPConfig::m_dummy
private

Definition at line 68 of file ODSRPConfig.h.

Referenced by getDummyMode(), and setDummyMode().

◆ m_file

std::string ODSRPConfig::m_file
private

Definition at line 69 of file ODSRPConfig.h.

Referenced by getConfigFile(), and setConfigFile().

◆ m_ID

int ODSRPConfig::m_ID
private

Definition at line 65 of file ODSRPConfig.h.

Referenced by getId(), and setId().

◆ m_patdir

std::string ODSRPConfig::m_patdir
private

Definition at line 70 of file ODSRPConfig.h.

Referenced by getPatternDirectory(), and setPatternDirectory().

◆ m_size

unsigned int ODSRPConfig::m_size
private

Definition at line 73 of file ODSRPConfig.h.

Referenced by getSRPClobSize().

◆ m_srp_clob

unsigned char* ODSRPConfig::m_srp_clob
private

Definition at line 66 of file ODSRPConfig.h.

Referenced by getSRPClob(), and setSRPClob().