test
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::MappingRawData Struct Reference

#include <IDatabaseSchema.h>

Public Member Functions

MappingRawElementaddElement (int elementId)
 
 MappingRawData ()
 
 MappingRawData (const std::string &version)
 

Public Attributes

std::map< int, MappingRawElementelements
 
std::string version
 

Detailed Description

Definition at line 74 of file IDatabaseSchema.h.

Constructor & Destructor Documentation

ora::MappingRawData::MappingRawData ( )

Definition at line 90 of file IDatabaseSchema.cc.

90  :
91  version( "" ),
92  elements(){
93 }
std::map< int, MappingRawElement > elements
ora::MappingRawData::MappingRawData ( const std::string &  version)
explicit

Definition at line 95 of file IDatabaseSchema.cc.

95  :
96  version( vers ),
97  elements(){
98 }
std::map< int, MappingRawElement > elements

Member Function Documentation

ora::MappingRawElement & ora::MappingRawData::addElement ( int  elementId)

Definition at line 100 of file IDatabaseSchema.cc.

References bookConverter::elements.

Referenced by ora::OraMappingSchema::getMapping(), ora::PoolMappingSchema::getMapping(), ora::rebuildPoolMapping(), and ora::MappingDatabase::unfoldElement().

100  {
101  std::map< int, MappingRawElement>::iterator iElem = elements.find( elementId );
102  if( iElem == elements.end() ){
103  iElem = elements.insert( std::make_pair( elementId, MappingRawElement() ) ).first;
104  }
105  return iElem->second;
106 }
std::map< int, MappingRawElement > elements

Member Data Documentation

std::map< int, MappingRawElement> ora::MappingRawData::elements
std::string ora::MappingRawData::version