CMS 3D CMS Logo

Public Member Functions

cond::FipProtocolParser Class Reference

#include <FipProtocolParser.h>

List of all members.

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.

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

Definition at line 4 of file FipProtocolParser.cc.

{}

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 pos.

Referenced by cond::SQLiteProxy::getRealConnectString().

                                                                      {
  std::string connect("sqlite_file:");
  std::string::size_type pos=fipConnect.find(':');
  std::string fipLocation=fipConnect.substr(pos+1);
  edm::FileInPath fip(fipLocation);
  connect.append( fip.fullPath() );
  return connect;
}