Codebase list ruby-fxruby / 3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a rdoc-sources / FXStringDict.rb
3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a

Tree @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

FXStringDict.rb @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2araw · 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