#ifndef VEGA_VMetaString #define VEGA_VMetaString //*-- Author : Damir Buskulic 24/06/00 ////////////////////////////////////////////////////////////////////////// // // // VMetaString // // // // Helper class contains strings for meta data. Used for building // // branches of the meta tree. TString cannot be used because it is not // // collectable (does not derive from TObject. VMetaString is more // // efficient than TObjString for our purposes. // // // ////////////////////////////////////////////////////////////////////////// #include "TObject.h" #include "TObjString.h" #include "TString.h" class VMetaString : public TObject { private : TString mFileName; // Frames file name containing this frame TString mDetector; // Name of the detector that generated this frame TString mState; // Locked/not-locked state flag of the interferometer public : VMetaString(); VMetaString(TString fileName, TString detector="VIRGO", TString state="L"); ~VMetaString(); virtual TString GetFileName() {return mFileName;} virtual TString GetDetector() {return mDetector;} virtual TString GetState() {return mState;} virtual void SetFileName(TString filename) {mFileName=filename;} virtual void SetDetector(TString detector) {mDetector=detector;} virtual void SetState(TString state) {mState=state;} ClassDef(VMetaString,1) // Meta strings for one frame }; #endif