CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
ora::PoolDbCacheData Struct Reference

#include <PoolDatabaseSchema.h>

Public Member Functions

PoolDbCacheDataoperator= (const PoolDbCacheData &rhs)
 
 PoolDbCacheData ()
 
 PoolDbCacheData (int id, const std::string &name, const std::string &className, const std::string &mappingVersion, unsigned int nobjWritten)
 
 PoolDbCacheData (const PoolDbCacheData &rhs)
 
 ~PoolDbCacheData ()
 

Public Attributes

std::string m_className
 
int m_id
 
std::string m_mappingVersion
 
std::string m_name
 
unsigned int m_nobjWr
 

Detailed Description

Definition at line 10 of file PoolDatabaseSchema.h.

Constructor & Destructor Documentation

ora::PoolDbCacheData::PoolDbCacheData ( )

Definition at line 325 of file PoolDatabaseSchema.cc.

325  :
326  m_id( 0 ),
327  m_name("" ),
328  m_className("" ),
329  m_mappingVersion( "" ),
330  m_nobjWr( 0 ){
331 }
ora::PoolDbCacheData::PoolDbCacheData ( int  id,
const std::string &  name,
const std::string &  className,
const std::string &  mappingVersion,
unsigned int  nobjWritten 
)

Definition at line 333 of file PoolDatabaseSchema.cc.

337  :
338  m_id( id ),
339  m_name( name ),
341  m_mappingVersion( mappingVersion ),
342  m_nobjWr( nobjWr ){
343 }
std::string className(const T &t)
Definition: ClassName.h:30
ora::PoolDbCacheData::~PoolDbCacheData ( )

Definition at line 345 of file PoolDatabaseSchema.cc.

345  {
346 }
ora::PoolDbCacheData::PoolDbCacheData ( const PoolDbCacheData rhs)

Definition at line 348 of file PoolDatabaseSchema.cc.

348  :
349  m_id( rhs.m_id ),
350  m_name( rhs.m_name ),
351  m_className( rhs.m_className ),
352  m_mappingVersion( rhs.m_mappingVersion ),
353  m_nobjWr( rhs.m_nobjWr ){
354 }

Member Function Documentation

ora::PoolDbCacheData & ora::PoolDbCacheData::operator= ( const PoolDbCacheData rhs)

Definition at line 356 of file PoolDatabaseSchema.cc.

References m_className, m_id, m_id(), m_mappingVersion, m_name, and m_nobjWr.

356  {
357  m_id = rhs.m_id;
358  m_name = rhs.m_name;
359  m_className = rhs.m_className;
360  m_mappingVersion = rhs.m_mappingVersion;
361  m_nobjWr = rhs.m_nobjWr;
362  return *this;
363 }

Member Data Documentation

std::string ora::PoolDbCacheData::m_className
int ora::PoolDbCacheData::m_id

Definition at line 22 of file PoolDatabaseSchema.h.

Referenced by operator=().

std::string ora::PoolDbCacheData::m_mappingVersion

Definition at line 25 of file PoolDatabaseSchema.h.

Referenced by operator=(), and ora::PoolMappingSchema::selectMappingVersion().

std::string ora::PoolDbCacheData::m_name
unsigned int ora::PoolDbCacheData::m_nobjWr