AEMDBInterface.cxx File Reference

#include "AEMDBInterface.h"
#include <vector>
#include <sstream>
#include <iostream>
#include <cstring>
#include <cstdlib>
#include <ctime>
#include <string>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

Go to the source code of this file.

Defines

#define CheckDBConn()


Define Documentation

 
#define CheckDBConn (  ) 

Value:

if (!fDBConn || (PQstatus(fDBConn) != CONNECTION_OK)){ \
      std::ostringstream __str; \
      __str << __FILE__ << ":" << __LINE__ \
            << " -- No DB connection: " \
            << PQerrorMessage(fDBConn); \
      throw(__str.str().c_str()); \
   }

Definition at line 66 of file AEMDBInterface.cxx.

Referenced by AEMDBInterface::GetnEvent(), AEMDBInterface::GetnSpill(), AEMDBInterface::GetnSubrun(), AEMDBInterface::GetRunEntry(), AEMDBInterface::GetRunNumber(), and AEMDBInterface::Open().


Generated on Mon Nov 23 08:02:29 2009 for MIPP(E907) by  doxygen 1.4.7