00001 00002 // $Id: ConfigRecord.h,v 1.2 2003/05/17 02:02:53 gmieg Exp $ 00003 // 00004 // ConfigRecord.h 00005 // 00006 // ConfigRecord holds AlgConfig objects for retrieval via a TRef 00007 // in the Candidate base class, CandBase. 00008 // 00009 // Author: G. Irwin 5/2003 00011 00012 #ifndef CONFIGRECORD_H 00013 #define CONFIGRECORD_H 00014 00015 #include "Record/RecDataRecord.h" 00016 #include "Record/RecHeader.h" 00017 00018 class AlgConfig; 00019 00020 class ConfigRecord : public RecDataRecord<RecHeader> 00021 { 00022 00023 public: 00024 ConfigRecord(); 00025 ConfigRecord(const RecHeader& header); // normal constructor 00026 virtual ~ConfigRecord(); 00027 00028 Bool_t AreConfigsOwned() const {return fOwnsConfigs;} 00029 TIter GetConfigIter(Bool_t dir = kIterForward); 00030 void SecureConfig(AlgConfig &ac); 00031 00032 protected: 00033 Bool_t fOwnsConfigs; 00034 00035 ClassDef(ConfigRecord,1) // ConfigRecord 00036 }; 00037 00038 #endif // CONFIGRECORD_H
1.3.9.1