flatfiledb::MUXDBObject Class Reference


Public Member Functions

def __init__
def attr_search

Data Fields

 objnum
 attrs

Detailed Description

Definition at line 350 of file flatfiledb.py.


Member Function Documentation

def flatfiledb::MUXDBObject::__init__ (   self,
  objnum 
)

Definition at line 351 of file flatfiledb.py.

00351                               :
00352         self.objnum = objnum
00353         self.attrs = {}
00354 
    def attr_search(self, str):

def flatfiledb::MUXDBObject::attr_search (   self,
  str 
)

Definition at line 355 of file flatfiledb.py.

00355                               :
00356         res = []
00357         for attr in self.attrs.keys():
00358             if string.find(self.attrs[attr], str) <> -1:
00359                 res.append((self.objnum, attr, self.attrs[attr]))
00360         return res
00361 
00362 
if __name__ == "__main__":


Field Documentation

flatfiledb::MUXDBObject::attrs

Definition at line 353 of file flatfiledb.py.

flatfiledb::MUXDBObject::objnum

Definition at line 352 of file flatfiledb.py.


The documentation for this class was generated from the following file:
Generated on Mon May 28 04:25:49 2007 for BattletechMUX by  doxygen 1.4.7