Ignore:
Timestamp:
Jul 14, 2015, 12:20:32 AM (4 years ago)
Author:
nmedfort
Message:

Force UnsupportedPropertyObject? kind to be UnsupportedProperty?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/PropertyObjects.h

    r4661 r4667  
    5454    }
    5555
    56     UnsupportedPropertyObject(property_t p, ClassTypeId k) : PropertyObject(p, k) {}
     56    UnsupportedPropertyObject(property_t p, ClassTypeId)
     57    : PropertyObject(p, ClassTypeId::UnsupportedProperty) {
     58
     59    }
    5760    UnicodeSet GetCodepointSet(const std::string &);
    5861    UnicodeSet GetCodepointSet(const int);
     
    144147
    145148    BinaryPropertyObject(UCD::property_t p, UnicodeSet s)
    146         : PropertyObject(p, ClassTypeId::BinaryProperty)
    147         , the_codepoint_set(s) {
     149    : PropertyObject(p, ClassTypeId::BinaryProperty)
     150    , noUninitialized(true)
     151    , mY(s) {
    148152
    149153    }
    150     UnicodeSet GetCodepointSet(const std::string & value_spec) const;
    151     UnicodeSet GetCodepointSet(const int property_enum_val) const;
     154    const UnicodeSet & GetCodepointSet(const std::string & value_spec);
     155    const UnicodeSet & GetCodepointSet(const int property_enum_val);
    152156private:
    153     UnicodeSet the_codepoint_set;
     157    bool noUninitialized;
     158    UnicodeSet mY;
     159    UnicodeSet mN;
    154160};
    155161
Note: See TracChangeset for help on using the changeset viewer.