src/smp/components/extenders/input_array_double.h

Go to the documentation of this file.
00001 
00008 #ifndef _SMP_INPUT_ARRAY_DOUBLE_H_
00009 #define _SMP_INPUT_ARRAY_DOUBLE_H_
00010 
00011 
00012 namespace smp {
00013 
00015 
00021     template <int NUM_INPUTS>
00022     class input_array_double {
00023 
00024     public:
00025     
00027 
00031         double input_vars[NUM_INPUTS];
00032 
00033         input_array_double ();
00034         ~input_array_double ();
00035     
00036 
00040         input_array_double (const input_array_double<NUM_INPUTS> &input_in);
00041     
00042 
00049         const input_array_double<NUM_INPUTS> &operator=(const input_array_double<NUM_INPUTS> &input_in);
00050 
00051     
00061         inline double& operator[] (int index_in);
00062 
00063     };
00064 
00065 
00066 }
00067 
00068 #endif