Back to index

freevial  1.2
Public Member Functions | Public Attributes | Static Public Attributes
common.freevialglob.Equip Class Reference

List of all members.

Public Member Functions

def __init__
def canviaCategoria
def activaCategoria
def teCategoria

Public Attributes

 preguntes_tot
 preguntes_ok

Static Public Attributes

string nom = ''
int punts = 0
int errors = 0
int figureta = 0
 actiu = False
 eliminat = False
 sfc_nom = None

Detailed Description

Definition at line 42 of file freevialglob.py.


Constructor & Destructor Documentation

Definition at line 53 of file freevialglob.py.

00053 
00054        def __init__( self ):
00055 
00056               self.preguntes_tot = []
00057               self.preguntes_ok = []
00058 
00059               for num in range(0, 6): 
00060                      self.preguntes_tot.append( 0 )
00061                      self.preguntes_ok.append( 0 )


Member Function Documentation

def common.freevialglob.Equip.activaCategoria (   self,
  categoria 
)

Definition at line 67 of file freevialglob.py.

00067 
00068        def activaCategoria( self, categoria ):
00069               # Les tenim desendreçades i això ho complica una mica
00070               self.figureta |= bitCategoria( categoria )
00071 

Here is the call graph for this function:

def common.freevialglob.Equip.canviaCategoria (   self,
  categoria 
)

Definition at line 62 of file freevialglob.py.

00062 
00063        def canviaCategoria( self, categoria ):
00064               # Les tenim desendreçades i això ho complica una mica
00065               self.figureta ^= bitCategoria( categoria )
00066 

Here is the call graph for this function:

def common.freevialglob.Equip.teCategoria (   self,
  categoria 
)

Definition at line 72 of file freevialglob.py.

00072 
00073        def teCategoria( self, categoria ) :
00074               return (self.figureta & bitCategoria( categoria )) != 0
00075 

Here is the call graph for this function:


Member Data Documentation

Definition at line 48 of file freevialglob.py.

Definition at line 49 of file freevialglob.py.

Definition at line 46 of file freevialglob.py.

Definition at line 47 of file freevialglob.py.

string common.freevialglob.Equip.nom = '' [static]

Definition at line 44 of file freevialglob.py.

Definition at line 56 of file freevialglob.py.

Definition at line 55 of file freevialglob.py.

Definition at line 45 of file freevialglob.py.

Definition at line 51 of file freevialglob.py.


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