XSModelGroupDefinition.hpp
Go to the documentation of this file.
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: XSModelGroupDefinition.hpp 1804272 2017-08-06 20:25:24Z scantor $
*/
#if !defined(XERCESC_INCLUDE_GUARD_XSMODELGROUPDEFINITION_HPP)
#define XERCESC_INCLUDE_GUARD_XSMODELGROUPDEFINITION_HPP
#include <xercesc/framework/psvi/XSObject.hpp>
XERCES_CPP_NAMESPACE_BEGIN
// forward declarations
class XSAnnotation;
class XSModelGroup;
class XSParticle;
class XercesGroupInfo;
class XMLPARSER_EXPORT XSModelGroupDefinition : public XSObject
{
public:
// Constructors and Destructor
// -----------------------------------------------------------------------
XSModelGroupDefinition
(
XercesGroupInfo* const groupInfo
, XSParticle* const groupParticle
, XSAnnotation* const annot
, XSModel* const xsModel
, MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
~XSModelGroupDefinition();
//---------------------
const XMLCh* getName() const;
const XMLCh* getNamespace() const;
XSNamespaceItem *getNamespaceItem();
//---------------------
XSModelGroup *getModelGroup();
XSAnnotation *getAnnotation() const;
//----------------------------------
private:
// -----------------------------------------------------------------------
// Unimplemented constructors and operators
// -----------------------------------------------------------------------
XSModelGroupDefinition(const XSModelGroupDefinition&);
XSModelGroupDefinition & operator=(const XSModelGroupDefinition &);
protected:
// -----------------------------------------------------------------------
// data members
// -----------------------------------------------------------------------
XercesGroupInfo* fGroupInfo;
XSParticle* fModelGroupParticle;
XSAnnotation* fAnnotation;
};
inline XSAnnotation* XSModelGroupDefinition::getAnnotation() const
{
return fAnnotation;
}
XERCES_CPP_NAMESPACE_END
#endif
XSObject::getNamespaceItem
virtual XSNamespaceItem * getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component,...
XERCES_CPP_NAMESPACE_BEGIN
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
XSModelGroupDefinition
Definition: XSModelGroupDefinition.hpp:42
XMLCh
char16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
XSNamespaceItem
Definition: XSNamespaceItem.hpp:53
XSObject
Definition: XSObject.hpp:42
XSParticle
Definition: XSParticle.hpp:41
XSModelGroup
Definition: XSModelGroup.hpp:40
XERCES_CPP_NAMESPACE_END
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
XSObject::getName
virtual const XMLCh * getName() const
The name of type NCName of this declaration as defined in XML Namespaces.
XSModel
Definition: XSModel.hpp:59
XSModelGroupDefinition::fModelGroupParticle
XSParticle * fModelGroupParticle
Definition: XSModelGroupDefinition.hpp:137
XSObject.hpp
XMLPlatformUtils::fgMemoryManager
static MemoryManager * fgMemoryManager
The configurable memory manager.
Definition: PlatformUtils.hpp:121
XSAnnotation
Definition: XSAnnotation.hpp:41
XSModelGroupDefinition::fGroupInfo
XercesGroupInfo * fGroupInfo
Definition: XSModelGroupDefinition.hpp:136
XSModelGroupDefinition::getAnnotation
XSAnnotation * getAnnotation() const
Optional.
Definition: XSModelGroupDefinition.hpp:141
XSObject::getNamespace
virtual const XMLCh * getNamespace() const
The [target namespace] of this object, or null if it is unspecified.
MemoryManager
Configurable memory manager.
Definition: MemoryManager.hpp:39
XMLPARSER_EXPORT
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
XSModelGroupDefinition::fAnnotation
XSAnnotation * fAnnotation
Definition: XSModelGroupDefinition.hpp:138