예제 #1
0
 def __ne__(self, other):
     # (x.offset < y.offset) or (y.offset < x.offset)
     return gr.tag_t_offset_compare(self.obj, other.obj) or \
            gr.tag_t_offset_compare(other.obj, self.obj)
예제 #2
0
 def __le__(self, other):
     # not (y.offset < x.offset)
     return not gr.tag_t_offset_compare(other.obj, self.obj)
예제 #3
0
 def __ge__(self, other):
     # not (x.offset < y.offset)
     return not gr.tag_t_offset_compare(self.obj, other.obj)
예제 #4
0
 def __gt__(self, other):
     # y.offset < x.offset
     return gr.tag_t_offset_compare(other.obj, self.obj)
예제 #5
0
 def __eq__(self, other):
     # not (x.offset < y.offset) and not (y.offset < x.offset)
     return not gr.tag_t_offset_compare(self.obj, other.obj) and \
            not gr.tag_t_offset_compare(other.obj, self.obj)
예제 #6
0
파일: tag_utils.py 프로젝트: zw143/gnuradio
 def __ne__(self, other):
     # (x.offset < y.offset) or (y.offset < x.offset)
     return gr.tag_t_offset_compare(self.obj, other.obj) or \
            gr.tag_t_offset_compare(other.obj, self.obj)
예제 #7
0
 def __lt__(self, other):
     # x.offset < y.offset
     return gr.tag_t_offset_compare(self.obj, other.obj)
예제 #8
0
파일: tag_utils.py 프로젝트: zw143/gnuradio
 def __ge__(self, other):
     # not (x.offset < y.offset)
     return not gr.tag_t_offset_compare(self.obj, other.obj)
예제 #9
0
파일: tag_utils.py 프로젝트: zw143/gnuradio
 def __le__(self, other):
     # not (y.offset < x.offset)
     return not gr.tag_t_offset_compare(other.obj, self.obj)
예제 #10
0
파일: tag_utils.py 프로젝트: zw143/gnuradio
 def __eq__(self, other):
     # not (x.offset < y.offset) and not (y.offset < x.offset)
     return not gr.tag_t_offset_compare(self.obj, other.obj) and \
            not gr.tag_t_offset_compare(other.obj, self.obj)
예제 #11
0
파일: tag_utils.py 프로젝트: zw143/gnuradio
 def __gt__(self, other):
     # y.offset < x.offset
     return gr.tag_t_offset_compare(other.obj, self.obj)
예제 #12
0
파일: tag_utils.py 프로젝트: zw143/gnuradio
 def __lt__(self, other):
     # x.offset < y.offset
     return gr.tag_t_offset_compare(self.obj, other.obj)