Change naming convention for enum class enumerators
[babeltrace.git] / src / cpp-common / bt2 / component-class.hpp
index efee3f43cfec81c5544089a4c3a010d70ed79047..3d30ad35f0f79ed758dae3a2a850bdd7e48dd5cd 100644 (file)
@@ -52,6 +52,13 @@ public:
     using typename _ThisBorrowedObject::LibObjPtr;
     using Shared = SharedObject<CommonComponentClass, LibObjT, internal::ComponentClassRefFuncs>;
 
+    enum class Type
+    {
+        Source = BT_COMPONENT_CLASS_TYPE_SOURCE,
+        Filter = BT_COMPONENT_CLASS_TYPE_FILTER,
+        Sink = BT_COMPONENT_CLASS_TYPE_SINK,
+    };
+
     explicit CommonComponentClass(const LibObjPtr libObjPtr) noexcept :
         _ThisBorrowedObject {libObjPtr}
     {
This page took 0.022547 seconds and 4 git commands to generate.