Changeset 18961


Ignore:
Timestamp:
04/04/18 17:41:01 (7 years ago)
Author:
tbretz
Message:
ignore already exists in 'tuple'
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/root2sql.cc

    r18928 r18961  
    275275    const vector<Map> mymap      = conf.Vec<Map>("map");
    276276    const vector<Map> sqltypes   = conf.Vec<Map>("sql-type");
    277     const vector<string> ignore = conf.Vec<string>("ignore");
     277    const vector<string> _ignore = conf.Vec<string>("ignore");
    278278    const vector<string> primary = conf.Vec<string>("primary");
    279279
     
    351351
    352352        bool found = false;
    353         for (const auto &b: ignore)
     353        for (const auto &b: _ignore)
    354354        {
    355355            if (boost::regex_match(name, boost::regex(b)))
  • trunk/FACT++/src/rootifysql.cc

    r18929 r18961  
    109109    const uint16_t compression = conf.Get<uint16_t>("compression");
    110110    const string   delimiter   = conf.Get<string>("delimiter");
    111     const vector<string> ignore = conf.Vec<string>("ignore");
     111    const vector<string> _ignore = conf.Vec<string>("ignore");
     112    //const vector<Map> mymap    = conf.Vec<Map>("map");
    112113    // -------------------------------------------------------------------------
    113114
     
    241242
    242243        bool found = false;
    243         for (const auto &pattern: ignore)
     244        for (const auto &pattern: _ignore)
    244245        {
    245246            if (regex_match(l[i], regex(pattern)))
     
    265266        if (use)
    266267        {
     268            // string name = l[i];
     269            // for (const auto &m: mymap)
     270            //     name = boost::regex_replace(l[i], boost::regex(m.first), m.second);
     271
    267272            ttree->Branch(l[i].c_str(), buf.data()+i);
    268273            cols++;
Note: See TracChangeset for help on using the changeset viewer.