Rosetta  2019.07
 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::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
virtual ~ReferenceCount ()
 

Private Attributes

int min_occurs_
 
int max_occurs_
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 

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: