BDE 4.14.0 Production release
Loading...
Searching...
No Matches
s_baltst_testnullablevalueutil.h
Go to the documentation of this file.
1/// @file s_baltst_testnullablevalueutil.h
2///
3/// The content of this file has been pre-processed for Doxygen.
4///
5
6
7// s_baltst_testnullablevalueutil.h -*-C++-*-
8#ifndef INCLUDED_S_BALTST_TESTNULLABLEVALUEUTIL
9#define INCLUDED_S_BALTST_TESTNULLABLEVALUEUTIL
10
11#include <bsls_ident.h>
12BSLS_IDENT("$Id: $")
13
14/// @defgroup s_baltst_testnullablevalueutil s_baltst_testnullablevalueutil
15/// @brief Provide non-primitive operations on nullable values for testing.
16/// @addtogroup Standalones
17/// @{
18/// @addtogroup s_baltst
19/// @{
20/// @addtogroup s_baltst_testnullablevalueutil
21/// @{
22///
23/// <h1> Outline </h1>
24/// * <a href="#s_baltst_testnullablevalueutil-purpose"> Purpose</a>
25/// * <a href="#s_baltst_testnullablevalueutil-classes"> Classes </a>
26///
27/// # Purpose {#s_baltst_testnullablevalueutil-purpose}
28/// Provide non-primitive operations on nullable values for testing.
29///
30/// # Classes {#s_baltst_testnullablevalueutil-classes}
31///
32/// - s_baltst::TestNullableValueUtil: test utilities for nullable values
33/// @}
34/** @} */
35/** @} */
36
37/** @addtogroup Standalones
38 * @{
39 */
40/** @addtogroup s_baltst
41 * @{
42 */
43/** @addtogroup s_baltst_testnullablevalueutil
44 * @{
45 */
46/
47#include <bdlb_nullablevalue.h>
48
50
51
52namespace s_baltst {
53
54 // ============================
55 // struct TestNullableValueUtil
56 // ============================
57
59 // CLASS METHODS
60 template <class VALUE_TYPE>
63
64 template <class VALUE_TYPE>
65 static bdlb::NullableValue<VALUE_TYPE> generate(const VALUE_TYPE& value);
66};
67
68// ============================================================================
69// INLINE DEFINITIONS
70// ============================================================================
71
72 // ----------------------------
73 // struct TestNullableValueUtil
74 // ----------------------------
75
76// CLASS METHODS
77template <class VALUE_TYPE>
83
84template <class VALUE_TYPE>
90
91} // close package namespace
92
93
94#endif // INCLUDED_S_BALTST_TESTNULLABLEVALUEUTIL
95
96// ----------------------------------------------------------------------------
97// Copyright 2021 Bloomberg Finance L.P.
98//
99// Licensed under the Apache License, Version 2.0 (the "License");
100// you may not use this file except in compliance with the License.
101// You may obtain a copy of the License at
102//
103// http://www.apache.org/licenses/LICENSE-2.0
104//
105// Unless required by applicable law or agreed to in writing, software
106// distributed under the License is distributed on an "AS IS" BASIS,
107// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
108// See the License for the specific language governing permissions and
109// limitations under the License.
110// ----------------------------- END-OF-FILE ----------------------------------
111
112/** @} */
113/** @} */
114/** @} */
Definition bdlb_nullablevalue.h:257
Definition s_baltst_testplaceholder.h:63
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition s_baltst_address.h:66
Definition s_baltst_testnullablevalueutil.h:58
static bdlb::NullableValue< VALUE_TYPE > generate(const TestPlaceHolder< VALUE_TYPE > &)
Definition s_baltst_testnullablevalueutil.h:78