mbxmlutils  1.3.0
Multi-Body XML Utils
MBXMLUtils::DOMAttrWrapper< DOMAttrType > Class Template Reference

Helper class for extending DOMAttr (use the function A(...)). More...

#include <dom.h>

Public Member Functions

 DOMAttrWrapper (DOMAttrType *me_)
 Wrap DOMAttr to my special element.
 
bool isDerivedFrom (const FQN &baseTypeName) const
 
std::string getRootXPathExpression () const
 
std::conditional< std::is_same< DOMAttrType, constxercesc::DOMAttr >::value, constDOMAttrWrapper *, DOMAttrWrapper * >::type operator-> ()
 Treat this object as a pointer (like DOMAttr*)
 

Private Attributes

DOMAttrType * me
 

Detailed Description

template<typename DOMAttrType>
class MBXMLUtils::DOMAttrWrapper< DOMAttrType >

Helper class for extending DOMAttr (use the function A(...)).

Member Function Documentation

◆ getRootXPathExpression()

template<typename DOMAttrType >
template string MBXMLUtils::DOMAttrWrapper< DOMAttrType >::getRootXPathExpression ( ) const

Get the XPath from the root element to this attribute. The root element may not be the document itself if embedding has occurred.

◆ isDerivedFrom()

template<typename DOMAttrType >
template bool MBXMLUtils::DOMAttrWrapper< DOMAttrType >::isDerivedFrom ( const FQN baseTypeName) const

Check if the element is of type base Note DOMTypeInfo::isDerivedFrom is not implemented in xerces-c hence we define our one methode here.


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