cpp-common/bt2: use the "length" term everywhere instead of "size"
[babeltrace.git] / src / cpp-common / bt2 / trace-ir.hpp
index efdf0ba07e33bcd793a80f2dced0c11ad85bcf7b..5ee989601764d34fcea234c7eb46148e857cfa03 100644 (file)
@@ -720,7 +720,7 @@ public:
         return nonstd::nullopt;
     }
 
-    std::uint64_t size() const noexcept
+    std::uint64_t length() const noexcept
     {
         return bt_trace_get_stream_count(this->libObjPtr());
     }
@@ -1514,7 +1514,7 @@ public:
         return nonstd::nullopt;
     }
 
-    std::uint64_t size() const noexcept
+    std::uint64_t length() const noexcept
     {
         return bt_stream_class_get_event_class_count(this->libObjPtr());
     }
@@ -1996,7 +1996,7 @@ public:
             bt_trace_class_assigns_automatic_stream_class_id(this->libObjPtr()));
     }
 
-    std::uint64_t size() const noexcept
+    std::uint64_t length() const noexcept
     {
         return bt_trace_class_get_stream_class_count(this->libObjPtr());
     }
This page took 0.022998 seconds and 4 git commands to generate.