This commit is contained in:
Steve Checkoway
2006-09-02 19:33:49 +00:00
parent 818626a270
commit a379ad2c29
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -51,7 +51,7 @@ void ThemeMetricDifficultiesToShow::Read()
m_v.push_back( d ); m_v.push_back( d );
} }
} }
const vector<Difficulty>& ThemeMetricDifficultiesToShow::GetValue() { return m_v; } const vector<Difficulty>& ThemeMetricDifficultiesToShow::GetValue() const { return m_v; }
ThemeMetricCourseDifficultiesToShow::ThemeMetricCourseDifficultiesToShow( const RString& sGroup, const RString& sName ) : ThemeMetricCourseDifficultiesToShow::ThemeMetricCourseDifficultiesToShow( const RString& sGroup, const RString& sName ) :
@@ -81,7 +81,7 @@ void ThemeMetricCourseDifficultiesToShow::Read()
m_v.push_back( d ); m_v.push_back( d );
} }
} }
const vector<CourseDifficulty>& ThemeMetricCourseDifficultiesToShow::GetValue() { return m_v; } const vector<CourseDifficulty>& ThemeMetricCourseDifficultiesToShow::GetValue() const { return m_v; }
static void RemoveStepsTypes( vector<StepsType>& inout, RString sStepsTypesToRemove ) static void RemoveStepsTypes( vector<StepsType>& inout, RString sStepsTypesToRemove )
@@ -120,7 +120,7 @@ void ThemeMetricStepsTypesToShow::Read()
RemoveStepsTypes( m_v, ThemeMetric<RString>::GetValue() ); RemoveStepsTypes( m_v, ThemeMetric<RString>::GetValue() );
} }
const vector<StepsType>& ThemeMetricStepsTypesToShow::GetValue() { return m_v; } const vector<StepsType>& ThemeMetricStepsTypesToShow::GetValue() const { return m_v; }
RString CommonMetrics::LocalizeOptionItem( const RString &s, bool bOptional ) RString CommonMetrics::LocalizeOptionItem( const RString &s, bool bOptional )
+3 -3
View File
@@ -19,7 +19,7 @@ public:
ThemeMetricDifficultiesToShow() { } ThemeMetricDifficultiesToShow() { }
ThemeMetricDifficultiesToShow( const RString& sGroup, const RString& sName ); ThemeMetricDifficultiesToShow( const RString& sGroup, const RString& sName );
void Read(); void Read();
const vector<Difficulty> &GetValue(); const vector<Difficulty> &GetValue() const;
private: private:
vector<Difficulty> m_v; vector<Difficulty> m_v;
}; };
@@ -29,7 +29,7 @@ public:
ThemeMetricCourseDifficultiesToShow() { } ThemeMetricCourseDifficultiesToShow() { }
ThemeMetricCourseDifficultiesToShow( const RString& sGroup, const RString& sName ); ThemeMetricCourseDifficultiesToShow( const RString& sGroup, const RString& sName );
void Read(); void Read();
const vector<CourseDifficulty> &GetValue(); const vector<CourseDifficulty> &GetValue() const;
private: private:
vector<CourseDifficulty> m_v; vector<CourseDifficulty> m_v;
}; };
@@ -39,7 +39,7 @@ public:
ThemeMetricStepsTypesToShow() { } ThemeMetricStepsTypesToShow() { }
ThemeMetricStepsTypesToShow( const RString& sGroup, const RString& sName ); ThemeMetricStepsTypesToShow( const RString& sGroup, const RString& sName );
void Read(); void Read();
const vector<StepsType> &GetValue(); const vector<StepsType> &GetValue() const;
private: private:
vector<StepsType> m_v; vector<StepsType> m_v;
}; };