Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

AttributeVectorEntryExtended.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2004 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #if !defined(ATTRIBUTEVECTORENTRYEXTENDED_HEADER_GUARD_1357924680)
00017 #define ATTRIBUTEVECTORENTRYEXTENDED_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp>
00023 
00024 
00025 
00026 #include <xalanc/PlatformSupport/AttributeVectorEntry.hpp>
00027 
00028 
00029 
00030 XALAN_CPP_NAMESPACE_BEGIN
00031 
00032 
00033 
00034 class XALAN_PLATFORMSUPPORT_EXPORT AttributeVectorEntryExtended : public AttributeVectorEntry
00035 {
00036 public:
00037 
00038     AttributeVectorEntryExtended(
00039             const XMLChVectorType&  theName,
00040             const XMLChVectorType&  theValue,
00041             const XMLChVectorType&  theType,
00042             const XMLChVectorType&  theURI = XMLChVectorType(),
00043             const XMLChVectorType&  theLocalName = XMLChVectorType()) :
00044         AttributeVectorEntry(theName, theValue, theType),
00045         m_uri(theURI),
00046         m_localName(theLocalName)
00047     {
00048     }
00049 
00050     AttributeVectorEntryExtended(
00051             const XMLCh*    theName,
00052             const XMLCh*    theValue,
00053             const XMLCh*    theType,
00054             const XMLCh*    theURI,
00055             const XMLCh*    theLocalName) :
00056         AttributeVectorEntry(theName, theValue, theType),
00057         m_uri(theURI, theURI + length(theURI) + 1),
00058         m_localName(theLocalName, theLocalName + length(theLocalName) + 1)
00059     {
00060     }
00061 
00062     AttributeVectorEntryExtended(
00063             const XMLCh*    theName,
00064             const XMLCh*    theValue,
00065             const XMLCh*    theType) :
00066         AttributeVectorEntry(theName, theValue, theType),
00067         m_uri(),
00068         m_localName()
00069     {
00070     }
00071 
00072     AttributeVectorEntryExtended() :
00073         AttributeVectorEntry(),
00074         m_uri(),
00075         m_localName()
00076     {
00077     }
00078 
00079     virtual
00080     ~AttributeVectorEntryExtended()
00081     {
00082     }
00083 
00084     void
00085     clear()
00086     {
00087         AttributeVectorEntry::clear();
00088 
00089         m_uri.clear();
00090         m_localName.clear();
00091     }
00092 
00093     XMLChVectorType     m_uri;
00094     XMLChVectorType     m_localName;
00095 };
00096 
00097 
00098 
00099 XALAN_CPP_NAMESPACE_END
00100 
00101 
00102 
00103 #endif  // ATTRIBUTEVECTORENTRY_HEADER_GUARD_1357924680

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.