8#ifndef INCLUDED_S_BALTST_BASICSCHEMA
9#define INCLUDED_S_BALTST_BASICSCHEMA
43#include <bslalg_typetraits.h>
60#include <bsl_string.h>
62#include <bsl_vector.h>
64#include <bsl_iosfwd.h>
65#include <bsl_limits.h>
72namespace s_baltst {
class BasicSchemaAnnotationElement; }
73namespace s_baltst {
class BasicSchemaEnumerationElementChoice; }
74namespace s_baltst {
class BasicSchemaEnumerationElement; }
75namespace s_baltst {
class BasicSchemaRestrictionElementChoice; }
76namespace s_baltst {
class BasicSchemaRestrictionElement; }
77namespace s_baltst {
class BasicSchemaSimpleTypeElementChoice; }
78namespace s_baltst {
class BasicSchemaSimpleTypeElement; }
79namespace s_baltst {
class BasicSchemaChoiceElement; }
80namespace s_baltst {
class BasicSchemaChoiceElementChoice; }
81namespace s_baltst {
class BasicSchemaComplexTypeElement; }
82namespace s_baltst {
class BasicSchemaComplexTypeElementChoice; }
83namespace s_baltst {
class BasicSchemaElement; }
84namespace s_baltst {
class BasicSchemaElementChoice; }
85namespace s_baltst {
class BasicSchemaSequenceElement; }
86namespace s_baltst {
class BasicSchemaSequenceElementChoice; }
87namespace s_baltst {
class BasicSchemaChoice; }
88namespace s_baltst {
class BasicSchema; }
148#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
149 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
174#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
175 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
192 template<
class MANIPULATOR>
201 template<
class MANIPULATOR>
210 template<
class MANIPULATOR>
232 bsl::ostream&
print(bsl::ostream& stream,
234 int spacesPerLevel = 4)
const;
242 template<
class ACCESSOR>
250 template<
class ACCESSOR>
259 template<
class ACCESSOR>
262 int nameLength)
const;
292template <
typename HASH_ALGORITHM>
367#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
368 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
393#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
394 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
418#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
419 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
431 template<
class MANIPULATOR>
452 bsl::ostream&
print(bsl::ostream& stream,
454 int spacesPerLevel = 4)
const;
464 template<
class ACCESSOR>
506template <
typename HASH_ALGORITHM>
577#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
578 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
603#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
604 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
621 template<
class MANIPULATOR>
630 template<
class MANIPULATOR>
639 template<
class MANIPULATOR>
665 bsl::ostream&
print(bsl::ostream& stream,
667 int spacesPerLevel = 4)
const;
675 template<
class ACCESSOR>
683 template<
class ACCESSOR>
692 template<
class ACCESSOR>
695 int nameLength)
const;
729template <
typename HASH_ALGORITHM>
807#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
808 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
833#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
834 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
858#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
859 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
868#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
869 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
881 template<
class MANIPULATOR>
907 bsl::ostream&
print(bsl::ostream& stream,
909 int spacesPerLevel = 4)
const;
919 template<
class ACCESSOR>
970template <
typename HASH_ALGORITHM>
1041#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1042 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1067#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1068 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1085 template<
class MANIPULATOR>
1094 template<
class MANIPULATOR>
1103 template<
class MANIPULATOR>
1129 bsl::ostream&
print(bsl::ostream& stream,
1131 int spacesPerLevel = 4)
const;
1139 template<
class ACCESSOR>
1147 template<
class ACCESSOR>
1156 template<
class ACCESSOR>
1159 int nameLength)
const;
1193template <
typename HASH_ALGORITHM>
1270#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1271 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1296#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1297 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1321#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1322 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1331#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1332 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1344 template<
class MANIPULATOR>
1370 bsl::ostream&
print(bsl::ostream& stream,
1372 int spacesPerLevel = 4)
const;
1382 template<
class ACCESSOR>
1433template <
typename HASH_ALGORITHM>
1507#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1508 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1533#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1534 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1551 template<
class MANIPULATOR>
1560 template<
class MANIPULATOR>
1569 template<
class MANIPULATOR>
1599 bsl::ostream&
print(bsl::ostream& stream,
1601 int spacesPerLevel = 4)
const;
1609 template<
class ACCESSOR>
1617 template<
class ACCESSOR>
1626 template<
class ACCESSOR>
1629 int nameLength)
const;
1667template <
typename HASH_ALGORITHM>
1735#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1736 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1761#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1762 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1779 template<
class MANIPULATOR>
1788 template<
class MANIPULATOR>
1797 template<
class MANIPULATOR>
1819 bsl::ostream&
print(bsl::ostream& stream,
1821 int spacesPerLevel = 4)
const;
1829 template<
class ACCESSOR>
1837 template<
class ACCESSOR>
1846 template<
class ACCESSOR>
1849 int nameLength)
const;
1879template <
typename HASH_ALGORITHM>
1956#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1957 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
1982#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
1983 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2007#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2008 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2017#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2018 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2030 template<
class MANIPULATOR>
2056 bsl::ostream&
print(bsl::ostream& stream,
2058 int spacesPerLevel = 4)
const;
2068 template<
class ACCESSOR>
2119template <
typename HASH_ALGORITHM>
2190#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2191 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2216#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2217 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2234 template<
class MANIPULATOR>
2243 template<
class MANIPULATOR>
2252 template<
class MANIPULATOR>
2278 bsl::ostream&
print(bsl::ostream& stream,
2280 int spacesPerLevel = 4)
const;
2288 template<
class ACCESSOR>
2296 template<
class ACCESSOR>
2305 template<
class ACCESSOR>
2308 int nameLength)
const;
2342template <
typename HASH_ALGORITHM>
2423#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2424 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2449#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2450 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2474#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2475 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2484#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2485 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2494#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2495 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2507 template<
class MANIPULATOR>
2538 bsl::ostream&
print(bsl::ostream& stream,
2540 int spacesPerLevel = 4)
const;
2550 template<
class ACCESSOR>
2610template <
typename HASH_ALGORITHM>
2705#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2706 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2730#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
2731 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
2748 template<
class MANIPULATOR>
2757 template<
class MANIPULATOR>
2766 template<
class MANIPULATOR>
2824 bsl::ostream&
print(bsl::ostream& stream,
2826 int spacesPerLevel = 4)
const;
2834 template<
class ACCESSOR>
2842 template<
class ACCESSOR>
2851 template<
class ACCESSOR>
2854 int nameLength)
const;
2920template <
typename HASH_ALGORITHM>
3000#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3001 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3026#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3027 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3051#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3052 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3061#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3062 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3071#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3072 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3084 template<
class MANIPULATOR>
3115 bsl::ostream&
print(bsl::ostream& stream,
3117 int spacesPerLevel = 4)
const;
3127 template<
class ACCESSOR>
3187template <
typename HASH_ALGORITHM>
3255#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3256 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3281#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3282 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3299 template<
class MANIPULATOR>
3308 template<
class MANIPULATOR>
3317 template<
class MANIPULATOR>
3339 bsl::ostream&
print(bsl::ostream& stream,
3341 int spacesPerLevel = 4)
const;
3349 template<
class ACCESSOR>
3357 template<
class ACCESSOR>
3366 template<
class ACCESSOR>
3369 int nameLength)
const;
3399template <
typename HASH_ALGORITHM>
3476#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3477 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3502#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3503 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3527#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3528 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3537#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3538 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3550 template<
class MANIPULATOR>
3576 bsl::ostream&
print(bsl::ostream& stream,
3578 int spacesPerLevel = 4)
const;
3588 template<
class ACCESSOR>
3639template <
typename HASH_ALGORITHM>
3719#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3720 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3744#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3745 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3769#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3770 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3779#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3780 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3789#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3790 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
3802 template<
class MANIPULATOR>
3833 bsl::ostream&
print(bsl::ostream& stream,
3835 int spacesPerLevel = 4)
const;
3845 template<
class ACCESSOR>
3905template <
typename HASH_ALGORITHM>
3985#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
3986 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
4010#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
4011 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
4028 template<
class MANIPULATOR>
4037 template<
class MANIPULATOR>
4046 template<
class MANIPULATOR>
4083 bsl::ostream&
print(bsl::ostream& stream,
4085 int spacesPerLevel = 4)
const;
4093 template<
class ACCESSOR>
4101 template<
class ACCESSOR>
4110 template<
class ACCESSOR>
4113 int nameLength)
const;
4159template <
typename HASH_ALGORITHM>
4180template <
class MANIPULATOR>
4193template <
class MANIPULATOR>
4196 enum { NOT_FOUND = -1 };
4207template <
class MANIPULATOR>
4209 MANIPULATOR& manipulator,
4213 enum { NOT_FOUND = -1 };
4217 if (0 == attributeInfo) {
4227 return d_documentation;
4231template <
class ACCESSOR>
4244template <
class ACCESSOR>
4247 enum { NOT_FOUND = -1 };
4258template <
class ACCESSOR>
4262 int nameLength)
const
4264 enum { NOT_FOUND = -1 };
4268 if (0 == attributeInfo) {
4278 return d_documentation;
4281template <
typename HASH_ALGORITHM>
4300: d_selectionId(SELECTION_ID_UNDEFINED)
4301, d_allocator_p(
bslma::Default::allocator(basicAllocator))
4312template <
class MANIPULATOR>
4315 switch (d_selectionId) {
4336 return d_selectionId;
4339template <
class ACCESSOR>
4342 switch (d_selectionId) {
4371template <
typename HASH_ALGORITHM>
4377 switch (
object.selectionId()) {
4378 case Class::SELECTION_ID_ANNOTATION:
4382 BSLS_ASSERT(Class::SELECTION_ID_UNDEFINED ==
object.selectionId());
4393template <
class MANIPULATOR>
4411template <
class MANIPULATOR>
4414 enum { NOT_FOUND = -1 };
4428template <
class MANIPULATOR>
4430 MANIPULATOR& manipulator,
4434 enum { NOT_FOUND = -1 };
4438 if (0 == attributeInfo) {
4458template <
class ACCESSOR>
4476template <
class ACCESSOR>
4479 enum { NOT_FOUND = -1 };
4493template <
class ACCESSOR>
4497 int nameLength)
const
4499 enum { NOT_FOUND = -1 };
4503 if (0 == attributeInfo) {
4522template <
typename HASH_ALGORITHM>
4542: d_selectionId(SELECTION_ID_UNDEFINED)
4543, d_allocator_p(
bslma::Default::allocator(basicAllocator))
4554template <
class MANIPULATOR>
4557 switch (d_selectionId) {
4588 return d_selectionId;
4591template <
class ACCESSOR>
4594 switch (d_selectionId) {
4639template <
typename HASH_ALGORITHM>
4645 switch (
object.selectionId()) {
4646 case Class::SELECTION_ID_ANNOTATION:
4649 case Class::SELECTION_ID_ENUMERATION:
4653 BSLS_ASSERT(Class::SELECTION_ID_UNDEFINED ==
object.selectionId());
4664template <
class MANIPULATOR>
4682template <
class MANIPULATOR>
4685 enum { NOT_FOUND = -1 };
4699template <
class MANIPULATOR>
4701 MANIPULATOR& manipulator,
4705 enum { NOT_FOUND = -1 };
4709 if (0 == attributeInfo) {
4729template <
class ACCESSOR>
4747template <
class ACCESSOR>
4750 enum { NOT_FOUND = -1 };
4764template <
class ACCESSOR>
4768 int nameLength)
const
4770 enum { NOT_FOUND = -1 };
4774 if (0 == attributeInfo) {
4793template <
typename HASH_ALGORITHM>
4813: d_selectionId(SELECTION_ID_UNDEFINED)
4814, d_allocator_p(
bslma::Default::allocator(basicAllocator))
4825template <
class MANIPULATOR>
4828 switch (d_selectionId) {
4859 return d_selectionId;
4862template <
class ACCESSOR>
4865 switch (d_selectionId) {
4910template <
typename HASH_ALGORITHM>
4916 switch (
object.selectionId()) {
4917 case Class::SELECTION_ID_ANNOTATION:
4920 case Class::SELECTION_ID_RESTRICTION:
4924 BSLS_ASSERT(Class::SELECTION_ID_UNDEFINED ==
object.selectionId());
4935template <
class MANIPULATOR>
4958template <
class MANIPULATOR>
4961 enum { NOT_FOUND = -1 };
4978template <
class MANIPULATOR>
4980 MANIPULATOR& manipulator,
4984 enum { NOT_FOUND = -1 };
4988 if (0 == attributeInfo) {
5004 return d_preserveEnumOrder;
5014template <
class ACCESSOR>
5037template <
class ACCESSOR>
5040 enum { NOT_FOUND = -1 };
5057template <
class ACCESSOR>
5061 int nameLength)
const
5063 enum { NOT_FOUND = -1 };
5067 if (0 == attributeInfo) {
5083 return d_preserveEnumOrder;
5092template <
typename HASH_ALGORITHM>
5099 hashAppend(hashAlg,
object.preserveEnumOrder());
5111template <
class MANIPULATOR>
5124template <
class MANIPULATOR>
5127 enum { NOT_FOUND = -1 };
5138template <
class MANIPULATOR>
5140 MANIPULATOR& manipulator,
5144 enum { NOT_FOUND = -1 };
5148 if (0 == attributeInfo) {
5162template <
class ACCESSOR>
5175template <
class ACCESSOR>
5178 enum { NOT_FOUND = -1 };
5189template <
class ACCESSOR>
5193 int nameLength)
const
5195 enum { NOT_FOUND = -1 };
5199 if (0 == attributeInfo) {
5212template <
typename HASH_ALGORITHM>
5231: d_selectionId(SELECTION_ID_UNDEFINED)
5232, d_allocator_p(
bslma::Default::allocator(basicAllocator))
5243template <
class MANIPULATOR>
5246 switch (d_selectionId) {
5277 return d_selectionId;
5280template <
class ACCESSOR>
5283 switch (d_selectionId) {
5328template <
typename HASH_ALGORITHM>
5334 switch (
object.selectionId()) {
5335 case Class::SELECTION_ID_ANNOTATION:
5338 case Class::SELECTION_ID_ELEMENT:
5342 BSLS_ASSERT(Class::SELECTION_ID_UNDEFINED ==
object.selectionId());
5353template <
class MANIPULATOR>
5371template <
class MANIPULATOR>
5374 enum { NOT_FOUND = -1 };
5388template <
class MANIPULATOR>
5390 MANIPULATOR& manipulator,
5394 enum { NOT_FOUND = -1 };
5398 if (0 == attributeInfo) {
5418template <
class ACCESSOR>
5436template <
class ACCESSOR>
5439 enum { NOT_FOUND = -1 };
5453template <
class ACCESSOR>
5457 int nameLength)
const
5459 enum { NOT_FOUND = -1 };
5463 if (0 == attributeInfo) {
5482template <
typename HASH_ALGORITHM>
5502: d_selectionId(SELECTION_ID_UNDEFINED)
5503, d_allocator_p(
bslma::Default::allocator(basicAllocator))
5514template <
class MANIPULATOR>
5517 switch (d_selectionId) {
5558 return d_selectionId;
5561template <
class ACCESSOR>
5564 switch (d_selectionId) {
5625template <
typename HASH_ALGORITHM>
5631 switch (
object.selectionId()) {
5632 case Class::SELECTION_ID_ANNOTATION:
5635 case Class::SELECTION_ID_SEQUENCE:
5638 case Class::SELECTION_ID_CHOICE:
5642 BSLS_ASSERT(Class::SELECTION_ID_UNDEFINED ==
object.selectionId());
5653template <
class MANIPULATOR>
5711template <
class MANIPULATOR>
5714 enum { NOT_FOUND = -1 };
5752template <
class MANIPULATOR>
5754 MANIPULATOR& manipulator,
5758 enum { NOT_FOUND = -1 };
5762 if (0 == attributeInfo) {
5802 return d_cppdefault;
5814 return d_allocatesMemory;
5820 return d_allowsDirectManipulation;
5830template <
class ACCESSOR>
5888template <
class ACCESSOR>
5891 enum { NOT_FOUND = -1 };
5929template <
class ACCESSOR>
5933 int nameLength)
const
5935 enum { NOT_FOUND = -1 };
5939 if (0 == attributeInfo) {
5979 return d_cppdefault;
5991 return d_allocatesMemory;
5997 return d_allowsDirectManipulation;
6006template <
typename HASH_ALGORITHM>
6019 hashAppend(hashAlg,
object.allocatesMemory());
6020 hashAppend(hashAlg,
object.allowsDirectManipulation());
6034: d_selectionId(SELECTION_ID_UNDEFINED)
6035, d_allocator_p(
bslma::Default::allocator(basicAllocator))
6046template <
class MANIPULATOR>
6049 switch (d_selectionId) {
6090 return d_selectionId;
6093template <
class ACCESSOR>
6096 switch (d_selectionId) {
6157template <
typename HASH_ALGORITHM>
6163 switch (
object.selectionId()) {
6164 case Class::SELECTION_ID_ANNOTATION:
6167 case Class::SELECTION_ID_SIMPLE_TYPE:
6170 case Class::SELECTION_ID_COMPLEX_TYPE:
6174 BSLS_ASSERT(Class::SELECTION_ID_UNDEFINED ==
object.selectionId());
6185template <
class MANIPULATOR>
6198template <
class MANIPULATOR>
6201 enum { NOT_FOUND = -1 };
6212template <
class MANIPULATOR>
6214 MANIPULATOR& manipulator,
6218 enum { NOT_FOUND = -1 };
6222 if (0 == attributeInfo) {
6236template <
class ACCESSOR>
6249template <
class ACCESSOR>
6252 enum { NOT_FOUND = -1 };
6263template <
class ACCESSOR>
6267 int nameLength)
const
6269 enum { NOT_FOUND = -1 };
6273 if (0 == attributeInfo) {
6286template <
typename HASH_ALGORITHM>
6305: d_selectionId(SELECTION_ID_UNDEFINED)
6306, d_allocator_p(
bslma::Default::allocator(basicAllocator))
6317template <
class MANIPULATOR>
6320 switch (d_selectionId) {
6351 return d_selectionId;
6354template <
class ACCESSOR>
6357 switch (d_selectionId) {
6402template <
typename HASH_ALGORITHM>
6408 switch (
object.selectionId()) {
6409 case Class::SELECTION_ID_ANNOTATION:
6412 case Class::SELECTION_ID_ELEMENT:
6416 BSLS_ASSERT(Class::SELECTION_ID_UNDEFINED ==
object.selectionId());
6429: d_selectionId(SELECTION_ID_UNDEFINED)
6430, d_allocator_p(
bslma::Default::allocator(basicAllocator))
6441template <
class MANIPULATOR>
6444 switch (d_selectionId) {
6485 return d_selectionId;
6488template <
class ACCESSOR>
6491 switch (d_selectionId) {
6552template <
typename HASH_ALGORITHM>
6558 switch (
object.selectionId()) {
6559 case Class::SELECTION_ID_ANNOTATION:
6562 case Class::SELECTION_ID_SIMPLE_TYPE:
6565 case Class::SELECTION_ID_COMPLEX_TYPE:
6569 BSLS_ASSERT(Class::SELECTION_ID_UNDEFINED ==
object.selectionId());
6580template <
class MANIPULATOR>
6613template <
class MANIPULATOR>
6616 enum { NOT_FOUND = -1 };
6639template <
class MANIPULATOR>
6641 MANIPULATOR& manipulator,
6645 enum { NOT_FOUND = -1 };
6649 if (0 == attributeInfo) {
6677 return d_elementFormDefault;
6687template <
class ACCESSOR>
6720template <
class ACCESSOR>
6723 enum { NOT_FOUND = -1 };
6746template <
class ACCESSOR>
6750 int nameLength)
const
6752 enum { NOT_FOUND = -1 };
6756 if (0 == attributeInfo) {
6784 return d_elementFormDefault;
6793template <
typename HASH_ALGORITHM>
6802 hashAppend(hashAlg,
object.elementFormDefault());
6823 return !(lhs == rhs);
6828 bsl::ostream& stream,
6831 return rhs.
print(stream, 0, -1);
6843 case Class::SELECTION_ID_ANNOTATION:
6860 return !(lhs == rhs);
6865 bsl::ostream& stream,
6868 return rhs.
print(stream, 0, -1);
6886 return !(lhs == rhs);
6891 bsl::ostream& stream,
6894 return rhs.
print(stream, 0, -1);
6906 case Class::SELECTION_ID_ANNOTATION:
6908 case Class::SELECTION_ID_ENUMERATION:
6925 return !(lhs == rhs);
6930 bsl::ostream& stream,
6933 return rhs.
print(stream, 0, -1);
6951 return !(lhs == rhs);
6956 bsl::ostream& stream,
6959 return rhs.
print(stream, 0, -1);
6971 case Class::SELECTION_ID_ANNOTATION:
6973 case Class::SELECTION_ID_RESTRICTION:
6990 return !(lhs == rhs);
6995 bsl::ostream& stream,
6998 return rhs.
print(stream, 0, -1);
7017 return !(lhs == rhs);
7022 bsl::ostream& stream,
7025 return rhs.
print(stream, 0, -1);
7042 return !(lhs == rhs);
7047 bsl::ostream& stream,
7050 return rhs.
print(stream, 0, -1);
7062 case Class::SELECTION_ID_ANNOTATION:
7064 case Class::SELECTION_ID_ELEMENT:
7081 return !(lhs == rhs);
7086 bsl::ostream& stream,
7089 return rhs.
print(stream, 0, -1);
7107 return !(lhs == rhs);
7112 bsl::ostream& stream,
7115 return rhs.
print(stream, 0, -1);
7127 case Class::SELECTION_ID_ANNOTATION:
7129 case Class::SELECTION_ID_SEQUENCE:
7131 case Class::SELECTION_ID_CHOICE:
7148 return !(lhs == rhs);
7153 bsl::ostream& stream,
7156 return rhs.
print(stream, 0, -1);
7182 return !(lhs == rhs);
7187 bsl::ostream& stream,
7190 return rhs.
print(stream, 0, -1);
7202 case Class::SELECTION_ID_ANNOTATION:
7204 case Class::SELECTION_ID_SIMPLE_TYPE:
7206 case Class::SELECTION_ID_COMPLEX_TYPE:
7223 return !(lhs == rhs);
7228 bsl::ostream& stream,
7231 return rhs.
print(stream, 0, -1);
7248 return !(lhs == rhs);
7253 bsl::ostream& stream,
7256 return rhs.
print(stream, 0, -1);
7268 case Class::SELECTION_ID_ANNOTATION:
7270 case Class::SELECTION_ID_ELEMENT:
7287 return !(lhs == rhs);
7292 bsl::ostream& stream,
7295 return rhs.
print(stream, 0, -1);
7307 case Class::SELECTION_ID_ANNOTATION:
7309 case Class::SELECTION_ID_SIMPLE_TYPE:
7311 case Class::SELECTION_ID_COMPLEX_TYPE:
7328 return !(lhs == rhs);
7333 bsl::ostream& stream,
7336 return rhs.
print(stream, 0, -1);
7345 return lhs.
xs() == rhs.
xs()
7357 return !(lhs == rhs);
7362 bsl::ostream& stream,
7365 return rhs.
print(stream, 0, -1);
Definition bdlb_nullablevalue.h:257
Definition bslstl_vector.h:1025
Definition bslma_allocator.h:457
Definition s_baltst_basicschema.h:95
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
@ ATTRIBUTE_ID_DOCUMENTATION
Definition s_baltst_basicschema.h:103
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:115
bdlb::NullableValue< bsl::string > & documentation()
Definition s_baltst_basicschema.h:4225
~BasicSchemaAnnotationElement()
Destroy this object.
BasicSchemaAnnotationElement(bslma::Allocator *basicAllocator=0)
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:4194
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:4181
BasicSchemaAnnotationElement & operator=(const BasicSchemaAnnotationElement &rhs)
Assign to this object the value of the specified rhs object.
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:4232
BasicSchemaAnnotationElement(const BasicSchemaAnnotationElement &original, bslma::Allocator *basicAllocator=0)
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:4245
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
@ ATTRIBUTE_INDEX_DOCUMENTATION
Definition s_baltst_basicschema.h:111
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:117
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:107
Definition s_baltst_basicschema.h:1894
@ SELECTION_INDEX_ANNOTATION
Definition s_baltst_basicschema.h:1919
@ SELECTION_INDEX_ELEMENT
Definition s_baltst_basicschema.h:1920
~BasicSchemaChoiceElementChoice()
Destroy this object.
Definition s_baltst_basicschema.h:5237
bsls::ObjectBuffer< BasicSchemaAnnotationElement > d_annotation
Definition s_baltst_basicschema.h:1898
const char * selectionName() const
Return the symbolic name of the current selection of this object.
int makeSelection(const char *name, int nameLength)
bool isUndefinedValue() const
Definition s_baltst_basicschema.h:5323
bool isElementValue() const
Definition s_baltst_basicschema.h:5317
BasicSchemaElement & makeElement(const BasicSchemaElement &value)
int makeSelection(int selectionId)
BasicSchemaAnnotationElement & makeAnnotation()
BasicSchemaChoiceElementChoice(const BasicSchemaChoiceElementChoice &original, bslma::Allocator *basicAllocator=0)
bool isAnnotationValue() const
Definition s_baltst_basicschema.h:5311
int manipulateSelection(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:5244
BasicSchemaAnnotationElement & annotation()
Definition s_baltst_basicschema.h:5260
BasicSchemaAnnotationElement & makeAnnotation(const BasicSchemaAnnotationElement &value)
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY[]
Definition s_baltst_basicschema.h:1926
BasicSchemaElement * d_element
Definition s_baltst_basicschema.h:1899
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:1924
BasicSchemaElement & element()
Definition s_baltst_basicschema.h:5267
@ NUM_SELECTIONS
Definition s_baltst_basicschema.h:1915
int accessSelection(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:5281
int selectionId() const
Definition s_baltst_basicschema.h:5275
BasicSchemaElement & makeElement()
static const bdlat_SelectionInfo * lookupSelectionInfo(int id)
@ SELECTION_ID_ELEMENT
Definition s_baltst_basicschema.h:1911
@ SELECTION_ID_UNDEFINED
Definition s_baltst_basicschema.h:1909
@ SELECTION_ID_ANNOTATION
Definition s_baltst_basicschema.h:1910
BasicSchemaChoiceElementChoice & operator=(const BasicSchemaChoiceElementChoice &rhs)
Assign to this object the value of the specified rhs object.
BasicSchemaChoiceElementChoice(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:5230
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
static const bdlat_SelectionInfo * lookupSelectionInfo(const char *name, int nameLength)
Definition s_baltst_basicschema.h:1682
bsl::vector< BasicSchemaChoiceElementChoice > & choice()
Definition s_baltst_basicschema.h:5156
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
BasicSchemaChoiceElement(const BasicSchemaChoiceElement &original, bslma::Allocator *basicAllocator=0)
@ ATTRIBUTE_INDEX_CHOICE
Definition s_baltst_basicschema.h:1698
~BasicSchemaChoiceElement()
Destroy this object.
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:5125
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:5163
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
@ ATTRIBUTE_ID_CHOICE
Definition s_baltst_basicschema.h:1690
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:1702
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:1704
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:5112
BasicSchemaChoiceElement(bslma::Allocator *basicAllocator=0)
BasicSchemaChoiceElement & operator=(const BasicSchemaChoiceElement &rhs)
Assign to this object the value of the specified rhs object.
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:1694
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:5176
Definition s_baltst_basicschema.h:3654
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:3687
~BasicSchemaChoice()
Destroy this object.
Definition s_baltst_basicschema.h:6435
int accessSelection(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:6489
bool isAnnotationValue() const
Definition s_baltst_basicschema.h:6529
BasicSchemaSimpleTypeElement & makeSimpleType()
static const bdlat_SelectionInfo * lookupSelectionInfo(const char *name, int nameLength)
@ NUM_SELECTIONS
Definition s_baltst_basicschema.h:3677
BasicSchemaSimpleTypeElement & makeSimpleType(const BasicSchemaSimpleTypeElement &value)
BasicSchemaComplexTypeElement * d_complexType
Definition s_baltst_basicschema.h:3660
BasicSchemaChoice & operator=(const BasicSchemaChoice &rhs)
Assign to this object the value of the specified rhs object.
static const bdlat_SelectionInfo * lookupSelectionInfo(int id)
int manipulateSelection(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:6442
BasicSchemaComplexTypeElement & makeComplexType()
BasicSchemaAnnotationElement & annotation()
Definition s_baltst_basicschema.h:6461
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY[]
Definition s_baltst_basicschema.h:3689
@ SELECTION_INDEX_ANNOTATION
Definition s_baltst_basicschema.h:3681
@ SELECTION_INDEX_SIMPLE_TYPE
Definition s_baltst_basicschema.h:3682
@ SELECTION_INDEX_COMPLEX_TYPE
Definition s_baltst_basicschema.h:3683
BasicSchemaComplexTypeElement & makeComplexType(const BasicSchemaComplexTypeElement &value)
BasicSchemaSimpleTypeElement & simpleType()
Definition s_baltst_basicschema.h:6468
BasicSchemaChoice(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:6428
bool isComplexTypeValue() const
Definition s_baltst_basicschema.h:6541
int makeSelection(int selectionId)
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
BasicSchemaAnnotationElement & makeAnnotation()
@ SELECTION_ID_ANNOTATION
Definition s_baltst_basicschema.h:3671
@ SELECTION_ID_SIMPLE_TYPE
Definition s_baltst_basicschema.h:3672
@ SELECTION_ID_COMPLEX_TYPE
Definition s_baltst_basicschema.h:3673
@ SELECTION_ID_UNDEFINED
Definition s_baltst_basicschema.h:3670
bool isUndefinedValue() const
Definition s_baltst_basicschema.h:6547
int makeSelection(const char *name, int nameLength)
BasicSchemaComplexTypeElement & complexType()
Definition s_baltst_basicschema.h:6475
BasicSchemaChoice(const BasicSchemaChoice &original, bslma::Allocator *basicAllocator=0)
bsls::ObjectBuffer< BasicSchemaAnnotationElement > d_annotation
Definition s_baltst_basicschema.h:3658
bsls::ObjectBuffer< BasicSchemaSimpleTypeElement > d_simpleType
Definition s_baltst_basicschema.h:3659
const char * selectionName() const
Return the symbolic name of the current selection of this object.
bool isSimpleTypeValue() const
Definition s_baltst_basicschema.h:6535
int selectionId() const
Definition s_baltst_basicschema.h:6483
BasicSchemaAnnotationElement & makeAnnotation(const BasicSchemaAnnotationElement &value)
Definition s_baltst_basicschema.h:2357
bool isSequenceValue() const
Definition s_baltst_basicschema.h:5608
BasicSchemaAnnotationElement & annotation()
Definition s_baltst_basicschema.h:5534
~BasicSchemaComplexTypeElementChoice()
Destroy this object.
Definition s_baltst_basicschema.h:5508
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY[]
Definition s_baltst_basicschema.h:2392
int selectionId() const
Definition s_baltst_basicschema.h:5556
BasicSchemaAnnotationElement & makeAnnotation(const BasicSchemaAnnotationElement &value)
BasicSchemaAnnotationElement & makeAnnotation()
int makeSelection(int selectionId)
int makeSelection(const char *name, int nameLength)
int manipulateSelection(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:5515
BasicSchemaSequenceElement & makeSequence(const BasicSchemaSequenceElement &value)
int accessSelection(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:5562
bool isUndefinedValue() const
Definition s_baltst_basicschema.h:5620
@ NUM_SELECTIONS
Definition s_baltst_basicschema.h:2380
const char * selectionName() const
Return the symbolic name of the current selection of this object.
bool isChoiceValue() const
Definition s_baltst_basicschema.h:5614
static const bdlat_SelectionInfo * lookupSelectionInfo(const char *name, int nameLength)
BasicSchemaComplexTypeElementChoice(const BasicSchemaComplexTypeElementChoice &original, bslma::Allocator *basicAllocator=0)
BasicSchemaSequenceElement * d_sequence
Definition s_baltst_basicschema.h:2362
BasicSchemaComplexTypeElementChoice & operator=(const BasicSchemaComplexTypeElementChoice &rhs)
Assign to this object the value of the specified rhs object.
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:2390
BasicSchemaSequenceElement & makeSequence()
BasicSchemaComplexTypeElementChoice(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:5501
bsls::ObjectBuffer< BasicSchemaAnnotationElement > d_annotation
Definition s_baltst_basicschema.h:2361
BasicSchemaChoiceElement & choice()
Definition s_baltst_basicschema.h:5548
BasicSchemaChoiceElement & makeChoice()
static const bdlat_SelectionInfo * lookupSelectionInfo(int id)
BasicSchemaChoiceElement * d_choice
Definition s_baltst_basicschema.h:2363
BasicSchemaChoiceElement & makeChoice(const BasicSchemaChoiceElement &value)
bool isAnnotationValue() const
Definition s_baltst_basicschema.h:5602
@ SELECTION_INDEX_ANNOTATION
Definition s_baltst_basicschema.h:2384
@ SELECTION_INDEX_SEQUENCE
Definition s_baltst_basicschema.h:2385
@ SELECTION_INDEX_CHOICE
Definition s_baltst_basicschema.h:2386
BasicSchemaSequenceElement & sequence()
Definition s_baltst_basicschema.h:5541
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
@ SELECTION_ID_CHOICE
Definition s_baltst_basicschema.h:2376
@ SELECTION_ID_SEQUENCE
Definition s_baltst_basicschema.h:2375
@ SELECTION_ID_UNDEFINED
Definition s_baltst_basicschema.h:2373
@ SELECTION_ID_ANNOTATION
Definition s_baltst_basicschema.h:2374
Definition s_baltst_basicschema.h:2134
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:2157
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:5419
@ ATTRIBUTE_ID_CHOICE
Definition s_baltst_basicschema.h:2144
@ ATTRIBUTE_ID_NAME
Definition s_baltst_basicschema.h:2143
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:5372
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:2159
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:5437
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:5354
bdlb::NullableValue< bsl::string > & name()
Definition s_baltst_basicschema.h:5406
bsl::vector< BasicSchemaComplexTypeElementChoice > & choice()
Definition s_baltst_basicschema.h:5412
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
BasicSchemaComplexTypeElement(const BasicSchemaComplexTypeElement &original, bslma::Allocator *basicAllocator=0)
BasicSchemaComplexTypeElement(bslma::Allocator *basicAllocator=0)
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
@ ATTRIBUTE_INDEX_NAME
Definition s_baltst_basicschema.h:2152
@ ATTRIBUTE_INDEX_CHOICE
Definition s_baltst_basicschema.h:2153
~BasicSchemaComplexTypeElement()
Destroy this object.
BasicSchemaComplexTypeElement & operator=(const BasicSchemaComplexTypeElement &rhs)
Assign to this object the value of the specified rhs object.
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:2148
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
Definition s_baltst_basicschema.h:2935
BasicSchemaComplexTypeElement & complexType()
Definition s_baltst_basicschema.h:6080
static const bdlat_SelectionInfo * lookupSelectionInfo(const char *name, int nameLength)
BasicSchemaSimpleTypeElement & simpleType()
Definition s_baltst_basicschema.h:6073
const char * selectionName() const
Return the symbolic name of the current selection of this object.
bool isAnnotationValue() const
Definition s_baltst_basicschema.h:6134
BasicSchemaAnnotationElement & annotation()
Definition s_baltst_basicschema.h:6066
static const bdlat_SelectionInfo * lookupSelectionInfo(int id)
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY[]
Definition s_baltst_basicschema.h:2970
BasicSchemaComplexTypeElement & makeComplexType()
bool isUndefinedValue() const
Definition s_baltst_basicschema.h:6152
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
int selectionId() const
Definition s_baltst_basicschema.h:6088
BasicSchemaAnnotationElement & makeAnnotation(const BasicSchemaAnnotationElement &value)
BasicSchemaElementChoice(const BasicSchemaElementChoice &original, bslma::Allocator *basicAllocator=0)
BasicSchemaSimpleTypeElement & makeSimpleType(const BasicSchemaSimpleTypeElement &value)
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:2968
int accessSelection(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:6094
BasicSchemaElementChoice & operator=(const BasicSchemaElementChoice &rhs)
Assign to this object the value of the specified rhs object.
@ NUM_SELECTIONS
Definition s_baltst_basicschema.h:2958
BasicSchemaAnnotationElement & makeAnnotation()
int manipulateSelection(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:6047
int makeSelection(const char *name, int nameLength)
BasicSchemaSimpleTypeElement & makeSimpleType()
bsls::ObjectBuffer< BasicSchemaAnnotationElement > d_annotation
Definition s_baltst_basicschema.h:2939
bsls::ObjectBuffer< BasicSchemaSimpleTypeElement > d_simpleType
Definition s_baltst_basicschema.h:2940
BasicSchemaComplexTypeElement * d_complexType
Definition s_baltst_basicschema.h:2941
BasicSchemaElementChoice(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:6033
BasicSchemaComplexTypeElement & makeComplexType(const BasicSchemaComplexTypeElement &value)
bool isSimpleTypeValue() const
Definition s_baltst_basicschema.h:6140
@ SELECTION_ID_COMPLEX_TYPE
Definition s_baltst_basicschema.h:2954
@ SELECTION_ID_SIMPLE_TYPE
Definition s_baltst_basicschema.h:2953
@ SELECTION_ID_UNDEFINED
Definition s_baltst_basicschema.h:2951
@ SELECTION_ID_ANNOTATION
Definition s_baltst_basicschema.h:2952
int makeSelection(int selectionId)
~BasicSchemaElementChoice()
Destroy this object.
Definition s_baltst_basicschema.h:6040
@ SELECTION_INDEX_SIMPLE_TYPE
Definition s_baltst_basicschema.h:2963
@ SELECTION_INDEX_ANNOTATION
Definition s_baltst_basicschema.h:2962
@ SELECTION_INDEX_COMPLEX_TYPE
Definition s_baltst_basicschema.h:2964
bool isComplexTypeValue() const
Definition s_baltst_basicschema.h:6146
Definition s_baltst_basicschema.h:2625
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:5654
bdlb::NullableValue< bsl::string > & type()
Definition s_baltst_basicschema.h:5776
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:5831
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:2655
BasicSchemaElement(bslma::Allocator *basicAllocator=0)
BasicSchemaElement(const BasicSchemaElement &original, bslma::Allocator *basicAllocator=0)
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:5712
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:2672
@ ATTRIBUTE_INDEX_MAX_OCCURS
Definition s_baltst_basicschema.h:2662
@ ATTRIBUTE_INDEX_CHOICE
Definition s_baltst_basicschema.h:2668
@ ATTRIBUTE_INDEX_CPPTYPE
Definition s_baltst_basicschema.h:2665
@ ATTRIBUTE_INDEX_ALLOCATES_MEMORY
Definition s_baltst_basicschema.h:2666
@ ATTRIBUTE_INDEX_NAME
Definition s_baltst_basicschema.h:2659
@ ATTRIBUTE_INDEX_TYPE
Definition s_baltst_basicschema.h:2660
@ ATTRIBUTE_INDEX_CPPDEFAULT
Definition s_baltst_basicschema.h:2664
@ ATTRIBUTE_INDEX_MIN_OCCURS
Definition s_baltst_basicschema.h:2661
@ ATTRIBUTE_INDEX_ALLOWS_DIRECT_MANIPULATION
Definition s_baltst_basicschema.h:2667
@ ATTRIBUTE_INDEX_DEFAULT_VALUE
Definition s_baltst_basicschema.h:2663
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
bdlb::NullableValue< bsl::string > & maxOccurs()
Definition s_baltst_basicschema.h:5788
bsl::vector< BasicSchemaElementChoice > & choice()
Definition s_baltst_basicschema.h:5824
bdlb::NullableValue< bsl::string > & name()
Definition s_baltst_basicschema.h:5770
bdlb::NullableValue< bsl::string > & allocatesMemory()
Definition s_baltst_basicschema.h:5812
@ ATTRIBUTE_ID_ALLOWS_DIRECT_MANIPULATION
Definition s_baltst_basicschema.h:2650
@ ATTRIBUTE_ID_ALLOCATES_MEMORY
Definition s_baltst_basicschema.h:2649
@ ATTRIBUTE_ID_MAX_OCCURS
Definition s_baltst_basicschema.h:2645
@ ATTRIBUTE_ID_TYPE
Definition s_baltst_basicschema.h:2643
@ ATTRIBUTE_ID_DEFAULT_VALUE
Definition s_baltst_basicschema.h:2646
@ ATTRIBUTE_ID_CHOICE
Definition s_baltst_basicschema.h:2651
@ ATTRIBUTE_ID_CPPDEFAULT
Definition s_baltst_basicschema.h:2647
@ ATTRIBUTE_ID_MIN_OCCURS
Definition s_baltst_basicschema.h:2644
@ ATTRIBUTE_ID_NAME
Definition s_baltst_basicschema.h:2642
@ ATTRIBUTE_ID_CPPTYPE
Definition s_baltst_basicschema.h:2648
bdlb::NullableValue< bsl::string > & defaultValue()
Definition s_baltst_basicschema.h:5794
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:2674
bdlb::NullableValue< bsl::string > & minOccurs()
Definition s_baltst_basicschema.h:5782
bdlb::NullableValue< bsl::string > & cppdefault()
Definition s_baltst_basicschema.h:5800
bdlb::NullableValue< bsl::string > & allowsDirectManipulation()
Definition s_baltst_basicschema.h:5818
~BasicSchemaElement()
Destroy this object.
BasicSchemaElement & operator=(const BasicSchemaElement &rhs)
Assign to this object the value of the specified rhs object.
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:5889
bdlb::NullableValue< bsl::string > & cpptype()
Definition s_baltst_basicschema.h:5806
Definition s_baltst_basicschema.h:307
@ SELECTION_ID_ANNOTATION
Definition s_baltst_basicschema.h:322
@ SELECTION_ID_UNDEFINED
Definition s_baltst_basicschema.h:321
@ NUM_SELECTIONS
Definition s_baltst_basicschema.h:326
@ SELECTION_INDEX_ANNOTATION
Definition s_baltst_basicschema.h:330
const char * selectionName() const
Return the symbolic name of the current selection of this object.
bsls::ObjectBuffer< BasicSchemaAnnotationElement > d_annotation
Definition s_baltst_basicschema.h:311
static const bdlat_SelectionInfo * lookupSelectionInfo(int id)
BasicSchemaAnnotationElement & annotation()
Definition s_baltst_basicschema.h:4326
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
BasicSchemaEnumerationElementChoice(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:4299
BasicSchemaAnnotationElement & makeAnnotation()
bool isUndefinedValue() const
Definition s_baltst_basicschema.h:4366
~BasicSchemaEnumerationElementChoice()
Destroy this object.
Definition s_baltst_basicschema.h:4306
int makeSelection(const char *name, int nameLength)
int selectionId() const
Definition s_baltst_basicschema.h:4334
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY[]
Definition s_baltst_basicschema.h:336
BasicSchemaEnumerationElementChoice(const BasicSchemaEnumerationElementChoice &original, bslma::Allocator *basicAllocator=0)
int manipulateSelection(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:4313
BasicSchemaAnnotationElement & makeAnnotation(const BasicSchemaAnnotationElement &value)
bool isAnnotationValue() const
Definition s_baltst_basicschema.h:4360
static const bdlat_SelectionInfo * lookupSelectionInfo(const char *name, int nameLength)
BasicSchemaEnumerationElementChoice & operator=(const BasicSchemaEnumerationElementChoice &rhs)
Assign to this object the value of the specified rhs object.
int accessSelection(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:4340
int makeSelection(int selectionId)
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:334
Definition s_baltst_basicschema.h:521
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
BasicSchemaEnumerationElement(bslma::Allocator *basicAllocator=0)
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:535
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:4394
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:544
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:546
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
BasicSchemaEnumerationElement(const BasicSchemaEnumerationElement &original, bslma::Allocator *basicAllocator=0)
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:4459
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:4477
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:4412
@ ATTRIBUTE_INDEX_CHOICE
Definition s_baltst_basicschema.h:540
@ ATTRIBUTE_INDEX_VALUE
Definition s_baltst_basicschema.h:539
~BasicSchemaEnumerationElement()
Destroy this object.
bdlb::NullableValue< bsl::string > & value()
Definition s_baltst_basicschema.h:4446
@ ATTRIBUTE_ID_CHOICE
Definition s_baltst_basicschema.h:531
@ ATTRIBUTE_ID_VALUE
Definition s_baltst_basicschema.h:530
bsl::vector< BasicSchemaEnumerationElementChoice > & choice()
Definition s_baltst_basicschema.h:4452
BasicSchemaEnumerationElement & operator=(const BasicSchemaEnumerationElement &rhs)
Assign to this object the value of the specified rhs object.
Definition s_baltst_basicschema.h:744
~BasicSchemaRestrictionElementChoice()
Destroy this object.
Definition s_baltst_basicschema.h:4548
int selectionId() const
Definition s_baltst_basicschema.h:4586
const char * selectionName() const
Return the symbolic name of the current selection of this object.
BasicSchemaRestrictionElementChoice(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:4541
BasicSchemaRestrictionElementChoice & operator=(const BasicSchemaRestrictionElementChoice &rhs)
Assign to this object the value of the specified rhs object.
static const bdlat_SelectionInfo * lookupSelectionInfo(const char *name, int nameLength)
int makeSelection(const char *name, int nameLength)
BasicSchemaAnnotationElement & makeAnnotation(const BasicSchemaAnnotationElement &value)
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
bool isEnumerationValue() const
Definition s_baltst_basicschema.h:4628
bool isAnnotationValue() const
Definition s_baltst_basicschema.h:4622
static const bdlat_SelectionInfo * lookupSelectionInfo(int id)
bsls::ObjectBuffer< BasicSchemaEnumerationElement > d_enumeration
Definition s_baltst_basicschema.h:749
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY[]
Definition s_baltst_basicschema.h:776
@ NUM_SELECTIONS
Definition s_baltst_basicschema.h:765
BasicSchemaEnumerationElement & makeEnumeration()
int makeSelection(int selectionId)
BasicSchemaEnumerationElement & makeEnumeration(const BasicSchemaEnumerationElement &value)
bool isUndefinedValue() const
Definition s_baltst_basicschema.h:4634
int manipulateSelection(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:4555
BasicSchemaEnumerationElement & enumeration()
Definition s_baltst_basicschema.h:4578
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:774
@ SELECTION_INDEX_ANNOTATION
Definition s_baltst_basicschema.h:769
@ SELECTION_INDEX_ENUMERATION
Definition s_baltst_basicschema.h:770
BasicSchemaAnnotationElement & makeAnnotation()
bsls::ObjectBuffer< BasicSchemaAnnotationElement > d_annotation
Definition s_baltst_basicschema.h:748
@ SELECTION_ID_ANNOTATION
Definition s_baltst_basicschema.h:760
@ SELECTION_ID_ENUMERATION
Definition s_baltst_basicschema.h:761
@ SELECTION_ID_UNDEFINED
Definition s_baltst_basicschema.h:759
BasicSchemaAnnotationElement & annotation()
Definition s_baltst_basicschema.h:4571
int accessSelection(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:4592
BasicSchemaRestrictionElementChoice(const BasicSchemaRestrictionElementChoice &original, bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:985
@ ATTRIBUTE_ID_BASE
Definition s_baltst_basicschema.h:994
@ ATTRIBUTE_ID_CHOICE
Definition s_baltst_basicschema.h:995
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:4665
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:4683
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:4748
BasicSchemaRestrictionElement & operator=(const BasicSchemaRestrictionElement &rhs)
Assign to this object the value of the specified rhs object.
bdlb::NullableValue< bsl::string > & base()
Definition s_baltst_basicschema.h:4717
bsl::vector< BasicSchemaRestrictionElementChoice > & choice()
Definition s_baltst_basicschema.h:4723
BasicSchemaRestrictionElement(bslma::Allocator *basicAllocator=0)
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:1008
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
~BasicSchemaRestrictionElement()
Destroy this object.
BasicSchemaRestrictionElement(const BasicSchemaRestrictionElement &original, bslma::Allocator *basicAllocator=0)
@ ATTRIBUTE_INDEX_BASE
Definition s_baltst_basicschema.h:1003
@ ATTRIBUTE_INDEX_CHOICE
Definition s_baltst_basicschema.h:1004
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:1010
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:999
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:4730
Definition s_baltst_basicschema.h:3414
BasicSchemaElement & makeElement(const BasicSchemaElement &value)
BasicSchemaAnnotationElement & makeAnnotation()
@ SELECTION_INDEX_ANNOTATION
Definition s_baltst_basicschema.h:3439
@ SELECTION_INDEX_ELEMENT
Definition s_baltst_basicschema.h:3440
int manipulateSelection(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:6318
BasicSchemaElement * d_element
Definition s_baltst_basicschema.h:3419
bool isUndefinedValue() const
Definition s_baltst_basicschema.h:6397
BasicSchemaSequenceElementChoice(const BasicSchemaSequenceElementChoice &original, bslma::Allocator *basicAllocator=0)
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:3444
BasicSchemaElement & makeElement()
static const bdlat_SelectionInfo * lookupSelectionInfo(int id)
@ SELECTION_ID_ELEMENT
Definition s_baltst_basicschema.h:3431
@ SELECTION_ID_ANNOTATION
Definition s_baltst_basicschema.h:3430
@ SELECTION_ID_UNDEFINED
Definition s_baltst_basicschema.h:3429
~BasicSchemaSequenceElementChoice()
Destroy this object.
Definition s_baltst_basicschema.h:6311
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY[]
Definition s_baltst_basicschema.h:3446
int accessSelection(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:6355
BasicSchemaElement & element()
Definition s_baltst_basicschema.h:6341
bsls::ObjectBuffer< BasicSchemaAnnotationElement > d_annotation
Definition s_baltst_basicschema.h:3418
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
@ NUM_SELECTIONS
Definition s_baltst_basicschema.h:3435
BasicSchemaSequenceElementChoice(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:6304
BasicSchemaAnnotationElement & annotation()
Definition s_baltst_basicschema.h:6334
int makeSelection(const char *name, int nameLength)
BasicSchemaSequenceElementChoice & operator=(const BasicSchemaSequenceElementChoice &rhs)
Assign to this object the value of the specified rhs object.
const char * selectionName() const
Return the symbolic name of the current selection of this object.
int makeSelection(int selectionId)
BasicSchemaAnnotationElement & makeAnnotation(const BasicSchemaAnnotationElement &value)
int selectionId() const
Definition s_baltst_basicschema.h:6349
bool isElementValue() const
Definition s_baltst_basicschema.h:6391
bool isAnnotationValue() const
Definition s_baltst_basicschema.h:6385
static const bdlat_SelectionInfo * lookupSelectionInfo(const char *name, int nameLength)
Definition s_baltst_basicschema.h:3202
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:6199
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
bsl::vector< BasicSchemaSequenceElementChoice > & choice()
Definition s_baltst_basicschema.h:6230
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:3224
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:3222
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:6250
~BasicSchemaSequenceElement()
Destroy this object.
@ ATTRIBUTE_INDEX_CHOICE
Definition s_baltst_basicschema.h:3218
BasicSchemaSequenceElement(const BasicSchemaSequenceElement &original, bslma::Allocator *basicAllocator=0)
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:6186
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:6237
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
@ ATTRIBUTE_ID_CHOICE
Definition s_baltst_basicschema.h:3210
BasicSchemaSequenceElement & operator=(const BasicSchemaSequenceElement &rhs)
Assign to this object the value of the specified rhs object.
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:3214
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
BasicSchemaSequenceElement(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:1208
BasicSchemaAnnotationElement & makeAnnotation()
static const bdlat_SelectionInfo * lookupSelectionInfo(int id)
BasicSchemaSimpleTypeElementChoice(const BasicSchemaSimpleTypeElementChoice &original, bslma::Allocator *basicAllocator=0)
static const bdlat_SelectionInfo * lookupSelectionInfo(const char *name, int nameLength)
BasicSchemaSimpleTypeElementChoice & operator=(const BasicSchemaSimpleTypeElementChoice &rhs)
Assign to this object the value of the specified rhs object.
BasicSchemaRestrictionElement & makeRestriction(const BasicSchemaRestrictionElement &value)
BasicSchemaSimpleTypeElementChoice(bslma::Allocator *basicAllocator=0)
Definition s_baltst_basicschema.h:4812
bool isRestrictionValue() const
Definition s_baltst_basicschema.h:4899
bsls::ObjectBuffer< BasicSchemaRestrictionElement > d_restriction
Definition s_baltst_basicschema.h:1213
@ SELECTION_INDEX_ANNOTATION
Definition s_baltst_basicschema.h:1233
@ SELECTION_INDEX_RESTRICTION
Definition s_baltst_basicschema.h:1234
int accessSelection(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:4863
int manipulateSelection(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:4826
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
int makeSelection(int selectionId)
int selectionId() const
Definition s_baltst_basicschema.h:4857
@ SELECTION_ID_RESTRICTION
Definition s_baltst_basicschema.h:1225
@ SELECTION_ID_ANNOTATION
Definition s_baltst_basicschema.h:1224
@ SELECTION_ID_UNDEFINED
Definition s_baltst_basicschema.h:1223
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:1238
bool isUndefinedValue() const
Definition s_baltst_basicschema.h:4905
bool isAnnotationValue() const
Definition s_baltst_basicschema.h:4893
BasicSchemaAnnotationElement & annotation()
Definition s_baltst_basicschema.h:4842
bsls::ObjectBuffer< BasicSchemaAnnotationElement > d_annotation
Definition s_baltst_basicschema.h:1212
BasicSchemaRestrictionElement & makeRestriction()
BasicSchemaAnnotationElement & makeAnnotation(const BasicSchemaAnnotationElement &value)
const char * selectionName() const
Return the symbolic name of the current selection of this object.
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY[]
Definition s_baltst_basicschema.h:1240
~BasicSchemaSimpleTypeElementChoice()
Destroy this object.
Definition s_baltst_basicschema.h:4819
BasicSchemaRestrictionElement & restriction()
Definition s_baltst_basicschema.h:4849
@ NUM_SELECTIONS
Definition s_baltst_basicschema.h:1229
int makeSelection(const char *name, int nameLength)
Definition s_baltst_basicschema.h:1448
BasicSchemaSimpleTypeElement(bslma::Allocator *basicAllocator=0)
BasicSchemaSimpleTypeElement & operator=(const BasicSchemaSimpleTypeElement &rhs)
Assign to this object the value of the specified rhs object.
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:5015
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:4936
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:1474
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:4959
BasicSchemaSimpleTypeElement(const BasicSchemaSimpleTypeElement &original, bslma::Allocator *basicAllocator=0)
@ ATTRIBUTE_ID_CHOICE
Definition s_baltst_basicschema.h:1460
@ ATTRIBUTE_ID_PRESERVE_ENUM_ORDER
Definition s_baltst_basicschema.h:1459
@ ATTRIBUTE_ID_NAME
Definition s_baltst_basicschema.h:1458
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:1476
bdlb::NullableValue< bsl::string > & name()
Definition s_baltst_basicschema.h:4996
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:1464
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
bdlb::NullableValue< bsl::string > & preserveEnumOrder()
Definition s_baltst_basicschema.h:5002
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:5038
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
~BasicSchemaSimpleTypeElement()
Destroy this object.
bsl::vector< BasicSchemaSimpleTypeElementChoice > & choice()
Definition s_baltst_basicschema.h:5008
@ ATTRIBUTE_INDEX_CHOICE
Definition s_baltst_basicschema.h:1470
@ ATTRIBUTE_INDEX_PRESERVE_ENUM_ORDER
Definition s_baltst_basicschema.h:1469
@ ATTRIBUTE_INDEX_NAME
Definition s_baltst_basicschema.h:1468
Definition s_baltst_basicschema.h:3920
@ ATTRIBUTE_ID_CHOICE
Definition s_baltst_basicschema.h:3936
@ ATTRIBUTE_ID_XS
Definition s_baltst_basicschema.h:3932
@ ATTRIBUTE_ID_ELEMENT_FORM_DEFAULT
Definition s_baltst_basicschema.h:3935
@ ATTRIBUTE_ID_PACKAGE
Definition s_baltst_basicschema.h:3934
@ ATTRIBUTE_ID_BDEM
Definition s_baltst_basicschema.h:3933
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_basicschema.h:3954
bdlb::NullableValue< bsl::string > & bdem()
Definition s_baltst_basicschema.h:6663
BasicSchema & operator=(const BasicSchema &rhs)
Assign to this object the value of the specified rhs object.
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_basicschema.h:6581
@ ATTRIBUTE_INDEX_CHOICE
Definition s_baltst_basicschema.h:3948
@ ATTRIBUTE_INDEX_BDEM
Definition s_baltst_basicschema.h:3945
@ ATTRIBUTE_INDEX_ELEMENT_FORM_DEFAULT
Definition s_baltst_basicschema.h:3947
@ ATTRIBUTE_INDEX_XS
Definition s_baltst_basicschema.h:3944
@ ATTRIBUTE_INDEX_PACKAGE
Definition s_baltst_basicschema.h:3946
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
bdlb::NullableValue< bsl::string > & elementFormDefault()
Definition s_baltst_basicschema.h:6675
BasicSchema(bslma::Allocator *basicAllocator=0)
bdlb::NullableValue< bsl::string > & xs()
Return a reference to the modifiable "Xs" attribute of this object.
Definition s_baltst_basicschema.h:6657
bdlb::NullableValue< bsl::string > & package()
Definition s_baltst_basicschema.h:6669
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
@ NUM_ATTRIBUTES
Definition s_baltst_basicschema.h:3940
bsl::vector< BasicSchemaChoice > & choice()
Definition s_baltst_basicschema.h:6681
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_basicschema.h:6721
BasicSchema(const BasicSchema &original, bslma::Allocator *basicAllocator=0)
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
~BasicSchema()
Destroy this object.
static const char CLASS_NAME[]
Definition s_baltst_basicschema.h:3952
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_basicschema.h:6614
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_basicschema.h:6688
#define BDLAT_DECL_CHOICE_WITH_ALLOCATOR_BITWISEMOVEABLE_TRAITS(ClassName)
Definition bdlat_typetraits.h:249
#define BDLAT_DECL_SEQUENCE_WITH_ALLOCATOR_BITWISEMOVEABLE_TRAITS(ClassName)
Definition bdlat_typetraits.h:282
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT_RCSID(tag, str)
Definition bsls_ident.h:260
#define BSLS_IDENT_PRAGMA_ONCE
Definition bsls_ident.h:310
bsl::enable_if<(bsl::is_integral< TYPE >::value||bsl::is_pointer< TYPE >::value||bsl::is_enum< TYPE >::value)&&!bsl::is_same< TYPE, bool >::value >::type hashAppend(HASH_ALGORITHM &hashAlg, TYPE input)
Definition bslh_hash.h:638
Definition balxml_encoderoptions.h:68
Definition s_baltst_address.h:66
bool operator!=(const Address &lhs, const Address &rhs)
bool operator==(const Address &lhs, const Address &rhs)
bsl::ostream & operator<<(bsl::ostream &stream, const Address &rhs)
void hashAppend(HASH_ALGORITHM &hashAlg, const s_baltst::BasicSchemaAnnotationElement &object)
Definition s_baltst_basicschema.h:4282
Definition bdlat_attributeinfo.h:137
int d_id
Definition bdlat_attributeinfo.h:140
Definition bdlat_selectioninfo.h:136
Definition bsls_objectbuffer.h:276