X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Fimpl%2FAnyElement.h;h=789c6eacf10b3fd477eb4bf010586a06f3562b05;hb=3f8868e5cb335be5e708cb4565e47110125984d2;hp=4e668c86f8dbf46072192db1b99fbd3f902ea13c;hpb=fcd65b300574027ec2b1307f51d278cf69eac91c;p=shibboleth%2Fxmltooling.git diff --git a/xmltooling/impl/AnyElement.h b/xmltooling/impl/AnyElement.h index 4e668c8..789c6ea 100644 --- a/xmltooling/impl/AnyElement.h +++ b/xmltooling/impl/AnyElement.h @@ -20,11 +20,12 @@ * Advanced anyType implementation suitable for deep processing of unknown content. */ -#if !defined(__xmltooling_anyelement_h__) +#ifndef __xmltooling_anyelement_h__ #define __xmltooling_anyelement_h__ +#include #include -#include +#include #include #include #include @@ -39,8 +40,9 @@ namespace xmltooling { /** * Implements a smart wrapper around unknown or arbitrary DOM content. */ - class XMLTOOL_API AnyElementImpl : public AbstractDOMCachingXMLObject, - public AbstractElementProxy, + class XMLTOOL_API AnyElementImpl : public virtual ElementProxy, + public AbstractDOMCachingXMLObject, + public AbstractComplexElement, public AbstractAttributeExtensibleXMLObject, public AbstractXMLObjectMarshaller, public AbstractXMLObjectUnmarshaller @@ -55,7 +57,9 @@ namespace xmltooling { protected: AnyElementImpl() {} - AnyElementImpl(const AnyElementImpl& src); + AnyElementImpl(const AnyElementImpl& src); + + IMPL_XMLOBJECT_CHILDREN(UnknownXMLObject,m_children.end()); void marshallAttributes(DOMElement* domElement) const; void processChildElement(XMLObject* childXMLObject, const DOMElement* root);