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::ContainerHeaderData Struct Reference

#include <IDatabaseSchema.h>

Public Member Functions

 ContainerHeaderData ()
 
 ContainerHeaderData (int contId, const std::string &classN, unsigned int numberObj)
 
 ContainerHeaderData (const ContainerHeaderData &rhs)
 
ContainerHeaderDataoperator= (const ContainerHeaderData &rhs)
 

Public Attributes

std::string className
 
int id
 
unsigned int numberOfObjects
 

Detailed Description

Definition at line 83 of file IDatabaseSchema.h.

Constructor & Destructor Documentation

ora::ContainerHeaderData::ContainerHeaderData ( )

Definition at line 108 of file IDatabaseSchema.cc.

108  :
109  id(-1),
110  className(""),
111  numberOfObjects(0){
112 }
ora::ContainerHeaderData::ContainerHeaderData ( int  contId,
const std::string &  classN,
unsigned int  numberObj 
)

Definition at line 114 of file IDatabaseSchema.cc.

116  :
117  id(contId),
118  className(classN),
119  numberOfObjects(numberObj){
120 }
ora::ContainerHeaderData::ContainerHeaderData ( const ContainerHeaderData rhs)

Definition at line 122 of file IDatabaseSchema.cc.

122  :
123  id(rhs.id),
124  className(rhs.className),
125  numberOfObjects(rhs.numberOfObjects){
126 }

Member Function Documentation

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

Definition at line 128 of file IDatabaseSchema.cc.

References className(), className, id, and numberOfObjects.

128  {
129  id = rhs.id;
130  className = rhs.className;
131  numberOfObjects = rhs.numberOfObjects;
132  return *this;
133 }

Member Data Documentation

std::string ora::ContainerHeaderData::className
int ora::ContainerHeaderData::id
unsigned int ora::ContainerHeaderData::numberOfObjects