CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DetectorDescription/Core/interface/DDString.h

Go to the documentation of this file.
00001 #ifndef DDString_h
00002 #define DDString_h
00003 
00004 #include "DetectorDescription/Core/interface/DDBase.h"
00005 #include "DetectorDescription/Core/interface/DDName.h"
00006 #include <string>
00007 #include <iostream>
00008 
00009 class DDString;
00010 
00011 
00013 std::ostream & operator<<(std::ostream & o, const DDString & cons);
00014 
00016 class DDString : public DDBase<DDName, std::string * >
00017 {
00018 public:
00020    DDString();
00021    
00023    DDString(const DDName & name);
00024    
00026    DDString(const DDName & name, std::string* value);
00027       
00029    const std::string & value() const { return rep(); }
00030       
00032    operator std::string() const { return rep(); }
00033 };
00034 
00035 #endif