![]() |
Rosetta
2021.16
|
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>

Public Member Functions | |
| XMLSchemaParticle () | |
| ~XMLSchemaParticle () override | |
| XMLSchemaParticle & | min_occurs (int setting) |
| XMLSchemaParticle & | max_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 | |
| VirtualBase & | operator= (VirtualBase const &)=default |
| VirtualBase & | operator= (VirtualBase &&)=default |
Private Attributes | |
| int | min_occurs_ |
| int | max_occurs_ |
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.
| utility::tag::XMLSchemaParticle::XMLSchemaParticle | ( | ) |
|
overridedefault |
| XMLSchemaParticle & utility::tag::XMLSchemaParticle::max_occurs | ( | int | setting | ) |
References max_occurs_.
| int utility::tag::XMLSchemaParticle::max_occurs | ( | ) | const |
References max_occurs_.
Referenced by utility::tag::XMLSchemaModelGroup::write_definition(), and utility::tag::XMLSchemaElement::write_definition().
| XMLSchemaParticle & utility::tag::XMLSchemaParticle::min_occurs | ( | int | setting | ) |
References min_occurs_.
| int utility::tag::XMLSchemaParticle::min_occurs | ( | ) | const |
References min_occurs_.
Referenced by utility::tag::XMLSchemaModelGroup::write_definition(), and utility::tag::XMLSchemaElement::write_definition().
|
private |
Referenced by max_occurs().
|
private |
Referenced by min_occurs().
1.8.7