Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

FeatureParameter.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Feature_FeatureParameter_h
00002 #define Impala_Core_Feature_FeatureParameter_h
00003 
00004 namespace Impala
00005 {
00006 namespace Core
00007 {
00008 namespace Feature
00009 {
00010 
00011 
00012 class FeatureParameter
00013 {
00014 public:
00015 
00016     FeatureParameter(std::string name, std::string value)
00017     {
00018         mName = name;
00019         mValue = value;
00020     }
00021 
00022     std::string
00023     GetName() const
00024     {
00025         return mName;
00026     }
00027 
00028     std::string
00029     GetValue() const
00030     {
00031         return mValue;
00032     }
00033 
00034     bool
00035     operator==(const FeatureParameter& par) const
00036     {
00037         return ((mName == par.mName) && (mValue == par.mValue));
00038     }
00039 
00040     bool
00041     operator!=(const FeatureParameter& par) const
00042     {
00043         return ! ((mName == par.mName) && (mValue == par.mValue));
00044     }
00045 
00046 private:
00047 
00048     std::string mName;
00049     std::string mValue;
00050 
00051 };
00052 
00053 } // namespace Feature
00054 } // namespace Core
00055 } // namespace Impala
00056 
00057 #endif

Generated on Fri Mar 19 09:31:06 2010 for ImpalaSrc by  doxygen 1.5.1