Namespace zmbt¶
ZMBT root namespace. More...
Namespaces¶
Type | Name |
---|---|
namespace | api Framework API with fixture classes and entries from main ns. |
namespace | appconfig Test application configuration (work in progress) |
namespace | decor Signal type decorators API. |
namespace | expr Expression Language API. |
namespace | lang Expression Language implementation. |
namespace | logging Logging (work in progress) |
namespace | mapping Signal Mapping model functionality. |
namespace | reflect Reflection metafunctions. |
Classes¶
Type | Name |
---|---|
class | Environment Controlled environment data storage. |
struct | EnvironmentData Data container for the Environment . |
class | Generator |
class | JsonIter Boost JSON array iterator interface. |
class | JsonIterZipProdBase Boost JSON array iterator base for zip or cartesian product. |
class | JsonNode Mutator/accessor wrapper over shared JSON value. |
class | JsonProdIter Cartesian Product Iterator. |
class | JsonTraverse Boost JSON value depth-first traverser. |
class | JsonZipIter Zip Iterator. |
class | Param Generic Parameter Placeholder. |
class | Trigger Controlled environment interface executor. |
class | TriggerIfc Function wrapper. Transforms (T...) -> R or(O*)(T...) -> R to(shared_ptr<void>, JSON) -> JSON __ |
class | TriggerObj Object handler to be used with TriggerIfc . |
struct | base_error ZMBT Base exception. |
class | entity_id Base class for annotated key objects. |
struct | environment_error Environment operation error. |
struct | expression_error Expression evaluation error. |
struct | expression_not_implemented Expression not implemented. |
struct | has_bit_and <class T, class E> |
struct | has_bit_or <class T, class E> |
struct | has_bit_xor <class T, class E> |
struct | has_complement <class T, class E> |
struct | has_divides <class T, class E> |
struct | has_equal_to <class T, class E> |
struct | has_greater <class T, class E> |
struct | has_greater_equal <class T, class E> |
struct | has_left_shift <class T, class E> |
struct | has_less <class T, class E> |
struct | has_less_equal <class T, class E> |
struct | has_logical_and <class T, class E> |
struct | has_logical_not <class T, class E> |
struct | has_logical_or <class T, class E> |
struct | has_minus <class T, class E> |
struct | has_modulus <class T, class E> |
struct | has_multiplies <class T, class E> |
struct | has_negate <class T, class E> |
struct | has_not_equal_to <class T, class E> |
struct | has_plus <class T, class E> |
struct | has_right_shift <class T, class E> |
struct | has_serialization <class T, class E> |
struct | ifc_args <class T> |
struct | ifc_handle <class T> |
struct | ifc_host <class T, class> |
struct | ifc_pointer <class T> |
struct | ifc_return <class T> |
class | interface_id Pointer-based interface id with type annotation. |
struct | is_const_iterable <class, class> Variable template that checks if a type has begin() and end() member functions. |
struct | model_error Model definition error. |
class | object_id Pointer-based object id with type annotation. |
struct | serialization_error Failed serialization. |
struct | test_assertion_failure Failed test assertion. |
struct | type_tag <class T> Type tag to pass template parameters as function arguments. |
Public Types¶
Type | Name |
---|---|
enum | ChannelKind |
enum | FileFormat |
typedef std::add_const< T > | add_const |
typedef typename add_const< T >::type | add_const_t |
typedef std::add_cv< T > | add_cv |
typedef typename add_cv< T >::type | add_cv_t |
typedef std::add_lvalue_reference< T > | add_lvalue_reference |
typedef typename add_lvalue_reference< T >::type | add_lvalue_reference_t |
typedef std::add_pointer< T > | add_pointer |
typedef typename add_pointer< T >::type | add_pointer_t |
typedef std::add_rvalue_reference< T > | add_rvalue_reference |
typedef typename add_rvalue_reference< T >::type | add_rvalue_reference_t |
typedef std::add_volatile< T > | add_volatile |
typedef typename add_volatile< T >::type | add_volatile_t |
typedef integral_constant< bool, V > | bool_constant |
typedef std::common_type< T... > | common_type |
typedef typename common_type< T... >::type | common_type_t |
typedef std::conditional< B, T, F > | conditional |
typedef typename conditional< B, T, F >::type | conditional_t |
typedef std::decay< T > | decay |
typedef typename decay< T >::type | decay_t |
typedef mp_if< mp_any< C... >, R > | first_if_any_t |
typedef mp_if< mp_not< mp_any< C... > >, R > | first_if_none_t |
typedef mp_if< mp_all< C... >, R > | first_if_t |
typedef std::has_virtual_destructor< T > | has_virtual_destructor |
typedef typename ifc_args< T >::type | ifc_args_t |
typedef typename ifc_handle< T >::type | ifc_handle_t |
typedef typename ifc_host< T >::type | ifc_host_t |
typedef mp_any< ifc_is_fn_ref< T >, ifc_is_fn_ptr< T > > | ifc_is_fn_handle |
typedef mp_all< is_pointer< T >, is_function< remove_pointer_t< D > > > | ifc_is_fn_ptr |
typedef mp_all< is_lvalue_reference< T >, is_function< remove_pointer_t< D > > > | ifc_is_fn_ref |
typedef mp_any< ifc_is_functor_ptr< T >, ifc_is_functor_ref< T > > | ifc_is_functor_handle |
typedef mp_all< is_pointer< P >, is_class< D >, detail::support_calltraits_function< D > > | ifc_is_functor_ptr |
typedef mp_all< is_reference< T >, is_class< D >, detail::support_calltraits_function< D > > | ifc_is_functor_ref |
typedef is_member_pointer< D > | ifc_is_member_handle |
typedef is_member_object_pointer< D > | ifc_is_pmd_handle |
typedef is_member_function_pointer< D > | ifc_is_pmf_handle |
typedef typename ifc_pointer< T >::type | ifc_pointer_t |
typedef typename ifc_return< T >::type | ifc_return_t |
typedef typename detail::tuple_indexator< T >::type | indexator_for Make indexator tuple for T. |
typedef std::integral_constant< T, V > | integral_constant |
typedef std::is_abstract< T > | is_abstract |
typedef std::is_arithmetic< T > | is_arithmetic |
typedef std::is_array< T > | is_array |
typedef std::is_assignable< A, B > | is_assignable |
typedef std::is_base_of< A, B > | is_base_of |
typedef std::is_class< T > | is_class |
typedef std::is_compound< T > | is_compound |
typedef std::is_const< T > | is_const |
typedef std::is_constructible< T, Args... > | is_constructible |
typedef std::is_convertible< A, B > | is_convertible |
typedef std::is_copy_assignable< T > | is_copy_assignable |
typedef std::is_copy_constructible< T > | is_copy_constructible |
typedef std::is_default_constructible< T > | is_default_constructible |
typedef std::is_destructible< T > | is_destructible |
typedef std::is_empty< T > | is_empty |
typedef std::is_enum< T > | is_enum |
typedef std::is_final< T > | is_final |
typedef std::is_floating_point< T > | is_floating_point |
typedef std::is_function< T > | is_function |
typedef std::is_fundamental< T > | is_fundamental |
typedef mp_any< ifc_is_pmf_handle< T >, ifc_is_pmd_handle< T >, ifc_is_fn_handle< T >, ifc_is_functor_handle< T > > | is_ifc_handle |
typedef std::is_integral< T > | is_integral |
typedef std::is_lvalue_reference< T > | is_lvalue_reference |
typedef std::is_member_function_pointer< T > | is_member_function_pointer |
typedef std::is_member_object_pointer< T > | is_member_object_pointer |
typedef std::is_member_pointer< T > | is_member_pointer |
typedef std::is_move_assignable< T > | is_move_assignable |
typedef std::is_move_constructible< T > | is_move_constructible |
typedef std::is_nothrow_assignable< A, B > | is_nothrow_assignable |
typedef std::is_nothrow_constructible< T, Args... > | is_nothrow_constructible |
typedef std::is_nothrow_copy_assignable< T > | is_nothrow_copy_assignable |
typedef std::is_nothrow_copy_constructible< T > | is_nothrow_copy_constructible |
typedef std::is_nothrow_default_constructible< T > | is_nothrow_default_constructible |
typedef std::is_nothrow_destructible< T > | is_nothrow_destructible |
typedef std::is_nothrow_move_assignable< T > | is_nothrow_move_assignable |
typedef std::is_nothrow_move_constructible< T > | is_nothrow_move_constructible |
typedef std::is_null_pointer< T > | is_null_pointer |
typedef std::is_object< T > | is_object |
typedef std::is_pointer< T > | is_pointer |
typedef std::is_polymorphic< T > | is_polymorphic |
typedef std::is_reference< T > | is_reference |
typedef std::is_rvalue_reference< T > | is_rvalue_reference |
typedef std::is_same< A, B > | is_same |
typedef std::is_scalar< T > | is_scalar |
typedef std::is_signed< T > | is_signed |
typedef std::is_standard_layout< T > | is_standard_layout |
typedef std::is_trivial< T > | is_trivial |
typedef std::is_trivially_assignable< A, B > | is_trivially_assignable |
typedef std::is_trivially_constructible< T, Args... > | is_trivially_constructible |
typedef std::is_trivially_copy_assignable< T > | is_trivially_copy_assignable |
typedef std::is_trivially_copy_constructible< T > | is_trivially_copy_constructible |
typedef std::is_trivially_copyable< T > | is_trivially_copyable |
typedef std::is_trivially_default_constructible< T > | is_trivially_default_constructible |
typedef std::is_trivially_destructible< T > | is_trivially_destructible |
typedef std::is_trivially_move_assignable< T > | is_trivially_move_assignable |
typedef std::is_trivially_move_constructible< T > | is_trivially_move_constructible |
typedef mp_or< mp_similar< tuple<>, T >, mp_similar< std::pair< void, void >, T > > | is_tuple |
typedef mp_similar< decay_t< T >, type_tag< void > > | is_type_tag |
typedef std::is_union< T > | is_union |
typedef std::is_unsigned< T > | is_unsigned |
typedef std::is_void< T > | is_void |
typedef std::is_volatile< T > | is_volatile |
typedef std::function< boost::json::array::const_iterator()> | js_array_slice_const_gen |
typedef std::function< boost::json::array::iterator()> | js_array_slice_gen |
typedef std::make_signed< T > | make_signed |
typedef typename make_signed< T >::type | make_signed_t |
typedef std::make_unsigned< T > | make_unsigned |
typedef typename make_unsigned< T >::type | make_unsigned_t |
typedef std::remove_const< T > | remove_const |
typedef typename remove_const< T >::type | remove_const_t |
typedef std::remove_cv< T > | remove_cv |
typedef typename remove_cv< T >::type | remove_cv_t |
typedef remove_cv_t< remove_pointer_t< T > > | remove_cvptr_t |
typedef remove_cv_t< remove_reference_t< T > > | remove_cvref_t |
typedef std::remove_pointer< T > | remove_pointer |
typedef typename remove_pointer< T >::type | remove_pointer_t |
typedef std::remove_reference< T > | remove_reference |
typedef typename remove_reference< T >::type | remove_reference_t |
typedef std::remove_volatile< T > | remove_volatile |
typedef typename remove_volatile< T >::type | remove_volatile_t |
typedef mp_if< detail::is_cal< T >, R > | require_cal |
typedef mp_if< boost::json::has_value_from< T >, R > | require_json_from |
typedef mp_if< mp_and< detail::maybe_obj< O >, detail::is_cal< I > >, R > | require_literal |
typedef mp_if< mp_not< boost::json::has_value_from< T > >, R > | require_no_json_from |
typedef mp_if< detail::not_cal< T >, R > | require_not_cal |
typedef mp_if< mp_not< boost::json::is_string_like< T > >, R > | require_not_str |
typedef mp_if< detail::maybe_obj< T >, R > | require_obj |
typedef mp_if< boost::json::is_string_like< T >, R > | require_str |
typedef std::tuple< T... > | tuple |
typedef std::tuple_size< T > | tuple_size |
typedef mp_transform< remove_cvref_t, L > | tuple_unqf_t |
typedef std::underlying_type< T > | underlying_type |
typedef typename underlying_type< T >::type | underlying_type_t |
Public Attributes¶
Type | Name |
---|---|
constexpr add_pointer_t< remove_reference_t< ifc_host_t< T > > > | ifc_host_nullptr = {} Resolves to H*{} for member function pointers of H, or to nullptr_t for other callables. |
constexpr type_tag< T > const | type = {} type tag value |
Public Static Attributes¶
Type | Name |
---|---|
constexpr bool | has_virtual_destructor_v = has\_virtual\_destructor <T>::value |
constexpr bool | is_abstract_v = is\_abstract <T>::value |
constexpr bool | is_arithmetic_v = is\_arithmetic <T>::value |
constexpr bool | is_array_v = is\_array <T>::value |
constexpr bool | is_assignable_v = is\_assignable <A, B>::value |
constexpr bool | is_base_of_v = is\_base\_of <A, B>::value |
constexpr bool | is_class_v = is\_class <T>::value |
constexpr bool | is_compound_v = is\_compound <T>::value |
constexpr bool | is_const_v = is\_const <T>::value |
constexpr bool | is_convertible_v = is\_convertible <A, B>::value |
constexpr bool | is_copy_assignable_v = is\_copy\_assignable <T>::value |
constexpr bool | is_copy_constructible_v = is\_copy\_constructible <T>::value |
constexpr bool | is_default_constructible_v = is\_default\_constructible <T>::value |
constexpr bool | is_destructible_v = is\_destructible <T>::value |
constexpr bool | is_empty_v = is\_empty <T>::value |
constexpr bool | is_enum_v = is\_enum <T>::value |
constexpr bool | is_final_v = is\_final <T>::value |
constexpr bool | is_floating_point_v = is\_floating\_point <T>::value |
constexpr bool | is_function_v = is\_function <T>::value |
constexpr bool | is_fundamental_v = is\_fundamental <T>::value |
constexpr bool | is_integral_v = is\_integral <T>::value |
constexpr bool | is_lvalue_reference_v = is\_lvalue\_reference <T>::value |
constexpr bool | is_member_function_pointer_v = is\_member\_function\_pointer <T>::value |
constexpr bool | is_member_object_pointer_v = is\_member\_object\_pointer <T>::value |
constexpr bool | is_member_pointer_v = is\_member\_pointer <T>::value |
constexpr bool | is_move_assignable_v = is\_move\_assignable <T>::value |
constexpr bool | is_move_constructible_v = is\_move\_constructible <T>::value |
constexpr bool | is_nothrow_assignable_v = is\_nothrow\_assignable <A, B>::value |
constexpr bool | is_nothrow_copy_assignable_v = is\_nothrow\_copy\_assignable <T>::value |
constexpr bool | is_nothrow_copy_constructible_v = is\_nothrow\_copy\_constructible <T>::value |
constexpr bool | is_nothrow_default_constructible_v = is\_nothrow\_default\_constructible <T>::value |
constexpr bool | is_nothrow_destructible_v = is\_nothrow\_destructible <T>::value |
constexpr bool | is_nothrow_move_assignable_v = is\_nothrow\_move\_assignable <T>::value |
constexpr bool | is_nothrow_move_constructible_v = is\_nothrow\_move\_constructible <T>::value |
constexpr bool | is_null_pointer_v = is\_null\_pointer <T>::value |
constexpr bool | is_object_v = is\_object <T>::value |
constexpr bool | is_pointer_v = is\_pointer <T>::value |
constexpr bool | is_polymorphic_v = is\_polymorphic <T>::value |
constexpr bool | is_reference_v = is\_reference <T>::value |
constexpr bool | is_rvalue_reference_v = is\_rvalue\_reference <T>::value |
constexpr bool | is_same_v = is\_same <A, B>::value |
constexpr bool | is_scalar_v = is\_scalar <T>::value |
constexpr bool | is_signed_v = is\_signed <T>::value |
constexpr bool | is_standard_layout_v = is\_standard\_layout <T>::value |
constexpr bool | is_trivial_v = is\_trivial <T>::value |
constexpr bool | is_trivially_assignable_v = is\_trivially\_assignable <A, B>::value |
constexpr bool | is_trivially_copy_assignable_v = is\_trivially\_copy\_assignable <T>::value |
constexpr bool | is_trivially_copy_constructible_v = is\_trivially\_copy\_constructible <T>::value |
constexpr bool | is_trivially_copyable_v = is\_trivially\_copyable <T>::value |
constexpr bool | is_trivially_default_constructible_v = is\_trivially\_default\_constructible <T>::value |
constexpr bool | is_trivially_destructible_v = is\_trivially\_destructible <T>::value |
constexpr bool | is_trivially_move_assignable_v = is\_trivially\_move\_assignable <T>::value |
constexpr bool | is_trivially_move_constructible_v = is\_trivially\_move\_constructible <T>::value |
constexpr bool | is_union_v = is\_union <T>::value |
constexpr bool | is_unsigned_v = is\_unsigned <T>::value |
constexpr bool | is_void_v = is\_void <T>::value |
constexpr bool | is_volatile_v = is\_volatile <T>::value |
constexpr size_t | tuple_size_v = tuple\_size<T>::value |
Public Functions¶
Type | Name |
---|---|
void | InitZmbt (int argc, char ** argv) Initialize test application. |
Environment::TypedInterfaceHandle< I > | InterfaceRecord (I const & interface, object_id const & obj={ifc_host_nullptr< I >}) Make TypedInterfaceHandle instance. |
T | construct_or_default (A &&... args) Construct T from the given arguments or return default T if construction is invalid. |
T | convert_tuple_to (tuple< A... > & source) Convert given tuple to a tuple of type T. |
void | default_test_failure (boost::json::value const & report) default test failure handler |
reflect::detail::disable_hermetic_serialization< T, T > | dejsonize (boost::json::value const & v) |
reflect::detail::enable_hermetic_serialization< T, T > | dejsonize (boost::json::value const & v) |
void | dejsonize< void > (boost::json::value const &) |
void | dejsonize_array (boost::json::array const & jarr, T(&) array) |
std::string | format (boost::json::string_view fmtstr, A &&... arg) boost::format wrapper with printf-like api |
void | format_failure_report (std::ostream & os, boost::json::value const & report) default failure report formatter |
auto | get_ifc_handle (T const x) Get reference to callable object. |
auto | get_ifc_handle (T * x) |
auto | get_ifc_handle (T & x) |
auto | get_ifc_pointer (T x) Get pointer to callable object. |
auto | get_ifc_pointer (T * x) |
auto | get_ifc_pointer (T & x) |
std::string | get_tid () get thread id in string |
std::size_t | get_ts () get timestamp |
reflect::detail::disable_hermetic_serialization< TT, boost::json::value > | json_from (T && t) |
reflect::detail::enable_hermetic_serialization< TT, boost::json::value > | json_from (T && t) |
boost::json::value | json_from (std::tuple<>) |
boost::json::value | json_from_array (T const (&) array) |
js_array_slice_const_gen | make_slice_const_generator (boost::json::array const & src, std::int64_t const start=0, std::int64_t const stop=-1, std::int64_t const step=1) |
js_array_slice_gen | make_slice_generator (boost::json::array & src, std::int64_t const start, std::int64_t const stop=-1, std::int64_t const step=1) |
boost::json::value | param_transform (Param const & param, boost::json::array const & pointers, T && value) Transform Param value of type T to json value and handle type-specific environment effects. |
std::ostream & | pretty_print (std::ostream & os, boost::json::value const & jv, int const indent=0) Pretty print JSON data. |
boost::json::value | real_to_number (double value) |
boost::json::value | real_to_number (std::int64_t value) |
boost::json::array | slice (boost::json::array const & src, boost::json::string_view jp, std::int64_t const start, std::int64_t const stop=-1, std::int64_t const step=1) Slice array with inclusive boundaries and subsignal cherry-pick. |
boost::json::array | slice (boost::json::array const & src, std::int64_t const start, std::int64_t const stop=-1, std::int64_t const step=1) Slice array with inclusive boundaries. |
void | tuple_exchange (T1 & target, T2 const & src) |
std::string | type_name () Prettified typename. |
std::string | type_name (T) Prettified typename. |
Detailed Description¶
Copyright:
(c) Copyright 2022-2023 Volvo Car Corporation
Copyright:
(c) Copyright 2024 Zenseact AB
** **
SPDX-License-Identifier: Apache-2.0
Public Types Documentation¶
enum ChannelKind¶
enum FileFormat¶
typedef add_const¶
typedef add_const_t¶
typedef add_cv¶
typedef add_cv_t¶
typedef add_lvalue_reference¶
typedef add_lvalue_reference_t¶
typedef add_pointer¶
typedef add_pointer_t¶
typedef add_rvalue_reference¶
typedef add_rvalue_reference_t¶
typedef add_volatile¶
typedef add_volatile_t¶
typedef bool_constant¶
typedef common_type¶
typedef common_type_t¶
typedef conditional¶
typedef conditional_t¶
typedef decay¶
typedef decay_t¶
typedef first_if_any_t¶
typedef first_if_none_t¶
typedef first_if_t¶
typedef has_virtual_destructor¶
typedef ifc_args_t¶
typedef ifc_handle_t¶
typedef ifc_host_t¶
typedef ifc_is_fn_handle¶
typedef ifc_is_fn_ptr¶
typedef ifc_is_fn_ref¶
using zmbt::ifc_is_fn_ref = typedef mp_all< is_lvalue_reference<T>, is_function<remove_pointer_t<D> > >;
typedef ifc_is_functor_handle¶
typedef ifc_is_functor_ptr¶
using zmbt::ifc_is_functor_ptr = typedef mp_all< is_pointer<P>, is_class<D>, detail::support_calltraits_function<D> >;
typedef ifc_is_functor_ref¶
using zmbt::ifc_is_functor_ref = typedef mp_all< is_reference<T>, is_class<D>, detail::support_calltraits_function<D> >;
typedef ifc_is_member_handle¶
typedef ifc_is_pmd_handle¶
typedef ifc_is_pmf_handle¶
typedef ifc_pointer_t¶
typedef ifc_return_t¶
typedef indexator_for¶
Make indexator tuple for T.
Create std::tuple of std::integral_constant with 0, ..., N-1 values for input tuple of size N
Template parameters:
T
input tuple
typedef integral_constant¶
typedef is_abstract¶
typedef is_arithmetic¶
typedef is_array¶
typedef is_assignable¶
typedef is_base_of¶
typedef is_class¶
typedef is_compound¶
typedef is_const¶
typedef is_constructible¶
typedef is_convertible¶
typedef is_copy_assignable¶
typedef is_copy_constructible¶
typedef is_default_constructible¶
typedef is_destructible¶
typedef is_empty¶
typedef is_enum¶
typedef is_final¶
typedef is_floating_point¶
typedef is_function¶
typedef is_fundamental¶
typedef is_ifc_handle¶
using zmbt::is_ifc_handle = typedef mp_any< ifc_is_pmf_handle<T>, ifc_is_pmd_handle<T>, ifc_is_fn_handle<T>, ifc_is_functor_handle<T> >;
typedef is_integral¶
typedef is_lvalue_reference¶
typedef is_member_function_pointer¶
typedef is_member_object_pointer¶
typedef is_member_pointer¶
typedef is_move_assignable¶
typedef is_move_constructible¶
typedef is_nothrow_assignable¶
typedef is_nothrow_constructible¶
typedef is_nothrow_copy_assignable¶
typedef is_nothrow_copy_constructible¶
typedef is_nothrow_default_constructible¶
typedef is_nothrow_destructible¶
typedef is_nothrow_move_assignable¶
typedef is_nothrow_move_constructible¶
typedef is_null_pointer¶
typedef is_object¶
typedef is_pointer¶
typedef is_polymorphic¶
typedef is_reference¶
typedef is_rvalue_reference¶
typedef is_same¶
typedef is_scalar¶
typedef is_signed¶
typedef is_standard_layout¶
typedef is_trivial¶
typedef is_trivially_assignable¶
typedef is_trivially_constructible¶
typedef is_trivially_copy_assignable¶
typedef is_trivially_copy_constructible¶
typedef is_trivially_copyable¶
typedef is_trivially_default_constructible¶
using zmbt::is_trivially_default_constructible = typedef std:: is_trivially_default_constructible <T>;
typedef is_trivially_destructible¶
typedef is_trivially_move_assignable¶
typedef is_trivially_move_constructible¶
typedef is_tuple¶
using zmbt::is_tuple = typedef mp_or< mp_similar<tuple<>, T>, mp_similar<std::pair<void, void>, T> >;
typedef is_type_tag¶
typedef is_union¶
typedef is_unsigned¶
typedef is_void¶
typedef is_volatile¶
typedef js_array_slice_const_gen¶
typedef js_array_slice_gen¶
typedef make_signed¶
typedef make_signed_t¶
typedef make_unsigned¶
typedef make_unsigned_t¶
typedef remove_const¶
typedef remove_const_t¶
typedef remove_cv¶
typedef remove_cv_t¶
typedef remove_cvptr_t¶
typedef remove_cvref_t¶
typedef remove_pointer¶
typedef remove_pointer_t¶
typedef remove_reference¶
typedef remove_reference_t¶
typedef remove_volatile¶
typedef remove_volatile_t¶
typedef require_cal¶
typedef require_json_from¶
typedef require_literal¶
typedef require_no_json_from¶
typedef require_not_cal¶
typedef require_not_str¶
typedef require_obj¶
typedef require_str¶
typedef tuple¶
typedef tuple_size¶
typedef tuple_unqf_t¶
typedef underlying_type¶
typedef underlying_type_t¶
Public Attributes Documentation¶
variable ifc_host_nullptr¶
Resolves to H*{} for member function pointers of H, or to nullptr_t for other callables.
variable type¶
type tag value
Template parameters:
T
Public Static Attributes Documentation¶
variable has_virtual_destructor_v¶
variable is_abstract_v¶
variable is_arithmetic_v¶
variable is_array_v¶
variable is_assignable_v¶
variable is_base_of_v¶
variable is_class_v¶
variable is_compound_v¶
variable is_const_v¶
variable is_convertible_v¶
variable is_copy_assignable_v¶
variable is_copy_constructible_v¶
variable is_default_constructible_v¶
variable is_destructible_v¶
variable is_empty_v¶
variable is_enum_v¶
variable is_final_v¶
variable is_floating_point_v¶
variable is_function_v¶
variable is_fundamental_v¶
variable is_integral_v¶
variable is_lvalue_reference_v¶
variable is_member_function_pointer_v¶
variable is_member_object_pointer_v¶
variable is_member_pointer_v¶
variable is_move_assignable_v¶
variable is_move_constructible_v¶
variable is_nothrow_assignable_v¶
variable is_nothrow_copy_assignable_v¶
variable is_nothrow_copy_constructible_v¶
variable is_nothrow_default_constructible_v¶
variable is_nothrow_destructible_v¶
variable is_nothrow_move_assignable_v¶
variable is_nothrow_move_constructible_v¶
variable is_null_pointer_v¶
variable is_object_v¶
variable is_pointer_v¶
variable is_polymorphic_v¶
variable is_reference_v¶
variable is_rvalue_reference_v¶
variable is_same_v¶
variable is_scalar_v¶
variable is_signed_v¶
variable is_standard_layout_v¶
variable is_trivial_v¶
variable is_trivially_assignable_v¶
variable is_trivially_copy_assignable_v¶
variable is_trivially_copy_constructible_v¶
variable is_trivially_copyable_v¶
variable is_trivially_default_constructible_v¶
variable is_trivially_destructible_v¶
variable is_trivially_move_assignable_v¶
variable is_trivially_move_constructible_v¶
variable is_union_v¶
variable is_unsigned_v¶
variable is_void_v¶
variable is_volatile_v¶
variable tuple_size_v¶
Public Functions Documentation¶
function InitZmbt¶
Initialize test application.
function InterfaceRecord¶
Make TypedInterfaceHandle instance.
template<class I>
Environment::TypedInterfaceHandle < I > zmbt::InterfaceRecord (
I const & interface,
object_id const & obj={ ifc_host_nullptr < I >}
)
Template parameters:
I
Parameters:
obj
interface
Returns:
TypedInterfaceHandle_ _
function construct_or_default¶
Construct T from the given arguments or return default T if construction is invalid.
function convert_tuple_to¶
Convert given tuple to a tuple of type T.
Template parameters:
T
target tuple typeA
source tuple parameters
Parameters:
source
input tuple
Returns:
T
function default_test_failure¶
default test failure handler
function dejsonize¶
template<class T>
reflect::detail::disable_hermetic_serialization< T, T > zmbt::dejsonize (
boost::json::value const & v
)
function dejsonize¶
template<class T>
reflect::detail::enable_hermetic_serialization< T, T > zmbt::dejsonize (
boost::json::value const & v
)
function dejsonize< void >¶
function dejsonize_array¶
template<class T, std::size_t N>
void zmbt::dejsonize_array (
boost::json::array const & jarr,
T(&) array
)
function format¶
boost::format wrapper with printf-like api
function format_failure_report¶
default failure report formatter
function get_ifc_handle¶
Get reference to callable object.
function get_ifc_handle¶
function get_ifc_handle¶
function get_ifc_pointer¶
Get pointer to callable object.
function get_ifc_pointer¶
function get_ifc_pointer¶
function get_tid¶
get thread id in string
function get_ts¶
get timestamp
function json_from¶
template<class T, class TT>
reflect::detail::disable_hermetic_serialization< TT, boost::json::value > zmbt::json_from (
T && t
)
function json_from¶
template<class T, class TT>
reflect::detail::enable_hermetic_serialization< TT, boost::json::value > zmbt::json_from (
T && t
)
function json_from¶
function json_from_array¶
function make_slice_const_generator¶
js_array_slice_const_gen zmbt::make_slice_const_generator (
boost::json::array const & src,
std::int64_t const start=0,
std::int64_t const stop=-1,
std::int64_t const step=1
)
function make_slice_generator¶
js_array_slice_gen zmbt::make_slice_generator (
boost::json::array & src,
std::int64_t const start,
std::int64_t const stop=-1,
std::int64_t const step=1
)
function param_transform¶
Transform Param value of type T to json value and handle type-specific environment effects.
template<class T>
boost::json::value zmbt::param_transform (
Param const & param,
boost::json::array const & pointers,
T && value
)
function pretty_print¶
Pretty print JSON data.
std::ostream & zmbt::pretty_print (
std::ostream & os,
boost::json::value const & jv,
int const indent=0
)
Parameters:
os
jv
indent
initial indent
Returns:
std::ostream&
function real_to_number¶
Convert a double to a JSON number, storing result as uint64_t or int64_t if possible.
function real_to_number¶
Convert a signed integer to JSON number, storing result as uint64_t if possible.
function slice¶
Slice array with inclusive boundaries and subsignal cherry-pick.
boost::json::array zmbt::slice (
boost::json::array const & src,
boost::json::string_view jp,
std::int64_t const start,
std::int64_t const stop=-1,
std::int64_t const step=1
)
Parameters:
src
source arrayjp
JSON Pointer for subsignal cherry-pickstart
start index, 0-based, inclusive; negative value yields reverse index;stop
stop index, 0-based, inclusive; negative value yields reverse index;step
step value, negative value yields reverse iteration
Returns:
slice array
function slice¶
Slice array with inclusive boundaries.
boost::json::array zmbt::slice (
boost::json::array const & src,
std::int64_t const start,
std::int64_t const stop=-1,
std::int64_t const step=1
)
Parameters:
src
source arraystart
start index, 0-based, inclusive; negative value yields reverse index;stop
stop index, 0-based, inclusive; negative value yields reverse index;step
step value, negative value yields reverse iteration
Returns:
slice array
function tuple_exchange¶
function type_name¶
Prettified typename.
Template parameters:
T
Returns:
std::string
function type_name¶
Prettified typename.
Template parameters:
T
Returns:
std::string
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/api/model_test.hpp