CMS 3D CMS Logo

Public Member Functions | Public Attributes

ora::MappingRawData Struct Reference

#include <IDatabaseSchema.h>

List of all members.

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.

                                 :  
  version( "" ),
  elements(){
}
ora::MappingRawData::MappingRawData ( const std::string &  version) [explicit]

Definition at line 53 of file IDatabaseSchema.cc.

                                                        :  
  version( vers ),
  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::PoolMappingSchema::getMapping(), ora::OraMappingSchema::getMapping(), ora::rebuildPoolMapping(), and ora::MappingDatabase::unfoldElement().

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

Member Data Documentation