Ignore:
Timestamp:
Jul 18, 2015, 10:18:34 AM (4 years ago)
Author:
nmedfort
Message:

First attempt to intergrate 'generate_predefined_ucd_functions' into build process.

Location:
icGREP/icgrep-devel/icgrep/UCD
Files:
12 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/resolve_properties.cpp

    r4674 r4684  
    1515#include "UCD/PropertyObjectTable.h"
    1616#include "UCD/PropertyValueAliases.h"
    17 #include <boost/algorithm/string/case_conv.hpp>
    1817#include <string>
    1918#include <iostream>
     
    3130};
    3231
    33 inline std::string lowercase(const std::string & name) {
    34     std::locale loc;
    35     return boost::algorithm::to_lower_copy(name, loc);
    36 }
    37 
    3832inline int GetPropertyValueEnumCode(const UCD::property_t type, const std::string & value) {
    3933    return property_object_table[type]->GetPropertyValueEnumCode(value);
     
    8983        }
    9084        if (valit->second == Binary_ns::Y) {
    91             property->setFunctionName("__get_" + lowercase(property_enum_name[theprop]) + "_Y");
     85            property->setFunctionName("__get_" + property_enum_name[theprop] + "_Y");
    9286        }
    9387        else {
    94             Name * binprop = parser->createName("__get_" + lowercase(property_enum_name[theprop]) + "_Y");
     88            Name * binprop = parser->createName("__get_" + property_enum_name[theprop] + "_Y");
    9589            property->setDefinition(makeDiff(makeAny(), binprop));
    9690        }
     
    168162                auto theprop = propit->second;
    169163                if (isa<BinaryPropertyObject>(property_object_table[theprop])) {
    170                     property->setFunctionName("__get_" + lowercase(property_enum_name[theprop]) + "_Y");
     164                    property->setFunctionName("__get_" + property_enum_name[theprop] + "_Y");
    171165                }
    172166                else {
Note: See TracChangeset for help on using the changeset viewer.