Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
xpcom.components._ComponentCollection Class Reference
Inheritance diagram for xpcom.components._ComponentCollection:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def keys
def items
def values
def has_key
def __len__
def __getattr__
def __getitem__

Private Attributes

 _dict_data

Detailed Description

Definition at line 72 of file components.py.


Constructor & Destructor Documentation

Reimplemented in xpcom.components._Classes.

Definition at line 76 of file components.py.

00076 
00077     def __init__(self):
        self._dict_data = None

Member Function Documentation

Definition at line 100 of file components.py.

00100 
00101     def __getattr__(self, attr):
00102         if self._dict_data is not None and self._dict_data.has_key(attr):
00103             return self._dict_data[attr]
        return self._get_one(attr)

Here is the call graph for this function:

Definition at line 104 of file components.py.

00104 
00105     def __getitem__(self, item):
00106         if self._dict_data is not None and self._dict_data.has_key(item):
00107             return self._dict_data[item]
00108         return self._get_one(item)

Here is the call graph for this function:

Definition at line 95 of file components.py.

00095 
00096     def __len__(self):
00097         if self._dict_data is None:
00098             self._dict_data = self._build_dict()
00099         return len(self._dict_data)

Here is the call graph for this function:

Definition at line 90 of file components.py.

00090 
00091     def has_key(self, key):
00092         if self._dict_data is None:
00093             self._dict_data = self._build_dict()
00094         return self._dict_data.has_key(key)

Here is the call graph for this function:

Definition at line 82 of file components.py.

00082 
00083     def items(self):
00084         if self._dict_data is None:
00085             self._dict_data = self._build_dict()
        return self._dict_data.items()

Here is the call graph for this function:

Definition at line 78 of file components.py.

00078 
00079     def keys(self):
00080         if self._dict_data is None:
00081             self._dict_data = self._build_dict()
        return self._dict_data.keys()

Here is the call graph for this function:

Definition at line 86 of file components.py.

00086 
00087     def values(self):
00088         if self._dict_data is None:
00089             self._dict_data = self._build_dict()
        return self._dict_data.values()

Here is the call graph for this function:


Member Data Documentation

Definition at line 77 of file components.py.


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