Xalan-C++ API Reference 1.12.0
XalanEXSLTMathImpl.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18#if !defined(EXSLT_MATHIMPL_HEADER_GUARD_1357924680)
19#define EXSLT_MATHIMPL_HEADER_GUARD_1357924680
20
21
22
24
25
26
28
29
30
32
33
34
35namespace XALAN_CPP_NAMESPACE {
36
37
38
40{
41public:
42
44
48
49 virtual
53
54 // These methods are inherited from Function ...
55
56 virtual XObjectPtr
60 const XObjectArgVectorType& args,
61 const Locator* locator) const;
62
63 using ParentType::execute;
64
66 clone(MemoryManager& theManager) const
67 {
68 return XalanCopyConstruct(theManager, *this);
69 }
70
71protected:
72
73 const XalanDOMString&
75
76private:
77
78 // Not implemented...
80 operator=(const XalanEXSLTFunctionAbs&);
81
82 bool
84};
85
86
87
89{
90public:
91
93
97
98 virtual
102
103 // These methods are inherited from Function ...
104
105 virtual XObjectPtr
109 const XObjectArgVectorType& args,
110 const Locator* locator) const;
111
112 using ParentType::execute;
113
115 clone(MemoryManager& theManager) const
116 {
117 return XalanCopyConstruct(theManager, *this);
118 }
119
120protected:
121
122 const XalanDOMString&
124
125private:
126
127 // Not implemented...
129 operator=(const XalanEXSLTFunctionRandom&);
130
131 bool
133};
134
135
136
138{
139public:
140
142
146
147 virtual
151
152 // These methods are inherited from Function ...
153
154 virtual XObjectPtr
158 const XObjectArgVectorType& args,
159 const Locator* locator) const;
160
161 using ParentType::execute;
162
164 clone(MemoryManager& theManager) const
165 {
166 return XalanCopyConstruct(theManager, *this);
167 }
168
169protected:
170
171 const XalanDOMString&
173
174private:
175
176 // Not implemented...
178 operator=(const XalanEXSLTFunctionAcos&);
179
180 bool
182};
183
184
185
187{
188public:
189
191
195
196 virtual
200
201 // These methods are inherited from Function ...
202
203 virtual XObjectPtr
207 const XObjectArgVectorType& args,
208 const Locator* locator) const;
209
210 using ParentType::execute;
211
213 clone(MemoryManager& theManager) const
214 {
215 return XalanCopyConstruct(theManager, *this);
216 }
217
218protected:
219
220 const XalanDOMString&
222
223private:
224
225 // Not implemented...
227 operator=(const XalanEXSLTFunctionAsin&);
228
229 bool
231};
232
233
234
236{
237public:
238
240
244
245 virtual
249
250 // These methods are inherited from Function ...
251
252 virtual XObjectPtr
256 const XObjectArgVectorType& args,
257 const Locator* locator) const;
258
259 using ParentType::execute;
260
262 clone(MemoryManager& theManager) const
263 {
264 return XalanCopyConstruct(theManager, *this);
265 }
266
267protected:
268
269 const XalanDOMString&
271
272private:
273
274 // Not implemented...
276 operator=(const XalanEXSLTFunctionAtan&);
277
278 bool
280};
281
282
283
285{
286public:
287
289
293
294 virtual
298
299 // These methods are inherited from Function ...
300
301 virtual XObjectPtr
305 const XObjectArgVectorType& args,
306 const Locator* locator) const;
307
308 using ParentType::execute;
309
311 clone(MemoryManager& theManager) const
312 {
313 return XalanCopyConstruct(theManager, *this);
314 }
315
316protected:
317
318 const XalanDOMString&
320
321private:
322
323 // Not implemented...
325 operator=(const XalanEXSLTFunctionAtan2&);
326
327 bool
329};
330
331
332
334{
335public:
336
338
342
343 virtual
347
348 // These methods are inherited from Function ...
349
350 virtual XObjectPtr
354 const XObjectArgVectorType& args,
355 const Locator* locator) const;
356
357 using ParentType::execute;
358
360 clone(MemoryManager& theManager) const
361 {
362 return XalanCopyConstruct(theManager, *this);
363 }
364
365protected:
366
367 const XalanDOMString&
369 {
370 return XalanMessageLoader::getMessage(
371 theBuffer,
372 XalanMessages::EXSLTFunctionAcceptsTwoArguments_1Param,
373 "constant()");
374 }
375
376private:
377
378 static const XalanDOMChar s_eString[];
379 static const XalanDOMChar s_ln10String[];
380 static const XalanDOMChar s_ln2String[];
381 static const XalanDOMChar s_log2EString[];
382 static const XalanDOMChar s_piString[];
383 static const XalanDOMChar s_sqrt1_2String[];
384 static const XalanDOMChar s_sqrt2String[];
385
386 static const double s_eValues[];
387 static const double s_ln10Values[];
388 static const double s_ln2Values[];
389 static const double s_log2EValues[];
390 static const double s_piValues[];
391 static const double s_sqrt1_2Values[];
392 static const double s_sqrt2Values[];
393
394
395 // Not implemented...
397 operator=(const XalanEXSLTFunctionConstant&);
398
399 bool
401};
402
403
404
406{
407public:
408
410
414
415 virtual
419
420 // These methods are inherited from Function ...
421
422 virtual XObjectPtr
426 const XObjectArgVectorType& args,
427 const Locator* locator) const;
428
429 using ParentType::execute;
430
431 virtual XalanEXSLTFunctionCos*
432 clone(MemoryManager& theManager) const
433 {
434 return XalanCopyConstruct(theManager, *this);
435 }
436
437protected:
438
439 const XalanDOMString&
441
442private:
443
444 // Not implemented...
446 operator=(const XalanEXSLTFunctionCos&);
447
448 bool
449 operator==(const XalanEXSLTFunctionCos&) const;
450};
451
452
453
455{
456public:
457
459
463
464 virtual
468
469 // These methods are inherited from Function ...
470
471 virtual XObjectPtr
475 const XObjectArgVectorType& args,
476 const Locator* locator) const;
477
478 using ParentType::execute;
479
480 virtual XalanEXSLTFunctionExp*
481 clone(MemoryManager& theManager) const
482 {
483 return XalanCopyConstruct(theManager, *this);
484 }
485
486protected:
487
488 const XalanDOMString&
490
491private:
492
493 // Not implemented...
495 operator=(const XalanEXSLTFunctionExp&);
496
497 bool
498 operator==(const XalanEXSLTFunctionExp&) const;
499};
500
501
502
504{
505public:
506
508
512
513 virtual
517
518 // These methods are inherited from Function ...
519
520 virtual XObjectPtr
524 const XObjectArgVectorType& args,
525 const Locator* locator) const;
526
527 using ParentType::execute;
528
530 clone(MemoryManager& theManager) const
531 {
532 return XalanCopyConstruct(theManager, *this);
533 }
534
535protected:
536
537 const XalanDOMString&
539
540private:
541
542 // Not implemented...
544 operator=(const XalanEXSLTFunctionHighest&);
545
546 bool
548};
549
550
551
553{
554public:
555
557
561
562 virtual
566
567 // These methods are inherited from Function ...
568
569 virtual XObjectPtr
573 const XObjectArgVectorType& args,
574 const Locator* locator) const;
575
576 using ParentType::execute;
577
578 virtual XalanEXSLTFunctionLog*
579 clone(MemoryManager& theManager) const
580 {
581 return XalanCopyConstruct(theManager, *this);
582 }
583
584protected:
585
586 const XalanDOMString&
588
589private:
590
591 // Not implemented...
593 operator=(const XalanEXSLTFunctionLog&);
594
595 bool
596 operator==(const XalanEXSLTFunctionLog&) const;
597};
598
599
600
602{
603public:
604
606
610
611 virtual
615
616 // These methods are inherited from Function ...
617
618 virtual XObjectPtr
622 const XObjectArgVectorType& args,
623 const Locator* locator) const;
624
625 using ParentType::execute;
626
628 clone(MemoryManager& theManager) const
629 {
630 return XalanCopyConstruct(theManager, *this);
631 }
632
633protected:
634
635 const XalanDOMString&
637
638private:
639
640 // Not implemented...
642 operator=(const XalanEXSLTFunctionLowest&);
643
644 bool
646};
647
648
649
651{
652public:
653
655
659
660 virtual
664
665 // These methods are inherited from Function ...
666
667 virtual XObjectPtr
671 const XObjectArgVectorType& args,
672 const Locator* locator) const;
673
674 using ParentType::execute;
675
676 virtual XalanEXSLTFunctionMax*
677 clone(MemoryManager& theManager) const
678 {
679 return XalanCopyConstruct(theManager, *this);
680 }
681
682protected:
683
684 const XalanDOMString&
686
687private:
688
689 // Not implemented...
691 operator=(const XalanEXSLTFunctionMax&);
692
693 bool
694 operator==(const XalanEXSLTFunctionMax&) const;
695};
696
697
698
700{
701public:
702
704
708
709 virtual
713
714 // These methods are inherited from Function ...
715
716 virtual XObjectPtr
720 const XObjectArgVectorType& args,
721 const Locator* locator) const;
722
723 using ParentType::execute;
724
725 virtual XalanEXSLTFunctionMin*
726 clone(MemoryManager& theManager) const
727 {
728 return XalanCopyConstruct(theManager, *this);
729 }
730
731protected:
732
733 const XalanDOMString&
735
736private:
737
738 // Not implemented...
740 operator=(const XalanEXSLTFunctionMin&);
741
742 bool
743 operator==(const XalanEXSLTFunctionMin&) const;
744};
745
746
747
749{
750public:
751
753
757
758 virtual
762
763 // These methods are inherited from Function ...
764
765 virtual XObjectPtr
769 const XObjectArgVectorType& args,
770 const Locator* locator) const;
771
772 using ParentType::execute;
773
775 clone(MemoryManager& theManager) const
776 {
777 return XalanCopyConstruct(theManager, *this);
778 }
779
780protected:
781
782 const XalanDOMString&
784
785private:
786
787 // Not implemented...
789 operator=(const XalanEXSLTFunctionPower&);
790
791 bool
793};
794
795
796
798{
799public:
800
802
806
807 virtual
811
812 // These methods are inherited from Function ...
813
814 virtual XObjectPtr
818 const XObjectArgVectorType& args,
819 const Locator* locator) const;
820
821 using ParentType::execute;
822
823 virtual XalanEXSLTFunctionSin*
824 clone(MemoryManager& theManager) const
825 {
826 return XalanCopyConstruct(theManager, *this);
827 }
828
829protected:
830
831 const XalanDOMString&
833
834private:
835
836 // Not implemented...
838 operator=(const XalanEXSLTFunctionSin&);
839
840 bool
841 operator==(const XalanEXSLTFunctionSin&) const;
842};
843
844
845
847{
848public:
849
851
855
856 virtual
860
861 // These methods are inherited from Function ...
862
863 virtual XObjectPtr
867 const XObjectArgVectorType& args,
868 const Locator* locator) const;
869
870 using ParentType::execute;
871
873 clone(MemoryManager& theManager) const
874 {
875 return XalanCopyConstruct(theManager, *this);
876 }
877
878protected:
879
880 const XalanDOMString&
882
883private:
884
885 // Not implemented...
887 operator=(const XalanEXSLTFunctionSqrt&);
888
889 bool
891};
892
893
894
896{
897public:
898
900
904
905 virtual
909
910 // These methods are inherited from Function ...
911
912 virtual XObjectPtr
916 const XObjectArgVectorType& args,
917 const Locator* locator) const;
918
919 using ParentType::execute;
920
921 virtual XalanEXSLTFunctionTan*
922 clone(MemoryManager& theManager) const
923 {
924 return XalanCopyConstruct(theManager, *this);
925 }
926
927protected:
928
929 const XalanDOMString&
931
932private:
933
934 // Not implemented...
936 operator=(const XalanEXSLTFunctionTan&);
937
938 bool
939 operator==(const XalanEXSLTFunctionTan&) const;
940};
941
942
943
944}
945
946
947
948#endif // EXSLT_MATHIMPL_HEADER_GUARD_1357924680
#define XALAN_EXSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Class to hold XObjectPtr return types.
Definition XObject.hpp:884
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionAbs * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionAcos * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionAsin * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionAtan2 * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionAtan * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionConstant * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionCos * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionExp * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionHighest * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionLog * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionLowest * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionMax * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionMin * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionPower * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionRandom * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionSin * clone(MemoryManager &theManager) const
Create a copy of the function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
virtual XalanEXSLTFunctionSqrt * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
virtual XalanEXSLTFunctionTan * clone(MemoryManager &theManager) const
Create a copy of the function object.
virtual XObjectPtr execute(XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
Execute an XPath function object.
const XalanDOMString & getError(XalanDOMString &theBuffer) const
Get the error message to report when the function is called with the wrong number of arguments.
Type * XalanCopyConstruct(MemoryManager &theMemoryManager, const Type &theSource)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)