xmltooling 3.2.3
base.h File Reference

Licensed to the University Corporation for Advanced Internet Development, Inc. More...

#include <typeinfo>
#include <cstdio>
#include <xmltooling/config_pub_win32.h>
#include <utility>
Include dependency graph for base.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  xmltooling::cleanup< T >
 Functor for cleaning up heap objects in containers. More...
 
struct  xmltooling::cleanup_pair< A, B >
 Functor for cleaning up heap objects in key/value containers. More...
 
struct  xmltooling::cleanup_const_pair< A, B >
 Functor for cleaning up const heap objects in key/value containers. More...
 

Namespaces

namespace  xmltooling
 Public namespace of XML Tooling library.
 

Macros

#define nullptr   0
 
#define XMLTOOL_IMPORT
 
#define XMLTOOL_EXPORT
 
#define XMLTOOL_DLLLOCAL
 
#define XMLTOOL_DLLPUBLIC
 
#define XMLTOOL_API   XMLTOOL_IMPORT
 
#define XMLTOOL_EXCEPTIONAPI(api)
 
#define XMLTOOLING_DOXYGEN(desc)   /##** desc */
 
#define MAKE_NONCOPYABLE(type)
 Blocks copy c'tor and assignment operator for a class. More...
 
#define DECL_XMLOBJECT_ABSTRACT(linkage, cname, base, desc)
 Begins the declaration of an XMLObject specialization for an abstract element/type. More...
 
#define BEGIN_XMLOBJECT(linkage, cname, base, desc)
 Begins the declaration of an XMLObject specialization. More...
 
#define BEGIN_XMLOBJECT2(linkage, cname, base, base2, desc)
 Begins the declaration of an XMLObject specialization with two base classes. More...
 
#define BEGIN_XMLOBJECT3(linkage, cname, base, base2, base3, desc)
 Begins the declaration of an XMLObject specialization with three base classes. More...
 
#define BEGIN_XMLOBJECT4(linkage, cname, base, base2, base3, base4, desc)
 Begins the declaration of an XMLObject specialization with four base classes. More...
 
#define BEGIN_XMLOBJECT5(linkage, cname, base, base2, base3, base4, base5, desc)
 Begins the declaration of an XMLObject specialization with five base classes. More...
 
#define END_XMLOBJECT   }
 Ends the declaration of an XMLObject specialization.
 
#define DECL_ELEMENT_QNAME
 Declares a static variable holding the XMLObject's element QName. More...
 
#define DECL_TYPE_QNAME
 Declares a static variable holding the XMLObject's schema type QName. More...
 
#define IMPL_ELEMENT_QNAME(cname, namespaceURI, namespacePrefix)    xmltooling::QName cname::ELEMENT_QNAME(namespaceURI,cname::LOCAL_NAME,namespacePrefix)
 Implements a static variable holding an XMLObject's element QName. More...
 
#define IMPL_TYPE_QNAME(cname, namespaceURI, namespacePrefix)    xmltooling::QName cname::TYPE_QNAME(namespaceURI,cname::TYPE_NAME,namespacePrefix)
 Implements a static variable holding an XMLObject's schema type QName. More...
 
#define DECL_INHERITED_XMLOBJECT_ATTRIB(proper, upcased, type)
 Declares abstract set method for a typed XML attribute. More...
 
#define DECL_XMLOBJECT_ATTRIB(proper, upcased, type)
 Declares abstract get/set methods for a typed XML attribute. More...
 
#define DECL_INHERITED_STRING_ATTRIB(proper, upcased)    DECL_INHERITED_XMLOBJECT_ATTRIB(proper,upcased,XMLCh)
 Declares abstract set method for a string XML attribute. More...
 
#define DECL_STRING_ATTRIB(proper, upcased)    DECL_XMLOBJECT_ATTRIB(proper,upcased,XMLCh)
 Declares abstract get/set methods for a string XML attribute. More...
 
#define DECL_INHERITED_DATETIME_ATTRIB(proper, upcased)
 Declares abstract set method for a DateTime XML attribute. More...
 
#define DECL_DATETIME_ATTRIB(proper, upcased)
 Declares abstract get/set methods for a DateTime XML attribute. More...
 
#define DECL_INHERITED_INTEGER_ATTRIB(proper, upcased)
 Declares abstract set method for an integer XML attribute. More...
 
#define DECL_INTEGER_ATTRIB(proper, upcased)
 Declares abstract get/set methods for an integer XML attribute. More...
 
#define DECL_BOOLEAN_ATTRIB(proper, upcased, def)
 Declares abstract get/set methods for a boolean XML attribute. More...
 
#define IMPL_XMLOBJECT_ATTRIB(proper, type)
 Implements get/set methods and a private member for a typed XML attribute. More...
 
#define IMPL_STRING_ATTRIB(proper)    IMPL_XMLOBJECT_ATTRIB(proper,XMLCh)
 Implements get/set methods and a private member for a string XML attribute. More...
 
#define IMPL_ID_ATTRIB(proper)
 Implements get/set methods and a private member for a string XML attribute, plus a getXMLID override. More...
 
#define IMPL_ID_ATTRIB_EX(proper, ucase, namespaceURI)
 Implements get/set methods and a private member for a string XML attribute, plus a getXMLID override and attribute node clearance when DOM is dropped. More...
 
#define IMPL_DATETIME_ATTRIB(proper, fallback)    IMPL_DATETIME_ATTRIB_EX(proper,fallback,false)
 Implements get/set methods and a private member for a DateTime XML attribute. More...
 
#define IMPL_DURATION_ATTRIB(proper, fallback)    IMPL_DATETIME_ATTRIB_EX(proper,fallback,true)
 Implements get/set methods and a private member for a duration-valued DateTime XML attribute. More...
 
#define IMPL_DATETIME_ATTRIB_EX(proper, fallback, duration)
 Implements get/set methods and a private member for a DateTime XML attribute. More...
 
#define IMPL_INTEGER_ATTRIB(proper)
 Implements get/set methods and a private member for an integer XML attribute. More...
 
#define IMPL_BOOLEAN_ATTRIB(proper)
 Implements get/set methods and a private member for a boolean XML attribute. More...
 
#define IMPL_XMLOBJECT_FOREIGN_ATTRIB(proper, type)
 Implements get/set methods and a private member for a typed, qualified XML attribute. More...
 
#define DECL_INHERITED_TYPED_FOREIGN_CHILD(proper, ns)
 Declares abstract set method for a typed XML child object in a foreign namespace. More...
 
#define DECL_TYPED_FOREIGN_CHILD(proper, ns)
 Declares abstract get/set methods for a typed XML child object in a foreign namespace. More...
 
#define DECL_INHERITED_TYPED_CHILD(proper)
 Declares abstract set method for a typed XML child object. More...
 
#define DECL_TYPED_CHILD(proper)
 Declares abstract get/set methods for a typed XML child object. More...
 
#define DECL_XMLOBJECT_CHILD(proper)
 Declares abstract get/set methods for a generic XML child object. More...
 
#define IMPL_TYPED_CHILD(proper)
 Implements get/set methods and a private list iterator member for a typed XML child object. More...
 
#define IMPL_TYPED_FOREIGN_CHILD(proper, ns)
 Implements get/set methods and a private list iterator member for a typed XML child object in a foreign namespace. More...
 
#define