Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

lccd Namespace Reference

The only namespace in the project.
. More...


Classes

class  ConditionsHandlerBase
 Base implementation of IConditionsHandler. More...

class  ConditionsMap
 Template class for maps of conditions data. More...

class  DataFileHandler
 Implementation of ConditionsHandlerBase that handles conditions data that is stored in a data LCIO file. More...

class  DBCondHandler
 Implementation of ConditionsHandlerBase that reads the conditions data from the database. More...

class  DBFileHandler
 Implementation of ConditionsHandlerBase that reads the conditions data from a special LCIO file. More...

class  DBInterface
 Provides a simple interface to the conditions data base for lccd. More...

class  IConditionsChangeListener
 Simple interface that allows notification of implementation classes if a conditions data set has changed. More...

class  IConditionsHandler
 Abstract handler for conditions data. More...

class  LCConditionsMgr
 Manager for IConditionsHandler objects.
Can be used to keep all conditions handler objects in an aplication in one place and treat them through a common interface, e.g. More...

class  LCGenericObjectStreamer
 Base class for LCCollection streamer classes. More...

class  SimpleFileHandler
 Implementation of ConditionsHandlerBase that reads the conditions data from an LCIO file. More...

class  StreamerMgr
 Manager for streamer classes of LCCollections.
Singleton. More...

class  VCollectionStreamer
 Base class for LCCollection streamer classes. More...

class  Xdr
 Utility functions for DB streamer objects. More...


Typedefs

typedef lcio::long64 LCCDTimeStamp
 The timestamp in LCCD is a 64bit int as defined in LCIO.

typedef std::pair< LCCDTimeStamp,
LCCDTimeStamp
ValidityInterval
typedef std::vector< ValidityInterval > ValidityVector
typedef std::vector< lcio::LCCollection * > ColVec
 Convenience typedef for vector of LCCollection pointers.

typedef std::map< std::string,
IConditionsHandler * > 
HandlerMap
typedef std::map< std::string,
VCollectionStreamer * > 
StreamerMap

Functions

void ensure_LCCDTimeStamp_is_64bit ()
 If this doesn't compile than LCCDTimeStamp doesn't have 64bit.

std::string getDBInitString ()
 Returns a database initialization string of the form "DB_HOST:DB_NAME:DB_USER:PASSWD" from the environment variable $LCCD_DB_INIT.

LCCDTimeStamp fromSimpleTime (SimpleTime st)
 Converts the 64bit time stamp in SimpleTime objects (based on 1.1.1900) to the LCIO definition of time stamps: ns since 1.1.1970 UTC.


Variables

LCCDTimeStamp LCCDMinusInf
 The smallest possible time stamp.

LCCDTimeStamp LCCDPlusInf
 The largest possible time stamp.

std::string DBSINCE
 String constant: DBSince.

std::string DBTILL
 String constant: DBTill.

std::string DBQUERYTIME
 String constant: DBQueryTime.

std::string DBINSERTIONTIME
 String constant: DBInsertionTime.

std::string DBTAG
 String constant: DBTag.

std::string DBFOLDER
 String constant: DBFolder.

std::string DBNAME
 String constant: DBName.

std::string DBLAYER
 String constant: DBLayer.

std::string DBTIMESTAMP
 String constant: DBTimeStamp.


Detailed Description

The only namespace in the project.
.

Function Documentation

std::string getDBInitString  ) 
 

Returns a database initialization string of the form "DB_HOST:DB_NAME:DB_USER:PASSWD" from the environment variable $LCCD_DB_INIT.

The default value is determined at compile time from the same variable. If it isn't set at compile time "localhost:lccd_test:calvin:hobbes" is used as default-default.


Generated on Fri Sep 9 12:30:32 2005 for LCCD by doxygen 1.3.5