CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
cond::FipProtocolParser Class Reference

#include <FipProtocolParser.h>

Public Member Functions

 FipProtocolParser ()
 
std::string getRealConnect (const std::string &fipConnect) const
 
 ~FipProtocolParser ()
 

Detailed Description

Definition at line 5 of file FipProtocolParser.h.

Constructor & Destructor Documentation

cond::FipProtocolParser::FipProtocolParser ( )

Definition at line 3 of file FipProtocolParser.cc.

3 {}
cond::FipProtocolParser::~FipProtocolParser ( )

Definition at line 4 of file FipProtocolParser.cc.

4 {}

Member Function Documentation

std::string cond::FipProtocolParser::getRealConnect ( const std::string &  fipConnect) const

Definition at line 7 of file FipProtocolParser.cc.

References convertSQLitetoXML_cfg::connect, edm::FileInPath::fullPath(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by cond::persistency::getConnectionParams(), and cond::SQLiteProxy::getRealConnectString().

7  {
8  std::string connect("sqlite_file:");
9  std::string::size_type pos=fipConnect.find(':');
10  std::string fipLocation=fipConnect.substr(pos+1);
11  edm::FileInPath fip(fipLocation);
12  connect.append( fip.fullPath() );
13  return connect;
14 }
uint16_t size_type