Logo Search packages:      
Sourcecode: relational version File versions  Download package

def relational::relation::header::getAttributesId (   self,
  param 
)

Returns a list with numeric index corresponding to field's name

Definition at line 544 of file relation.py.

00544                                    :
        '''Returns a list with numeric index corresponding to field's name'''    
        res=[]
        for i in param:
            for j in range(len(self.attributes)):
                if i==self.attributes[j]:
                    res.append(j)
        return res
        

if __name__=="__main__":


Generated by  Doxygen 1.6.0   Back to index