Ignore:
Timestamp:
Dec 23, 2017, 7:59:51 AM (13 months ago)
Author:
cameron
Message:

isa and dyn_cast for Alphabets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/multiplex_CCs.cpp

    r5799 r5800  
    4949    return breakpoints;
    5050}
    51 
    5251
    5352void doMultiplexCCs(const std::vector<const re::CC *> & CCs,
     
    113112
    114113MultiplexedAlphabet::MultiplexedAlphabet(std::string alphabetName, const std::vector<const re::CC *> CCs)
    115     : Alphabet(alphabetName), mUnicodeSets(CCs) {
     114    : Alphabet(alphabetName, ClassTypeId::MultiplexedAlphabet), mUnicodeSets(CCs) {
    116115        if (CCs.size() > 0) {
    117116            mSourceAlphabet = CCs[0]->getAlphabet();
     
    123122}
    124123
    125 const Alphabet * MultiplexedAlphabet::getSourceAlphabet() {
     124const Alphabet * MultiplexedAlphabet::getSourceAlphabet() const {
    126125    return mSourceAlphabet;
    127126}
Note: See TracChangeset for help on using the changeset viewer.