(file) Return to Array.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

  1 martin 1.62 //%LICENSE////////////////////////////////////////////////////////////////
  2 martin 1.63 //
  3 martin 1.62 // Licensed to The Open Group (TOG) under one or more contributor license
  4             // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
  5             // this work for additional information regarding copyright ownership.
  6             // Each contributor licenses this file to you under the OpenPegasus Open
  7             // Source License; you may not use this file except in compliance with the
  8             // License.
  9 martin 1.63 //
 10 martin 1.62 // Permission is hereby granted, free of charge, to any person obtaining a
 11             // copy of this software and associated documentation files (the "Software"),
 12             // to deal in the Software without restriction, including without limitation
 13             // the rights to use, copy, modify, merge, publish, distribute, sublicense,
 14             // and/or sell copies of the Software, and to permit persons to whom the
 15             // Software is furnished to do so, subject to the following conditions:
 16 martin 1.63 //
 17 martin 1.62 // The above copyright notice and this permission notice shall be included
 18             // in all copies or substantial portions of the Software.
 19 martin 1.63 //
 20 martin 1.62 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 21 martin 1.63 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 22 martin 1.62 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 23             // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 24             // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 25             // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 26             // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27 martin 1.63 //
 28 martin 1.62 //////////////////////////////////////////////////////////////////////////
 29 mike   1.28 //
 30             //%/////////////////////////////////////////////////////////////////////////////
 31             
 32             #ifndef Pegasus_Array_h
 33 kumpf  1.61 #define Pegasus_Array_h
 34             
 35 karl   1.51 /**
 36 kumpf  1.61     Explicit instantiations of the Array template are used to define the Array
 37                 interface for the element types that may be stored in an Array.
 38 karl   1.51 */
 39 mike   1.28 
 40 sage   1.33 #include <Pegasus/Common/Config.h>
 41 mike   1.28 #include <Pegasus/Common/Char16.h>
 42 kumpf  1.45 #include <Pegasus/Common/String.h>
 43 mike   1.28 
 44             PEGASUS_NAMESPACE_BEGIN
 45             
 46 kumpf  1.42 #include <Pegasus/Common/ArrayInter.h>
 47 mike   1.28 
 48 kumpf  1.42 #define PEGASUS_ARRAY_T Boolean
 49             #include <Pegasus/Common/ArrayInter.h>
 50             #undef PEGASUS_ARRAY_T
 51 mike   1.28 
 52 kumpf  1.42 #define PEGASUS_ARRAY_T Uint8
 53             #include <Pegasus/Common/ArrayInter.h>
 54             #undef PEGASUS_ARRAY_T
 55 mike   1.28 
 56 kumpf  1.42 #define PEGASUS_ARRAY_T Sint8
 57             #include <Pegasus/Common/ArrayInter.h>
 58             #undef PEGASUS_ARRAY_T
 59 mike   1.28 
 60 kumpf  1.42 #define PEGASUS_ARRAY_T Uint16
 61             #include <Pegasus/Common/ArrayInter.h>
 62             #undef PEGASUS_ARRAY_T
 63 mike   1.28 
 64 kumpf  1.42 #define PEGASUS_ARRAY_T Sint16
 65             #include <Pegasus/Common/ArrayInter.h>
 66             #undef PEGASUS_ARRAY_T
 67 mike   1.28 
 68 kumpf  1.42 #define PEGASUS_ARRAY_T Uint32
 69             #include <Pegasus/Common/ArrayInter.h>
 70             #undef PEGASUS_ARRAY_T
 71             
 72             #define PEGASUS_ARRAY_T Sint32
 73             #include <Pegasus/Common/ArrayInter.h>
 74             #undef PEGASUS_ARRAY_T
 75 mike   1.28 
 76 kumpf  1.42 #define PEGASUS_ARRAY_T Uint64
 77             #include <Pegasus/Common/ArrayInter.h>
 78             #undef PEGASUS_ARRAY_T
 79 mike   1.28 
 80 kumpf  1.42 #define PEGASUS_ARRAY_T Sint64
 81             #include <Pegasus/Common/ArrayInter.h>
 82             #undef PEGASUS_ARRAY_T
 83 mike   1.29 
 84 kumpf  1.42 #define PEGASUS_ARRAY_T Real32
 85             #include <Pegasus/Common/ArrayInter.h>
 86             #undef PEGASUS_ARRAY_T
 87 mike   1.28 
 88 kumpf  1.42 #define PEGASUS_ARRAY_T Real64
 89             #include <Pegasus/Common/ArrayInter.h>
 90             #undef PEGASUS_ARRAY_T
 91 mike   1.28 
 92 kumpf  1.42 #define PEGASUS_ARRAY_T Char16
 93 kumpf  1.45 #include <Pegasus/Common/ArrayInter.h>
 94             #undef PEGASUS_ARRAY_T
 95             
 96             #define PEGASUS_ARRAY_T String
 97 mike   1.28 #include <Pegasus/Common/ArrayInter.h>
 98 kumpf  1.42 #undef PEGASUS_ARRAY_T
 99 mike   1.28 
100 kumpf  1.59 #if defined(PEGASUS_USE_DEPRECATED_INTERFACES) || defined(PEGASUS_INTERNALONLY)
101             // Note: This explicit template instantiation is needed to support
102             // binary compatibility with a previous definition of the Sint8 type.
103             # define PEGASUS_ARRAY_T char
104             # include <Pegasus/Common/ArrayInter.h>
105             # undef PEGASUS_ARRAY_T
106             #endif
107             
108 mike   1.28 PEGASUS_NAMESPACE_END
109             
110             #endif /* Pegasus_Array_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2