Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
utility::tag::XMLSchemaType Class Reference

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>

Inheritance diagram for utility::tag::XMLSchemaType:
Inheritance graph
[legend]

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
 
XMLSchemaTypeoperator= (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
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

XMLSchemaDataType type_
 
XMLSchemaCommonType common_type_
 
std::string custom_type_name_
 

Detailed Description

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.

Constructor & Destructor Documentation

utility::tag::XMLSchemaType::XMLSchemaType ( )
utility::tag::XMLSchemaType::XMLSchemaType ( XMLSchemaDataType  setting)
utility::tag::XMLSchemaType::XMLSchemaType ( XMLSchemaCommonType  setting)
template<class T , typename = typename std::enable_if< utility::type_traits::is_string_constructible<T>::value >::type>
utility::tag::XMLSchemaType::XMLSchemaType ( T &&  custom_type)
inline
utility::tag::XMLSchemaType::XMLSchemaType ( XMLSchemaType const &  )
default
utility::tag::XMLSchemaType::XMLSchemaType ( XMLSchemaType &&  )
defaultnoexcept

Member Function Documentation

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)
XMLSchemaType& utility::tag::XMLSchemaType::operator= ( XMLSchemaType const &  )
default
void utility::tag::XMLSchemaType::type ( XMLSchemaDataType  setting)
XMLSchemaDataType utility::tag::XMLSchemaType::type ( ) const

References type_.

std::string utility::tag::XMLSchemaType::type_name ( ) const

Member Data Documentation

XMLSchemaCommonType utility::tag::XMLSchemaType::common_type_
private
std::string utility::tag::XMLSchemaType::custom_type_name_
private

Referenced by custom_type_name(), and type_name().

XMLSchemaDataType utility::tag::XMLSchemaType::type_
private

The documentation for this class was generated from the following files: