/scratch/rpmbuild.16050.r16097/pegasus/src/Pegasus/Common/Array.h

00001 //%LICENSE////////////////////////////////////////////////////////////////
00002 //
00003 // Licensed to The Open Group (TOG) under one or more contributor license
00004 // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
00005 // this work for additional information regarding copyright ownership.
00006 // Each contributor licenses this file to you under the OpenPegasus Open
00007 // Source License; you may not use this file except in compliance with the
00008 // License.
00009 //
00010 // Permission is hereby granted, free of charge, to any person obtaining a
00011 // copy of this software and associated documentation files (the "Software"),
00012 // to deal in the Software without restriction, including without limitation
00013 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
00014 // and/or sell copies of the Software, and to permit persons to whom the
00015 // Software is furnished to do so, subject to the following conditions:
00016 //
00017 // The above copyright notice and this permission notice shall be included
00018 // in all copies or substantial portions of the Software.
00019 //
00020 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00021 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00022 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00023 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00024 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00025 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00026 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00027 //
00029 //
00030 //%/////////////////////////////////////////////////////////////////////////////
00031 
00032 #ifndef Pegasus_Array_h
00033 #define Pegasus_Array_h
00034 
00040 #include <Pegasus/Common/Config.h>
00041 #include <Pegasus/Common/Char16.h>
00042 #include <Pegasus/Common/String.h>
00043 
00044 PEGASUS_NAMESPACE_BEGIN
00045 
00046 #include <Pegasus/Common/ArrayInter.h>
00047 
00048 #define PEGASUS_ARRAY_T Boolean
00049 #include <Pegasus/Common/ArrayInter.h>
00050 #undef PEGASUS_ARRAY_T
00051 
00052 #define PEGASUS_ARRAY_T Uint8
00053 #include <Pegasus/Common/ArrayInter.h>
00054 #undef PEGASUS_ARRAY_T
00055 
00056 #define PEGASUS_ARRAY_T Sint8
00057 #include <Pegasus/Common/ArrayInter.h>
00058 #undef PEGASUS_ARRAY_T
00059 
00060 #define PEGASUS_ARRAY_T Uint16
00061 #include <Pegasus/Common/ArrayInter.h>
00062 #undef PEGASUS_ARRAY_T
00063 
00064 #define PEGASUS_ARRAY_T Sint16
00065 #include <Pegasus/Common/ArrayInter.h>
00066 #undef PEGASUS_ARRAY_T
00067 
00068 #define PEGASUS_ARRAY_T Uint32
00069 #include <Pegasus/Common/ArrayInter.h>
00070 #undef PEGASUS_ARRAY_T
00071 
00072 #define PEGASUS_ARRAY_T Sint32
00073 #include <Pegasus/Common/ArrayInter.h>
00074 #undef PEGASUS_ARRAY_T
00075 
00076 #define PEGASUS_ARRAY_T Uint64
00077 #include <Pegasus/Common/ArrayInter.h>
00078 #undef PEGASUS_ARRAY_T
00079 
00080 #define PEGASUS_ARRAY_T Sint64
00081 #include <Pegasus/Common/ArrayInter.h>
00082 #undef PEGASUS_ARRAY_T
00083 
00084 #define PEGASUS_ARRAY_T Real32
00085 #include <Pegasus/Common/ArrayInter.h>
00086 #undef PEGASUS_ARRAY_T
00087 
00088 #define PEGASUS_ARRAY_T Real64
00089 #include <Pegasus/Common/ArrayInter.h>
00090 #undef PEGASUS_ARRAY_T
00091 
00092 #define PEGASUS_ARRAY_T Char16
00093 #include <Pegasus/Common/ArrayInter.h>
00094 #undef PEGASUS_ARRAY_T
00095 
00096 #define PEGASUS_ARRAY_T String
00097 #include <Pegasus/Common/ArrayInter.h>
00098 #undef PEGASUS_ARRAY_T
00099 
00100 #if defined(PEGASUS_USE_DEPRECATED_INTERFACES) || defined(PEGASUS_INTERNALONLY)
00101 // Note: This explicit template instantiation is needed to support
00102 // binary compatibility with a previous definition of the Sint8 type.
00103 # define PEGASUS_ARRAY_T char
00104 # include <Pegasus/Common/ArrayInter.h>
00105 # undef PEGASUS_ARRAY_T
00106 #endif
00107 
00108 PEGASUS_NAMESPACE_END
00109 
00110 #endif /* Pegasus_Array_h */