00001 00005 class CorrelModel_prm : public HandleId 00006 00007 { 00008 protected: 00009 00010 StringList subclasses; 00011 static Handle(CorrelModel_prm) master; 00012 virtual CorrelModel_prm* clone () { return new CorrelModel_prm(); } 00013 CorrelModel_prm (); 00014 00015 public: 00016 00017 static CorrelModel_prm* construct (); 00018 virtual ~CorrelModel_prm () {} 00019 00020 String subclass_name; 00021 int nsd; 00022 00023 virtual CorrelModel* create () const; 00024 const StringList& hier () const { return subclasses; } 00025 static const StringList& hierStatic () { return master->hier(); } 00026 static void registerPrmSubclass (CorrelModel_prm& sc) 00027 { master.rebind (sc); } 00028 static void unregisterPrmSubclass () 00029 { master.rebind (new CorrelModel_prm()); } 00030 }; 00031 00032