randomCoilShiftProcessor.h

Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
00003 //
00004 // $Id: randomCoilShiftProcessor.h,v 1.16 2005/12/23 17:01:56 amoll Exp $
00005 //
00006 
00007 #ifndef BALL_NMR_SHIFTMODULE_H
00008 # include<BALL/NMR/shiftModule.h>
00009 #endif
00010 
00011 #ifndef BALL_DATAYTPE_STRINGHASHMAP_H
00012 # include<BALL/DATATYPE/stringHashMap.h>
00013 #endif
00014 
00015 namespace BALL 
00016 { 
00020   class BALL_EXPORT RandomCoilShiftProcessor
00021     : public ShiftModule
00022   {
00023     public:
00024     
00025     BALL_CREATE(RandomCoilShiftProcessor)
00026 
00027     
00030 
00034     static const char* PROPERTY__RANDOM_COIL_SHIFT;
00035 
00037 
00040 
00043     RandomCoilShiftProcessor();
00044     
00047     RandomCoilShiftProcessor(const RandomCoilShiftProcessor& processor);
00048     
00051     virtual ~RandomCoilShiftProcessor();
00052     
00054 
00057 
00064     virtual void init();
00065 
00067 
00070     
00080     virtual Processor::Result operator () (Composite& composite);
00081 
00083 
00084     protected:
00085 
00086     /*_ The hash map containing the atom names and the random coil shifts.
00087     */
00088     StringHashMap<float>  shift_map_;
00089   };
00090   
00091 } // namespace BALL