bt2: add integer range set support
[babeltrace.git] / src / bindings / python / bt2 / bt2 / __init__.py.in
index fe987a3dc9e58afe10e9281ea7ee38a5dd80a664..1e5b8ee38c848c5081260361df6f7bd0bcbd9d62 100644 (file)
@@ -43,10 +43,12 @@ from bt2.field_class import *
 from bt2.field_path import *
 from bt2.field import *
 from bt2.graph import *
+from bt2.integer_range_set import *
 from bt2.logging import *
 from bt2.message import *
 from bt2.message import _DiscardedEventsMessage
 from bt2.message import _DiscardedPacketsMessage
+from bt2.message import _EventMessage
 from bt2.message_iterator import *
 from bt2.message_iterator import _UserMessageIterator
 from bt2.packet import _Packet
@@ -63,7 +65,6 @@ from bt2.value import *
 from bt2.value import _Value
 from bt2.value import _IntegerValue
 from bt2.clock_snapshot import _UnknownClockSnapshot
-from bt2.clock_snapshot import _InfiniteClockSnapshot
 
 
 class Error(Exception):
@@ -74,11 +75,19 @@ class CreationError(Error):
     '''Raised when object creation fails due to memory issues.'''
 
 
-class InvalidQueryObject(Error):
+class InvalidObject(Error):
     pass
 
 
-class InvalidQueryParams(Error):
+class InvalidParams(Error):
+    pass
+
+
+class OverflowError(OverflowError):
+    pass
+
+
+class Unsupported(Exception):
     pass
 
 
@@ -94,15 +103,15 @@ class IncompleteUserClass(Error):
     pass
 
 
-class GraphCanceled(Exception):
+class Canceled(Exception):
     pass
 
 
-class QueryExecutorCanceled(Exception):
+class NonexistentClockSnapshot(Error):
     pass
 
 
-class NonexistentClockSnapshot(Error):
+class LoadingError(Error):
     pass
 
 
@@ -116,10 +125,10 @@ def _init_and_register_exit():
     import bt2.native_bt as _native_bt
     import atexit
 
-    atexit.register(_native_bt.py3_cc_exit_handler)
+    atexit.register(_native_bt.bt2_cc_exit_handler)
     version = (_native_bt.version_get_major(), _native_bt.version_get_minor(),
                _native_bt.version_get_patch(), _native_bt.version_get_extra())
-    _native_bt.py3_cc_init_from_bt2()
+    _native_bt.bt2_cc_init_from_bt2()
 
 
 _init_and_register_exit()
This page took 0.030422 seconds and 4 git commands to generate.