00001 #ifndef DEFAULTS_H 00002 #define DEFAULTS_H 00003 00004 #include "SundanceDefs.h" 00005 #include "QuadratureFamily.h" 00006 #include "TSFVectorType.h" 00007 00008 namespace Sundance 00009 { 00010 00011 using namespace TSF; 00012 00013 class Defaults 00014 { 00015 public: 00016 00017 static TSFVectorType vectorType() ; 00018 00019 static QuadratureFamily quadratureFamily() ; 00020 00021 static void setQuadratureFamily(const QuadratureFamily& quad); 00022 00023 static void setVectorType(const TSFVectorType& vectorType); 00024 00025 private: 00026 00027 static QuadratureFamily quad_; 00028 00029 static bool& updatedQuad(); 00030 00031 static TSFVectorType vectorType_; 00032 00033 static bool& updatedVectorType(); 00034 00035 static QuadratureFamily quadratureFactorySetting(); 00036 00037 static TSFVectorType vectorTypeFactorySetting(); 00038 00039 }; 00040 } 00041 00042 #endif