|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XALAN_XALANNAMESPACESSTACK_HEADER_GUARD)
19 #define XALAN_XALANNAMESPACESSTACK_HEADER_GUARD
99 MemoryManager& theManager);
105 MemoryManager& theManager);
110 const XalanDOMChar* theNamespaceURI,
122 return findEntry(thePrefix, &XalanNamespace::getPrefix, &XalanNamespace::getURI);
134 return findEntry(theURI, &XalanNamespace::getURI, &XalanNamespace::getPrefix);
140 return getNamespaceForPrefix(thePrefix) == 0 ? false :
true;
146 return m_namespaces.begin();
152 return m_namespaces.begin();
197 m_position = m_namespaces.begin();
211 MemberFunctionType theKeyFunction,
212 MemberFunctionType theValueFunction)
const;
214 NamespaceCollectionType m_namespaces;
254 const XalanDOMChar* theURI)
265 const XalanDOMChar* theURI,
280 return findEntry(theURI, &value_type::getPrefixForNamespace);
296 return m_stackBegin + 1;
308 return m_stackPosition + 1;
323 const_reverse_iterator
335 const_reverse_iterator
344 return m_resultNamespaces.size() - 1;
358 XalanNamespacesStackEntry&
359 operator=(
const XalanNamespacesStackEntry& theRHS);
367 enum { eDefaultCreateNewContextStackSize = 25 };
369 const XalanDOMString*
371 const XalanDOMString& theKey,
372 MemberFunctionType theFunction)
const;
377 NamespacesStackType m_resultNamespaces;
379 NamespacesStackType::iterator m_stackBegin;
381 NamespacesStackType::iterator m_stackPosition;
383 BoolVectorType m_createNewContextStack;
392 #endif // XALAN_XALANNAMESPACESSTACK_HEADER_GUARD
const typedef XalanDOMString &(value_type::* MemberFunctionType)() const
const_iterator end() const
const_reverse_iterator rbegin() const
#define XALAN_DOMSUPPORT_EXPORT
bool isPrefixPresent(const XalanDOMString &thePrefix) const
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
void clear(XalanDOMString &theString)
Remove all elements from target string.
const_reverse_iterator rend() const
const_reverse_iterator rbegin() const
reverse_iterator rbegin()
const_iterator begin() const
reverse_iterator rbegin()
void swap(XalanVector< Type > &theLHS, XalanVector< Type > &theRHS)
const XalanDOMString * getNamespaceForPrefix(const XalanDOMString &thePrefix) const
Get the namespace for a prefix.
const_reverse_iterator_ const_reverse_iterator
NamespaceCollectionType::iterator iterator
XalanVector< bool > BoolVectorType
const XalanDOMString * getPrefixForNamespace(const XalanDOMString &theURI) const
reverse_iterator_ reverse_iterator
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
const_iterator end() const
void addDeclaration(const XalanDOMString &thePrefix, const XalanDOMChar *theURI)
XalanNamespacesStackEntry value_type
NamespacesStackType::reverse_iterator reverse_iterator
const_reverse_iterator rend() const
NamespaceCollectionType::const_iterator const_iterator
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
This class defines an interface for classes that resolve namespace prefixes to their URIs.
NamespacesStackType::const_iterator const_iterator
XalanDeque< value_type > NamespaceCollectionType
NamespacesStackType::size_type size_type
void addDeclaration(const XalanDOMString &thePrefix, const XalanDOMString &theURI)
const typedef XalanDOMString *(value_type::* MemberFunctionType)(const XalanDOMString &) const
const XalanDOMChar * c_str() const
NamespaceCollectionType::reverse_iterator reverse_iterator
NamespaceCollectionType::const_reverse_iterator const_reverse_iterator
NamespacesStackType::const_reverse_iterator const_reverse_iterator
const XalanDOMString * getPrefixForNamespace(const XalanDOMString &theURI) const
Get the prefix for a namespace.
XalanNamespace value_type
XalanDeque< value_type, ConstructWithMemoryManagerTraits< value_type > > NamespacesStackType
NamespacesStackType::iterator iterator
const_iterator begin() const