Main Page | Class Hierarchy | Class List | File List | Class Members

PlaceHolder.h

00001 
00002 // Copyright (c) 2003, The Institute for Genomic Research (TIGR), Rockville,
00003 // Maryland, U.S.A.  All rights reserved.
00005 #ifndef PLACEHOLDER_H
00006 #define PLACEHOLDER_H
00007 
00008 #include "Prediction.h"
00009 
00010 class ostream;
00011 
00023 class PlaceHolder : public Prediction {
00024 public:
00025   PlaceHolder(const Prediction& pred, const Prediction* big) : Prediction(pred), _totalSequence(big) { }
00026 
00027   virtual ~PlaceHolder() { }
00028 
00029   virtual void del() { }
00030   DataStorageType* makePlaceHolders() const { assert(0); return NULL; }
00031 
00036   const string& getTypeStr() const { return _ph; }
00037 
00041   const Prediction* getWholeShabang() const { return _totalSequence; }
00042 
00043   void print(std::ostream&,const std::string& ) const;
00044 
00045 private:
00046   const static string _ph;
00047   const Prediction* _totalSequence;
00048 };
00049 
00050 
00051 #endif