Ignore:
Timestamp:
Jan 13, 2015, 4:01:06 PM (5 years ago)
Author:
nmedfort
Message:

Many use def info changes; removed dependency on boost system library. More work still needed on CSE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/symbol_generator.h

    r4410 r4416  
    1515
    1616class String;
     17class Integer;
    1718
    1819class SymbolGenerator {
    1920    friend class PabloBlock;
    2021public:
     22    typedef u_int64_t integer_t;
     23
    2124    String * get(const std::string name);
    2225    String * make(const std::string prefix);
     26    Integer * get(const integer_t value);
    2327protected:
    2428    SymbolGenerator();
     
    2731    }
    2832private:
    29     std::unordered_map<std::string, unsigned>   mPrefixMap;
     33    std::unordered_map<std::string, unsigned>   mPrefixMap;   
    3034    std::unordered_map<std::string, String *>   mStringMap;
     35    std::unordered_map<integer_t, Integer *>    mIntegerMap;
    3136};
    3237
Note: See TracChangeset for help on using the changeset viewer.