Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

AttributeVectorEntryExtended.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(ATTRIBUTEVECTORENTRYEXTENDED_HEADER_GUARD_1357924680)
17 #define ATTRIBUTEVECTORENTRYEXTENDED_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
27 
29 
30 XALAN_CPP_NAMESPACE_BEGIN
31 
32 
33 
35 {
36 public:
37 
39  const XMLChVectorType& theName,
40  const XMLChVectorType& theValue,
41  const XMLChVectorType& theType,
42  const XMLChVectorType& theURI ,
43  const XMLChVectorType& theLocalName,
44  MemoryManagerType& theManager) :
45  AttributeVectorEntry(theName, theValue, theType, theManager),
46  m_uri(theURI, theManager),
47  m_localName(theLocalName, theManager)
48  {
49  }
50 
52  const XMLCh* theName,
53  const XMLCh* theValue,
54  const XMLCh* theType,
55  const XMLCh* theURI,
56  const XMLCh* theLocalName,
57  MemoryManagerType& theManager) :
58  AttributeVectorEntry(theName, theValue, theType, theManager),
59  m_uri(theURI, theURI + length(theURI) + 1, theManager),
60  m_localName(theLocalName, theLocalName + length(theLocalName) + 1,theManager)
61  {
62  }
63 
65  const XMLCh* theName,
66  const XMLCh* theValue,
67  const XMLCh* theType,
68  MemoryManagerType& theManager) :
69  AttributeVectorEntry(theName, theValue, theType,theManager),
70  m_uri(theManager),
71  m_localName(theManager)
72  {
73  }
74 
76  AttributeVectorEntry(theManager),
77  m_uri(theManager),
78  m_localName(theManager)
79  {
80  }
81 
84  const XMLCh* theName,
85  const XMLCh* theValue,
86  const XMLCh* theType,
87  const XMLCh* theURI,
88  const XMLCh* theLocalName,
89  MemoryManagerType& theManager)
90  {
91  typedef AttributeVectorEntryExtended ThisType;
92 
93  XalanMemMgrAutoPtr<ThisType, false> theGuard( theManager , (ThisType*)theManager.allocate(sizeof(ThisType)));
94 
95  ThisType* theResult = theGuard.get();
96 
97  new (theResult) ThisType(theName, theValue, theType, theURI, theLocalName, theManager);
98 
99  theGuard.release();
100 
101  return theResult;
102  }
103 
104  virtual
106  {
107  }
108 
109  void
111  {
113 
114  m_uri.clear();
115  m_localName.clear();
116  }
117 
120 };
121 
122 
123 
124 XALAN_CPP_NAMESPACE_END
125 
126 
127 
128 #endif // ATTRIBUTEVECTORENTRY_HEADER_GUARD_1357924680

Interpreting class diagrams

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

dot

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

Apache Logo