1 karl 1.26 //%2006////////////////////////////////////////////////////////////////////////
|
2 mike 1.9 //
|
3 karl 1.16 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
|
6 karl 1.15 // IBM Corp.; EMC Corporation, The Open Group.
|
7 karl 1.16 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
|
9 karl 1.17 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 // EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 karl 1.26 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 // EMC Corporation; Symantec Corporation; The Open Group.
|
13 mike 1.9 //
14 // Permission is hereby granted, free of charge, to any person obtaining a copy
|
15 kumpf 1.12 // of this software and associated documentation files (the "Software"), to
16 // deal in the Software without restriction, including without limitation the
17 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
18 mike 1.9 // sell copies of the Software, and to permit persons to whom the Software is
19 // furnished to do so, subject to the following conditions:
20 //
|
21 kumpf 1.12 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
|
22 mike 1.9 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
24 kumpf 1.12 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
27 mike 1.9 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 //==============================================================================
31 //
32 // Author: Mike Brasher (mbrasher@bmc.com)
33 //
|
34 david.dillard 1.18 // Modified By: David Dillard, VERITAS Software Corp.
35 // (david.dillard@veritas.com)
|
36 mike 1.25 // Mike Brasher, Inova Europe (mike-brasher@austin.rr.com)
|
37 mike 1.9 //
38 //%/////////////////////////////////////////////////////////////////////////////
39
40 #include "Array.h"
|
41 mike 1.25 #include "ArrayRep.h"
|
42 mike 1.9
43 PEGASUS_NAMESPACE_BEGIN
44
|
45 mike 1.25 ArrayRepBase ArrayRepBase::_empty_rep;
46
|
47 mike 1.9 #define PEGASUS_ARRAY_T Boolean
48 #include <Pegasus/Common/ArrayImpl.h>
49 #undef PEGASUS_ARRAY_T
50
51 #define PEGASUS_ARRAY_T Uint8
52 #include <Pegasus/Common/ArrayImpl.h>
53 #undef PEGASUS_ARRAY_T
54
55 #define PEGASUS_ARRAY_T Sint8
56 #include <Pegasus/Common/ArrayImpl.h>
57 #undef PEGASUS_ARRAY_T
58
59 #define PEGASUS_ARRAY_T Uint16
60 #include <Pegasus/Common/ArrayImpl.h>
61 #undef PEGASUS_ARRAY_T
62
63 #define PEGASUS_ARRAY_T Sint16
64 #include <Pegasus/Common/ArrayImpl.h>
65 #undef PEGASUS_ARRAY_T
66
67 #define PEGASUS_ARRAY_T Uint32
68 mike 1.9 #include <Pegasus/Common/ArrayImpl.h>
69 #undef PEGASUS_ARRAY_T
70
71 #define PEGASUS_ARRAY_T Sint32
72 #include <Pegasus/Common/ArrayImpl.h>
73 #undef PEGASUS_ARRAY_T
74
75 #define PEGASUS_ARRAY_T Uint64
76 #include <Pegasus/Common/ArrayImpl.h>
77 #undef PEGASUS_ARRAY_T
78
79 #define PEGASUS_ARRAY_T Sint64
80 #include <Pegasus/Common/ArrayImpl.h>
81 #undef PEGASUS_ARRAY_T
82
83 #define PEGASUS_ARRAY_T Real32
84 #include <Pegasus/Common/ArrayImpl.h>
85 #undef PEGASUS_ARRAY_T
86
87 #define PEGASUS_ARRAY_T Real64
88 #include <Pegasus/Common/ArrayImpl.h>
89 mike 1.9 #undef PEGASUS_ARRAY_T
90
91 #define PEGASUS_ARRAY_T Char16
|
92 kumpf 1.13 #include <Pegasus/Common/ArrayImpl.h>
93 #undef PEGASUS_ARRAY_T
94
95 #define PEGASUS_ARRAY_T String
|
96 mike 1.9 #include <Pegasus/Common/ArrayImpl.h>
97 #undef PEGASUS_ARRAY_T
98
|
99 mike 1.24 // Explicitly instantiate the Array<char> template. This is necessary to
|
100 kumpf 1.22 // support binary compatibility with a previous definition of the Sint8 type.
|
101 mike 1.24 // It also reduces code size because Array<char> is used in many places in
|
102 kumpf 1.22 // the Pegasus implementation.
103 #define PEGASUS_ARRAY_T char
104 #include <Pegasus/Common/ArrayImpl.h>
105 #undef PEGASUS_ARRAY_T
106
|
107 mike 1.25 void ArrayThrowIndexOutOfBoundsException()
108 {
109 throw IndexOutOfBoundsException();
110 }
111
|
112 mike 1.9 PEGASUS_NAMESPACE_END
|