1 mike 1.9 //%/////////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM
4 //
5 // Permission is hereby granted, free of charge, to any person obtaining a copy
6 // of this software and associated documentation files (the "Software"), to
7 // deal in the Software without restriction, including without limitation the
8 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 // sell copies of the Software, and to permit persons to whom the Software is
10 // furnished to do so, subject to the following conditions:
11 //
12 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
13 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
14 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
16 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
18 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
19 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 //
21 //==============================================================================
22 mike 1.9 //
23 // Author: Mike Brasher (mbrasher@bmc.com)
24 //
25 // Modified By:
26 //
27 //%/////////////////////////////////////////////////////////////////////////////
28
29 #include "Array.h"
30 #include "String.h"
31 #include "Exception.h"
32
33 PEGASUS_NAMESPACE_BEGIN
34
35 #define PEGASUS_ARRAY_T Boolean
36 #include <Pegasus/Common/ArrayImpl.h>
37 #undef PEGASUS_ARRAY_T
38
39 #define PEGASUS_ARRAY_T Uint8
40 #include <Pegasus/Common/ArrayImpl.h>
41 #undef PEGASUS_ARRAY_T
42
43 mike 1.9 #define PEGASUS_ARRAY_T Sint8
44 #include <Pegasus/Common/ArrayImpl.h>
45 #undef PEGASUS_ARRAY_T
46
47 #define PEGASUS_ARRAY_T Uint16
48 #include <Pegasus/Common/ArrayImpl.h>
49 #undef PEGASUS_ARRAY_T
50
51 #define PEGASUS_ARRAY_T Sint16
52 #include <Pegasus/Common/ArrayImpl.h>
53 #undef PEGASUS_ARRAY_T
54
55 #define PEGASUS_ARRAY_T Uint32
56 #include <Pegasus/Common/ArrayImpl.h>
57 #undef PEGASUS_ARRAY_T
58
59 #define PEGASUS_ARRAY_T Sint32
60 #include <Pegasus/Common/ArrayImpl.h>
61 #undef PEGASUS_ARRAY_T
62
63 #define PEGASUS_ARRAY_T Uint64
64 mike 1.9 #include <Pegasus/Common/ArrayImpl.h>
65 #undef PEGASUS_ARRAY_T
66
67 #define PEGASUS_ARRAY_T Sint64
68 #include <Pegasus/Common/ArrayImpl.h>
69 #undef PEGASUS_ARRAY_T
70
71 #define PEGASUS_ARRAY_T Real32
72 #include <Pegasus/Common/ArrayImpl.h>
73 #undef PEGASUS_ARRAY_T
74
75 #define PEGASUS_ARRAY_T Real64
76 #include <Pegasus/Common/ArrayImpl.h>
77 #undef PEGASUS_ARRAY_T
78
79 #define PEGASUS_ARRAY_T Char16
80 #include <Pegasus/Common/ArrayImpl.h>
81 #undef PEGASUS_ARRAY_T
82
83 #define PEGASUS_ARRAY_T ConstCharPtr
84 # include "ArrayImpl.h"
85 mike 1.9 #undef PEGASUS_ARRAY_T
86
87 #define PEGASUS_ARRAY_T CharPtr
88 # include "ArrayImpl.h"
89 #undef PEGASUS_ARRAY_T
90
91 void ThrowOutOfBounds()
92 {
93 throw OutOfBounds();
94 }
95
96 PEGASUS_NAMESPACE_END
|