Class: Fox::FXStringDict

Inherits:
FXDict show all
Defined in:
rdoc-sources/FXStringDict.rb

Overview

An FXStringDict (string dictionary) object maps one string to another string. The inserted strings are copied when they're inserted.

Instance Attribute Summary

Attributes inherited from FXDict

#first, #last, #length

Instance Method Summary collapse

Methods inherited from FXDict

#clear, #each_key, #empty?, #has_key?, #key, #keys, #marked?, #next, #prev

Methods inherited from FXObject

#bind, #handle, #load, #save, subclasses

Constructor Details

#initializeFXStringDict

Return an initialized FXStringDict instance.


10
# File 'rdoc-sources/FXStringDict.rb', line 10

def initialize; end

Instance Method Details

#data(pos) ⇒ Object

Return the string at integer position pos.


35
# File 'rdoc-sources/FXStringDict.rb', line 35

def data(pos); end

#find(key) ⇒ Object

Return the entry indexed by key, or nil if the key does not exist.


30
# File 'rdoc-sources/FXStringDict.rb', line 30

def find(key); end

#insert(key, value, mrk = false) ⇒ Object

Insert a new string indexed by key, with given mark flag.


15
# File 'rdoc-sources/FXStringDict.rb', line 15

def insert(key, value, mrk=false); end

#remove(key) ⇒ Object

Remove entry indexed by key.


25
# File 'rdoc-sources/FXStringDict.rb', line 25

def remove(key); end

#replace(key, value, mrk = false) ⇒ Object

Replace or insert a new string indexed by key, unless given mark is lower than the existing mark.


20
# File 'rdoc-sources/FXStringDict.rb', line 20

def replace(key, value, mrk=false); end