CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondCore/ORA/interface/OId.h

Go to the documentation of this file.
00001 #ifndef INCLUDE_ORA_OID_H
00002 #define INCLUDE_ORA_OID_H
00003 
00004 #include <string>
00005 
00006 namespace ora {
00007 
00008   class OId {
00009     public:
00010     OId();
00011     OId( int contId, int itemId );
00012     OId( const OId& rhs );
00013     OId& operator=( const OId& rhs );
00014     bool operator==( const OId& rhs ) const;
00015     bool operator!=( const OId& rhs ) const;
00016     int containerId() const;
00017     int itemId() const;
00018     std::string toString();
00019     void fromString( const std::string& s );
00020     private:
00021     int m_containerId;
00022     int m_itemId;
00023   };
00024   
00025   
00026 }
00027 
00028 #endif
00029 
00030