8#ifndef INCLUDED_S_BALTST_TESTATTRIBUTE
9#define INCLUDED_S_BALTST_TESTATTRIBUTE
53#include <bsl_cstring.h>
54#include <bsl_string.h>
55#include <bsl_string_view.h>
115 const char *ANNOTATION,
122 const char *ANNOTATION,
137template <
class TYPE,
class TEST_ATTRIBUTE>
193 const char *ANNOTATION,
202 const char *ANNOTATION,
211 const char *ANNOTATION,
221 const char *ANNOTATION,
225 return k_FORMATTING_MODE;
230 const char *ANNOTATION,
237 static_cast<int>(bsl::strlen(k_NAME)),
247 const char *ANNOTATION,
Definition bslstl_stringview.h:441
Definition s_baltst_testattribute.h:89
@ k_FORMATTING_MODE
Definition s_baltst_testattribute.h:95
@ k_ID
Definition s_baltst_testattribute.h:95
static const char * k_ANNOTATION
Definition s_baltst_testattribute.h:94
TestAttribute()
Definition s_baltst_testattribute.h:249
static bsl::string_view annotation()
Definition s_baltst_testattribute.h:214
static bdlat_AttributeInfo attributeInfo()
Definition s_baltst_testattribute.h:233
static int formattingMode()
Definition s_baltst_testattribute.h:223
static const char * k_NAME
Definition s_baltst_testattribute.h:93
static int id()
Definition s_baltst_testattribute.h:195
static bsl::string_view name()
Definition s_baltst_testattribute.h:204
Definition s_baltst_testattribute.h:138
TYPE Type
Definition s_baltst_testattribute.h:142
TEST_ATTRIBUTE Attribute
Definition s_baltst_testattribute.h:143
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition s_baltst_address.h:66
TestAttribute< TestAttribute_Data::k_ATTRIBUTE_2_ID, TestAttribute_Data::k_ATTRIBUTE_2_NAME, TestAttribute_Data::k_ATTRIBUTE_2_ANNOTATION, TestAttribute_Data::k_ATTRIBUTE_2_FORMATTING_MODE > TestAttribute2
Definition s_baltst_testattribute.h:180
TestAttribute< TestAttribute_Data::k_ATTRIBUTE_1_ID, TestAttribute_Data::k_ATTRIBUTE_1_NAME, TestAttribute_Data::k_ATTRIBUTE_1_ANNOTATION, TestAttribute_Data::k_ATTRIBUTE_1_FORMATTING_MODE > TestAttribute1
Definition s_baltst_testattribute.h:170
Definition bdlat_attributeinfo.h:137
Definition s_baltst_testattribute.h:67
static const char k_DEFAULT_ANNOTATION[1]
Definition s_baltst_testattribute.h:70
@ k_DEFAULT_FORMATTING_MODE
Definition s_baltst_testattribute.h:72
static const char k_DEFAULT_NAME[1]
Definition s_baltst_testattribute.h:71
Definition s_baltst_testattribute.h:150
static const int k_ATTRIBUTE_2_FORMATTING_MODE
Definition s_baltst_testattribute.h:159
static const char k_ATTRIBUTE_2_ANNOTATION[sizeof("")]
Definition s_baltst_testattribute.h:158
static const int k_ATTRIBUTE_1_ID
Definition s_baltst_testattribute.h:152
static const char k_ATTRIBUTE_2_NAME[sizeof("attr2")]
Definition s_baltst_testattribute.h:157
static const int k_ATTRIBUTE_2_ID
Definition s_baltst_testattribute.h:156
static const char k_ATTRIBUTE_1_NAME[sizeof("attr1")]
Definition s_baltst_testattribute.h:153
static const char k_ATTRIBUTE_1_ANNOTATION[sizeof("")]
Definition s_baltst_testattribute.h:154
static const int k_ATTRIBUTE_1_FORMATTING_MODE
Definition s_baltst_testattribute.h:155