def decomposeData(self): self.dst_class = self.cols[0] # the name of the class owning the invoked method self.dst_name = self.cols[1] # the name of the invoked method # remove template parameters from destination method or function name # unsure whether this code is ever used if ( self.dst_name.startswith("<") and (">" in self.dst_name) ): # cut of the part until and including the first > character self.dst_name=self.dst_name[self.dst_name.index(">")+1:] self.dst_type = self.cols[2] # the type of the referenced entity: e.g., a method implementation self.src_class = self.cols[3] # the name of the class owning the method that invoked the method self.src_name = self.cols[4] # the name of the method invoking the other method # remove template parameters from source method or function name # unsure whether this code is ever used if ( self.src_name.startswith("<") and (">" in self.src_name) ): # cut of the part until and including the first > character self.src_name=self.src_name[self.src_name.index(">")+1:] self.src_type = self.cols[5] # the type of the referencing entity: e.g., a method implementation paramCols = ''.join(self.cols[9:]) self.actualSrcParams, self.actualDstParams = returnParamLists(paramCols) # the parameters as found in the references file self.actualSrcParams = self.actualSrcParams.replace(" *","*") self.actualDstParams = self.actualDstParams.replace(" *","*") self.sourceFile = self.cols[8] self.__cleanLineNumber(self.cols[7])
def decomposeData(self): self.dst_class = self.cols[ 0] # the name of the class owning the invoked method self.dst_name = self.cols[1] # the name of the invoked method # remove template parameters from destination method or function name # unsure whether this code is ever used if (self.dst_name.startswith("<") and (">" in self.dst_name)): # cut of the part until and including the first > character self.dst_name = self.dst_name[self.dst_name.index(">") + 1:] self.dst_type = self.cols[ 2] # the type of the referenced entity: e.g., a method implementation self.src_class = self.cols[ 3] # the name of the class owning the method that invoked the method self.src_name = self.cols[ 4] # the name of the method invoking the other method # remove template parameters from source method or function name # unsure whether this code is ever used if (self.src_name.startswith("<") and (">" in self.src_name)): # cut of the part until and including the first > character self.src_name = self.src_name[self.src_name.index(">") + 1:] self.src_type = self.cols[ 5] # the type of the referencing entity: e.g., a method implementation paramCols = ''.join(self.cols[9:]) self.actualSrcParams, self.actualDstParams = returnParamLists( paramCols) # the parameters as found in the references file self.actualSrcParams = self.actualSrcParams.replace(" *", "*") self.actualDstParams = self.actualDstParams.replace(" *", "*") self.sourceFile = self.cols[8] self.__cleanLineNumber(self.cols[7])
def decomposeData(self): self.dst_owner = self.cols[0].replace("#", "") self.dst_name = self.cols[1] self.dst_type = self.cols[2] self.src_class = self.cols[3].replace("#", "") self.src_name = self.cols[4] self.src_type = self.cols[5] paramCols = ''.join(self.cols[9:]) self.actualSrcParams, self.actualDstParams = returnParamLists(paramCols) self.actualSrcParams=self.actualSrcParams.replace("const ","").replace(" *","*").replace(" []","[]") self.actualDstParams=self.actualDstParams.replace("const ","").replace(" *","*").replace(" []","[]") self.acc_type = self.cols[6] self.dst_class = "" self.determineSourceLocation()
def decomposeData(self): self.dst_owner = self.cols[0].replace("#", "") self.dst_name = self.cols[1] self.dst_type = self.cols[2] self.src_class = self.cols[3].replace("#", "") self.src_name = self.cols[4] self.src_type = self.cols[5] paramCols = ''.join(self.cols[9:]) self.actualSrcParams, self.actualDstParams = returnParamLists( paramCols) self.actualSrcParams = self.actualSrcParams.replace( "const ", "").replace(" *", "*").replace(" []", "[]") self.actualDstParams = self.actualDstParams.replace( "const ", "").replace(" *", "*").replace(" []", "[]") self.acc_type = self.cols[6] self.dst_class = "" self.determineSourceLocation()