Codebase list ruby-fxruby / 3ac7152a-ab2f-4628-b250-ba7cef029b84/upstream/1.6.45+git20230116.1.57f414d rdoc-sources / FXStringDict.rb
3ac7152a-ab2f-4628-b250-ba7cef029b84/upstream/1.6.45+git20230116.1.57f414d

Tree @3ac7152a-ab2f-4628-b250-ba7cef029b84/upstream/1.6.45+git20230116.1.57f414d (Download .tar.gz)

FXStringDict.rb @3ac7152a-ab2f-4628-b250-ba7cef029b84/upstream/1.6.45+git20230116.1.57f414draw · history · blame

module Fox
  #
  # An FXStringDict (string dictionary) object maps one string to another
  # string. The inserted strings are copied when they're inserted.
  #
  class FXStringDict < FXDict
    #
    # Return an initialized FXStringDict instance.
    #
    def initialize; end

    #
    # Insert a new string indexed by key, with given mark flag.
    #
    def insert(key, value, mrk=false); end

    #
    # Replace or insert a new string indexed by key, unless given mark is lower than the existing mark.
    #
    def replace(key, value, mrk=false); end

    #
    # Remove entry indexed by key.
    #
    def remove(key); end

    #
    # Return the entry indexed by _key_, or nil if the key does not exist.
    #
    def find(key); end

    #
    # Return the string at integer position _pos_.
    #
    def data(pos); end
  end
end