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::XMLSchemaParticle Class Reference

This abstract class is meant to represent either an XMLSChemaElement or an XMLSchemaModelGroup so that the interchangable set of these objects in a ModelGroup can be represented. I may be misusing the term "particle" in the way that it is meant within XML Schema – so the mapping of this term to the term used in XML Schema is probably imperfect. More...

#include <XMLSchemaGeneration.hh>

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

Public Member Functions

 XMLSchemaParticle ()
 
 ~XMLSchemaParticle () override
 
XMLSchemaParticlemin_occurs (int setting)
 
XMLSchemaParticlemax_occurs (int setting)
 
int min_occurs () const
 
int max_occurs () const
 
- Public Member Functions inherited from utility::tag::XMLSchemaTopLevelElement
virtual std::string const & element_name () const =0
 
virtual void write_definition (int indentation, std::ostream &os) const =0
 
virtual void prepare_for_output (XMLSchemaDefinition &xsd) const =0
 
- 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

int min_occurs_
 
int max_occurs_
 

Detailed Description

This abstract class is meant to represent either an XMLSChemaElement or an XMLSchemaModelGroup so that the interchangable set of these objects in a ModelGroup can be represented. I may be misusing the term "particle" in the way that it is meant within XML Schema – so the mapping of this term to the term used in XML Schema is probably imperfect.

Constructor & Destructor Documentation

utility::tag::XMLSchemaParticle::XMLSchemaParticle ( )
utility::tag::XMLSchemaParticle::~XMLSchemaParticle ( )
overridedefault

Member Function Documentation

XMLSchemaParticle & utility::tag::XMLSchemaParticle::max_occurs ( int  setting)

References max_occurs_.

int utility::tag::XMLSchemaParticle::max_occurs ( ) const
XMLSchemaParticle & utility::tag::XMLSchemaParticle::min_occurs ( int  setting)

References min_occurs_.

int utility::tag::XMLSchemaParticle::min_occurs ( ) const

Member Data Documentation

int utility::tag::XMLSchemaParticle::max_occurs_
private

Referenced by max_occurs().

int utility::tag::XMLSchemaParticle::min_occurs_
private

Referenced by min_occurs().


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