コード例 #1
0
ファイル: tag_utils.py プロジェクト: 0x7678/gnuradio-wg-grc
 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
ファイル: tag_utils.py プロジェクト: 0x7678/gnuradio-wg-grc
 def __le__(self, other):
     # not (y.offset < x.offset)
     return not gr.tag_t_offset_compare(other.obj, self.obj)
コード例 #3
0
ファイル: tag_utils.py プロジェクト: 0x7678/gnuradio-wg-grc
 def __ge__(self, other):
     # not (x.offset < y.offset)
     return not gr.tag_t_offset_compare(self.obj, other.obj)
コード例 #4
0
ファイル: tag_utils.py プロジェクト: 0x7678/gnuradio-wg-grc
 def __gt__(self, other):
     # y.offset < x.offset
     return gr.tag_t_offset_compare(other.obj, self.obj)
コード例 #5
0
ファイル: tag_utils.py プロジェクト: 0x7678/gnuradio-wg-grc
 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
ファイル: tag_utils.py プロジェクト: 0x7678/gnuradio-wg-grc
 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)