template <typename LibObjT>
struct CommonFieldClassSpec;
-// Functions specific to mutable field classes
+/* Functions specific to mutable field classes */
template <>
struct CommonFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant field classes
+/* Functions specific to constant field classes */
template <>
struct CommonFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonBitArrayFieldClass;
template <typename LibObjT>
class CommonFieldClass : public internal::BorrowedObj<LibObjT>
{
- // Allow appendMember() to call `fc._libObjPtr()`
+ /* Allow appendMember() to call `fc._libObjPtr()` */
friend class CommonStructureFieldClass<bt_field_class>;
- // Allow appendOption() to call `fc._libObjPtr()`
+ /* Allow appendOption() to call `fc._libObjPtr()` */
friend class CommonVariantWithoutSelectorFieldClass<bt_field_class>;
friend class CommonVariantWithIntegerSelectorFieldClass<
ConstVariantWithIntegerSelectorFieldClassOption<
const bt_field_class_variant_with_selector_field_integer_signed_option>>;
- // Allow *FieldClass() to call `fc._libObjPtr()`
+ /* Allow *FieldClass() to call `fc._libObjPtr()` */
friend class CommonEventClass<bt_event_class>;
friend class CommonStreamClass<bt_stream_class>;
- // Allow create*FieldClass() to call `fc._libObjPtr()`
+ /* Allow create*FieldClass() to call `fc._libObjPtr()` */
friend class CommonTraceClass<bt_trace_class>;
private:
template <typename LibObjT>
struct ConstEnumerationFieldClassMappingSpec;
-// Functions specific to unsigned enumeration field class mappings
+/* Functions specific to unsigned enumeration field class mappings */
template <>
struct ConstEnumerationFieldClassMappingSpec<const bt_field_class_enumeration_unsigned_mapping>
final
}
};
-// Functions specific to signed enumeration field class mappings
+/* Functions specific to signed enumeration field class mappings */
template <>
struct ConstEnumerationFieldClassMappingSpec<const bt_field_class_enumeration_signed_mapping> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class ConstEnumerationFieldClassMapping final : public internal::BorrowedObj<LibObjT>
template <typename MappingT>
struct CommonEnumerationFieldClassSpec;
-// Functions specific to unsigned enumeration field classes
+/* Functions specific to unsigned enumeration field classes */
template <>
struct CommonEnumerationFieldClassSpec<ConstUnsignedEnumerationFieldClassMapping> final
{
}
};
-// Functions specific to signed enumeration field classes
+/* Functions specific to signed enumeration field classes */
template <>
struct CommonEnumerationFieldClassSpec<ConstSignedEnumerationFieldClassMapping> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT, typename MappingT>
class CommonEnumerationFieldClass final : public CommonIntegerFieldClass<LibObjT>
template <typename LibObjT>
struct CommonStructureFieldClassMemberSpec;
-// Functions specific to mutable structure field class members
+/* Functions specific to mutable structure field class members */
template <>
struct CommonStructureFieldClassMemberSpec<bt_field_class_structure_member> final
{
}
};
-// Functions specific to constant structure field class members
+/* Functions specific to constant structure field class members */
template <>
struct CommonStructureFieldClassMemberSpec<const bt_field_class_structure_member> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStructureFieldClassMember final : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonStructureFieldClassSpec;
-// Functions specific to mutable structure field classes
+/* Functions specific to mutable structure field classes */
template <>
struct CommonStructureFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant structure field classes
+/* Functions specific to constant structure field classes */
template <>
struct CommonStructureFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStructureFieldClass final : public CommonFieldClass<LibObjT>
template <typename LibObjT>
struct CommonArrayFieldClassSpec;
-// Functions specific to mutable array field classes
+/* Functions specific to mutable array field classes */
template <>
struct CommonArrayFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant array field classes
+/* Functions specific to constant array field classes */
template <>
struct CommonArrayFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonArrayFieldClass : public CommonFieldClass<LibObjT>
template <typename LibObjT>
struct CommonOptionFieldClassSpec;
-// Functions specific to mutable option field classes
+/* Functions specific to mutable option field classes */
template <>
struct CommonOptionFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant option field classes
+/* Functions specific to constant option field classes */
template <>
struct CommonOptionFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonOptionFieldClass : public CommonFieldClass<LibObjT>
template <typename RangeSetT>
struct CommonOptionWithIntegerSelectorFieldClassSpec;
-// Functions specific to option field classes with unsigned integer ranges
+/* Functions specific to option field classes with unsigned integer ranges */
template <>
struct CommonOptionWithIntegerSelectorFieldClassSpec<ConstUnsignedIntegerRangeSet> final
{
}
};
-// Functions specific to option field classes with signed ranges
+/* Functions specific to option field classes with signed ranges */
template <>
struct CommonOptionWithIntegerSelectorFieldClassSpec<ConstSignedIntegerRangeSet> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT, typename RangeSetT>
class CommonOptionWithIntegerSelectorFieldClass : public CommonOptionWithSelectorFieldClass<LibObjT>
template <typename LibObjT>
struct CommonVariantFieldClassOptionSpec;
-// Functions specific to mutable variant field class options
+/* Functions specific to mutable variant field class options */
template <>
struct CommonVariantFieldClassOptionSpec<bt_field_class_variant_option> final
{
}
};
-// Functions specific to constant variant field class options
+/* Functions specific to constant variant field class options */
template <>
struct CommonVariantFieldClassOptionSpec<const bt_field_class_variant_option> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonVariantFieldClassOption : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct ConstVariantWithIntegerSelectorFieldClassOptionSpec;
-// Functions specific to variant field class options with unsigned integer selector
+/* Functions specific to variant field class options with unsigned integer selector */
template <>
struct ConstVariantWithIntegerSelectorFieldClassOptionSpec<
const bt_field_class_variant_with_selector_field_integer_unsigned_option>
}
};
-// Functions specific to variant field class options with signed integer selector
+/* Functions specific to variant field class options with signed integer selector */
template <>
struct ConstVariantWithIntegerSelectorFieldClassOptionSpec<
const bt_field_class_variant_with_selector_field_integer_signed_option>
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class ConstVariantWithIntegerSelectorFieldClassOption : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonVariantFieldClassSpec;
-// Functions specific to mutable variant field classes
+/* Functions specific to mutable variant field classes */
template <>
struct CommonVariantFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant variant field classes
+/* Functions specific to constant variant field classes */
template <>
struct CommonVariantFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonVariantFieldClass : public CommonFieldClass<LibObjT>
template <typename OptionT>
struct CommonVariantWithIntegerSelectorFieldClassSpec;
-// Functions specific to variant field classes with unsigned integer selector
+/* Functions specific to variant field classes with unsigned integer selector */
template <>
struct CommonVariantWithIntegerSelectorFieldClassSpec<
ConstVariantWithUnsignedIntegerSelectorFieldClassOption>
}
};
-// Functions specific to variant field classes with signed integer selector
+/* Functions specific to variant field classes with signed integer selector */
template <>
struct CommonVariantWithIntegerSelectorFieldClassSpec<
ConstVariantWithSignedIntegerSelectorFieldClassOption>
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT, typename OptionT>
class CommonVariantWithIntegerSelectorFieldClass : public CommonVariantFieldClass<LibObjT>
LibObjT, ConstVariantWithSignedIntegerSelectorFieldClassOption> {this->_libObjPtr()};
}
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_FIELD_CLASS_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_FIELD_CLASS_HPP */