![]() |
Rosetta
2021.16
|
class XMLSchemaType represents the name of a defined type that can be used to describe either an XMLElement or an XMLAttribute. It may refer to either a complex type or to a primative type or to a simple type. More...
#include <XMLSchemaGeneration.hh>

Public Member Functions | |
| XMLSchemaType () | |
| XMLSchemaType (XMLSchemaDataType setting) | |
| XMLSchemaType (XMLSchemaCommonType setting) | |
| template<class T , typename = typename std::enable_if< utility::type_traits::is_string_constructible<T>::value >::type> | |
| XMLSchemaType (T &&custom_type) | |
| XMLSchemaType (XMLSchemaType const &)=default | |
| XMLSchemaType (XMLSchemaType &&) noexcept=default | |
| XMLSchemaType & | operator= (XMLSchemaType const &)=default |
| void | type (XMLSchemaDataType setting) |
| void | common_type (XMLSchemaCommonType setting) |
| void | custom_type_name (std::string const &setting) |
| std::string | type_name () const |
| XMLSchemaDataType | type () const |
| XMLSchemaCommonType | common_type () const |
Public Member Functions inherited from utility::VirtualBase | |
| VirtualBase ()=default | |
| Default constructor. More... | |
| virtual | ~VirtualBase ()=default |
| The virtual destructor is one of the main reasons for the VirtualBase class. More... | |
| VirtualBase (VirtualBase const &)=default | |
| VirtualBase (VirtualBase &&)=default | |
| VirtualBase & | operator= (VirtualBase const &)=default |
| VirtualBase & | operator= (VirtualBase &&)=default |
Private Attributes | |
| XMLSchemaDataType | type_ |
| XMLSchemaCommonType | common_type_ |
| std::string | custom_type_name_ |
class XMLSchemaType represents the name of a defined type that can be used to describe either an XMLElement or an XMLAttribute. It may refer to either a complex type or to a primative type or to a simple type.
| utility::tag::XMLSchemaType::XMLSchemaType | ( | ) |
| utility::tag::XMLSchemaType::XMLSchemaType | ( | XMLSchemaDataType | setting | ) |
| utility::tag::XMLSchemaType::XMLSchemaType | ( | XMLSchemaCommonType | setting | ) |
|
inline |
|
default |
|
defaultnoexcept |
| void utility::tag::XMLSchemaType::common_type | ( | XMLSchemaCommonType | setting | ) |
| XMLSchemaCommonType utility::tag::XMLSchemaType::common_type | ( | ) | const |
References common_type_.
| void utility::tag::XMLSchemaType::custom_type_name | ( | std::string const & | setting | ) |
References common_type_, custom_type_name_, type_, utility::tag::xs_custom, and utility::tag::xsct_none.
|
default |
| void utility::tag::XMLSchemaType::type | ( | XMLSchemaDataType | setting | ) |
References common_type_, type_, and utility::tag::xsct_none.
| XMLSchemaDataType utility::tag::XMLSchemaType::type | ( | ) | const |
References type_.
| std::string utility::tag::XMLSchemaType::type_name | ( | ) | const |
References common_type_, custom_type_name_, utility::tag::name_for_common_type(), type_, utility::tag::xs_boolean, utility::tag::xs_common, utility::tag::xs_custom, utility::tag::xs_date, utility::tag::xs_decimal, utility::tag::xs_integer, utility::tag::xs_string, and utility::tag::xs_time.
Referenced by utility::tag::XMLSchemaAttribute::write_definition(), utility::tag::XMLSchemaRestriction::write_definition(), and utility::tag::XMLSchemaElement::write_definition().
|
private |
Referenced by common_type(), custom_type_name(), type(), and type_name().
|
private |
Referenced by custom_type_name(), and type_name().
|
private |
Referenced by common_type(), custom_type_name(), type(), and type_name().
1.8.7