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 300 of file PoolDatabaseSchema.cc.

300  :
301  m_id( 0 ),
302  m_name("" ),
303  m_className("" ),
304  m_mappingVersion( "" ),
305  m_nobjWr( 0 ){
306 }
ora::PoolDbCacheData::PoolDbCacheData ( int  id,
const std::string &  name,
const std::string &  className,
const std::string &  mappingVersion,
unsigned int  nobjWritten 
)

Definition at line 308 of file PoolDatabaseSchema.cc.

312  :
313  m_id( id ),
314  m_name( name ),
316  m_mappingVersion( mappingVersion ),
317  m_nobjWr( nobjWr ){
318 }
std::string className(const T &t)
Definition: ClassName.h:30
ora::PoolDbCacheData::~PoolDbCacheData ( )

Definition at line 320 of file PoolDatabaseSchema.cc.

320  {
321 }
ora::PoolDbCacheData::PoolDbCacheData ( const PoolDbCacheData rhs)

Definition at line 323 of file PoolDatabaseSchema.cc.

323  :
324  m_id( rhs.m_id ),
325  m_name( rhs.m_name ),
326  m_className( rhs.m_className ),
327  m_mappingVersion( rhs.m_mappingVersion ),
328  m_nobjWr( rhs.m_nobjWr ){
329 }

Member Function Documentation

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

Definition at line 331 of file PoolDatabaseSchema.cc.

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

331  {
332  m_id = rhs.m_id;
333  m_name = rhs.m_name;
334  m_className = rhs.m_className;
335  m_mappingVersion = rhs.m_mappingVersion;
336  m_nobjWr = rhs.m_nobjWr;
337  return *this;
338 }

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