measure.cpp
/*
  Construct a single Measure, that has values across many years.

  All StatsWales JSON files have a codename for measures. You should convert 
  all codenames to lowercase.

  @param codename
    The codename for the measure

  @param label
    Human-readable (i.e. nice/explanatory) label for the measure

  @example
    std::string codename = "Pop";
    std::string label = "Population";
    Measure measure(codename, label);
*/
Construct a single Measure, that has values across many years.
All StatsWales JSON files have a codename for measures. You should convert
all codenames to lowercase.
Construct a single Measure that has values across many years . All StatsWales JSON files have a codename for measures . You should convert all codenames to lowercase .
Measure::Measure(std::string codename, const std::string &label) {
    std::string temp;
    for(char& c : codename) {
       temp += std::tolower(c);
    }
    this->codename = codename;
    this->label = label;
}
Measure :: Measure ( std :: string codename , const std :: string & label ) { std :: string temp ; for ( char & c : codename ) { temp += std :: tolower ( c ) ; } this -> codename = codename ; this -> label = label ; }
Construct a single Measure, that has values across many years.
Construct a single Measure that has values across many years .