00001 #ifndef COMPUTEARGUMENTS_H 00002 #define COMPUTEARGUMENTS_H 00003 00011 #include "ArgumentParser.h" 00012 00013 enum ComputeArgumentsNames 00014 { 00015 ArgFileIn, 00016 ArgFileOut, 00017 ArgTreshold, 00018 ArgCache, 00019 ArgDivide, 00020 ArgSteps, 00021 ArgSaves, 00022 ArgNormalize 00023 }; 00024 00028 class ComputeArguments : public ArgumentParser 00029 { 00030 public: 00031 00032 // Constructors/Destructors 00033 // 00034 00035 00039 ComputeArguments ( ); 00040 00044 virtual ~ComputeArguments ( ); 00045 00046 // Static public attributes 00047 // 00048 00049 static const char* NAMES[]; 00050 00051 // public attribute accessor methods 00052 // 00053 00057 float getTreshold ( ); 00058 00059 00063 float getDivide ( ); 00064 00065 00069 int getSteps ( ); 00070 00071 00075 int getSaves ( ); 00076 00077 00081 long getCache ( ); 00082 00083 00087 char* getFileIn ( ); 00088 00089 00093 char* getFileOut ( ); 00094 00095 00099 bool getNormalize ( ); 00100 00101 private: 00105 virtual void showHelpAppendix() {return;} 00106 // private attributes 00107 // 00108 00109 static const char* descripts_[]; 00110 static const bool reqs_[]; 00111 static const char* defaults_[]; 00112 00116 void initialize ( ); 00117 }; 00118 00119 #endif // COMPUTEARGUMENTS_H
1.5.2