00001 // ---------------------------------------------------------------------------- 00002 // CVS $Id: LCD_detector_ID.hh,v 1.7 2003/09/17 23:37:55 uid561 Exp $ 00003 // ---------------------------------------------------------------------------- 00004 // => Organizes the output of the detector description header block. 00005 // ---------------------------------------------------------------------------- 00006 // 00007 // General Description: 00008 // 00009 // Organize the output of the detector ID header block. 00010 // 00011 // ---------------------------------------------------------------------------- 00012 00013 #ifndef LCD_DETECTOR_ID_H 00014 #define LCD_DETECTOR_ID_H 1 00015 00016 #include "SIO_block.h" 00017 00018 class SIO_stream; 00019 00020 class LCD_detector_ID : public SIO_block 00021 { 00022 public: 00023 LCD_detector_ID( const char* ); 00024 ~LCD_detector_ID(); 00025 00026 int getMajor(); 00027 int getMinor(); 00028 const char* getType(); 00029 void setMajor( int ); 00030 void setMinor( int ); 00031 void setType( char* ); 00032 unsigned int xfer( SIO_stream*, SIO_operation, unsigned int ); 00033 unsigned int version(); 00034 00035 private: 00036 int major; 00037 int minor; 00038 std::string type; 00039 00040 }; 00041 #endif
1.3.4