Ignore:
Timestamp:
Oct 23, 2018, 10:18:07 AM (9 months ago)
Author:
cameron
Message:

Constant attributes for GetStringValue?, GetReflexiveSet? functions

File:
1 edited

Legend:

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

    r6158 r6175  
    4343    virtual const UnicodeSet GetCodepointSet(const std::string & prop_value_string);
    4444    virtual const UnicodeSet GetCodepointSetMatchingPattern(re::RE * pattern);
    45     virtual const UnicodeSet GetReflexiveSet();
    46     virtual const std::string GetStringValue(UCD::codepoint_t cp);
     45    virtual const UnicodeSet GetReflexiveSet() const;
     46    virtual const std::string GetStringValue(UCD::codepoint_t cp) const;
    4747
    4848    virtual const std::string & GetPropertyValueGrepString();
     
    214214    const UnicodeSet GetCodepointSet(const std::string & value_spec) override;
    215215    const UnicodeSet GetCodepointSetMatchingPattern(re::RE * pattern) override;
    216     const UnicodeSet GetReflexiveSet() override;
    217     const std::string GetStringValue(UCD::codepoint_t cp) override;
     216    const UnicodeSet GetReflexiveSet() const override;
     217    const std::string GetStringValue(UCD::codepoint_t cp) const override;
    218218   
    219219private:
     
    248248    const UnicodeSet GetCodepointSet(const std::string & value_spec) override;
    249249    const UnicodeSet GetCodepointSetMatchingPattern(re::RE * pattern) override;
    250     const UnicodeSet GetReflexiveSet() override;
     250    const UnicodeSet GetReflexiveSet() const override;
    251251    const PropertyObject & GetBaseObject() {return mBaseObject;}
    252     const UnicodeSet & GetOverriddenSet() {return mOverriddenSet;}
    253     const std::string GetStringValue(UCD::codepoint_t cp) override;
     252    const UnicodeSet & GetOverriddenSet() const {return mOverriddenSet;}
     253    const std::string GetStringValue(UCD::codepoint_t cp) const override;
    254254
    255255private:
Note: See TracChangeset for help on using the changeset viewer.