PyPedal::odict::_values Class Reference

List of all members.

Public Member Functions

def __init__
def __call__
def __getitem__
def __setitem__
def __repr__
def __lt__
def __le__
def __eq__
def __ne__
def __gt__
def __ge__
def __cmp__
def __contains__
def __len__
def __iter__
def count
def index
def reverse
def sort
def __mul__
def __add__
def __radd__
def __delitem__
 following methods not implemented for values ##
def __iadd__
def __imul__
def append
def insert
def pop
def remove
def extend


Detailed Description

Custom object for accessing the values of an OrderedDict.

Can be called like the normal ``OrderedDict.values`` method, but also
supports indexing and sequence methods.

Definition at line 1062 of file odict.py.


Member Function Documentation

def PyPedal::odict::_values::__call__ (   self  ) 

Pretend to be the values method.

Definition at line 1073 of file odict.py.

def PyPedal::odict::_values::__getitem__ (   self,
  index 
)

Fetch the value at position i.

Definition at line 1077 of file odict.py.

def PyPedal::odict::_values::__setitem__ (   self,
  index,
  value 
)

Set the value at position i to value.

You can only do slice assignment to values if you supply a sequence of
equal length to the slice you are replacing.

Definition at line 1084 of file odict.py.

def PyPedal::odict::_values::reverse (   self  ) 

Reverse the values

Definition at line 1124 of file odict.py.

def PyPedal::odict::_values::sort (   self,
  args,
  kwds 
)

Sort the values.

Definition at line 1131 of file odict.py.


The documentation for this class was generated from the following file:

Generated on Thu May 1 12:33:43 2008 for PyPedal by  doxygen 1.5.5