parameters: (self, other)
return_statement: return 0
docstring: Comparison is not completely robust. Tracklists are not compared!!!
docstring_summary: Comparison is not completely robust. Tracklists are not compared!!!
docstring_tokens: Comparison is not completely robust . Tracklists are not compared!!!
function: def __cmp__(self, other):
          """ Comparison is not completely robust. Tracklists are not compared!!!
          """
  
          if other.kod != self.kod:
              # kod does not match
              return cmp(other.kod, self.kod)
          if other.ver != self.ver:
              # ver does not match
              return cmp(other.ver, self.ver)
          if other.loddat != self.loddat:
              # loddat does not match
              return cmp(other.loddat, self.loddat)
  
          if other.ncrd != self.ncrd:
              # ncrd does not match
              return cmp(other.nrcd, self.nrcd)
          if other.njsw != self.njsw:
              # njsw does not match
              return cmp(other.njsw, self.njsw)
  
          if other.np1 != self.np1:
              # np1 does not match
              return cmp(other.np1, self.np1)
          if other.nrss != self.nrss:
              # nrss does not match
              return cmp(other.nrss, self.nrss)
          if other.niss != self.niss:
              # nrss does not match
              return cmp(other.niss, self.niss)
  
          if other.niwr != self.niwr:
              # niwr does not match
              return cmp(other.niwr, self.niwr)
          if other.mipts != self.mipts:
              # mipts does not match
              return cmp(other.mipts, self.mipts)
          if other.kjaq != self.kjaq:
              # kjaq does not match
              return cmp(other.kjaq, self.kjaq)
  
          for surf in range(len(self.surflist)):
              if other.surflist[surf].id != self.surflist[surf].id:
                  # ID doesn't match
                  return cmp(other.surflist[surf].id, self.surflist[surf].id)
              if other.surflist[surf].facet_id != self.surflist[surf].facet_id:
                  # facet_id doesn't match
                  return cmp(other.surflist[surf].facet_id,
                             self.surflist[surf].facet_id)
              if other.surflist[surf].type != self.surflist[surf].type:
                  # type doesn't match
                  return cmp(other.surflist[surf].type,
                             self.surflist[surf].type)
              if other.surflist[surf].num_params != \
                      self.surflist[surf].num_params:
                  # num_params ddoesn't match
                  return cmp(other.surflist[surf].num_params,
                             self.surflist[surf].num_params)
              if other.surflist[surf].surf_params != \
                      self.surflist[surf].surf_params:
                  # surf_params doesn't match
                  return cmp(other.surflist[surf].surf_params,
                             self.surflist[surf].surf_params)
  
          return 0
function_tokens: def __cmp__ ( self , other ) : if other . kod != self . kod : # kod does not match return cmp ( other . kod , self . kod ) if other . ver != self . ver : # ver does not match return cmp ( other . ver , self . ver ) if other . loddat != self . loddat : # loddat does not match return cmp ( other . loddat , self . loddat ) if other . ncrd != self . ncrd : # ncrd does not match return cmp ( other . nrcd , self . nrcd ) if other . njsw != self . njsw : # njsw does not match return cmp ( other . njsw , self . njsw ) if other . np1 != self . np1 : # np1 does not match return cmp ( other . np1 , self . np1 ) if other . nrss != self . nrss : # nrss does not match return cmp ( other . nrss , self . nrss ) if other . niss != self . niss : # nrss does not match return cmp ( other . niss , self . niss ) if other . niwr != self . niwr : # niwr does not match return cmp ( other . niwr , self . niwr ) if other . mipts != self . mipts : # mipts does not match return cmp ( other . mipts , self . mipts ) if other . kjaq != self . kjaq : # kjaq does not match return cmp ( other . kjaq , self . kjaq ) for surf in range ( len ( self . surflist ) ) : if other . surflist [ surf ] . id != self . surflist [ surf ] . id : # ID doesn't match return cmp ( other . surflist [ surf ] . id , self . surflist [ surf ] . id ) if other . surflist [ surf ] . facet_id != self . surflist [ surf ] . facet_id : # facet_id doesn't match return cmp ( other . surflist [ surf ] . facet_id , self . surflist [ surf ] . facet_id ) if other . surflist [ surf ] . type != self . surflist [ surf ] . type : # type doesn't match return cmp ( other . surflist [ surf ] . type , self . surflist [ surf ] . type ) if other . surflist [ surf ] . num_params != self . surflist [ surf ] . num_params : # num_params ddoesn't match return cmp ( other . surflist [ surf ] . num_params , self . surflist [ surf ] . num_params ) if other . surflist [ surf ] . surf_params != self . surflist [ surf ] . surf_params : # surf_params doesn't match return cmp ( other . surflist [ surf ] . surf_params , self . surflist [ surf ] . surf_params ) return 0