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 60 of file IDatabaseSchema.h.

Constructor & Destructor Documentation

ora::MappingRawData::MappingRawData ( )

Definition at line 48 of file IDatabaseSchema.cc.

48  :
49  version( "" ),
50  elements(){
51 }
std::map< int, MappingRawElement > elements
ora::MappingRawData::MappingRawData ( const std::string &  version)
explicit

Definition at line 53 of file IDatabaseSchema.cc.

53  :
54  version( vers ),
55  elements(){
56 }
std::map< int, MappingRawElement > elements

Member Function Documentation

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

Definition at line 58 of file IDatabaseSchema.cc.

References asciidump::elements.

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

58  {
59  std::map< int, MappingRawElement>::iterator iElem = elements.find( elementId );
60  if( iElem == elements.end() ){
61  iElem = elements.insert( std::make_pair( elementId, MappingRawElement() ) ).first;
62  }
63  return iElem->second;
64 }
std::map< int, MappingRawElement > elements

Member Data Documentation

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