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

  1 karl  1.60 //%2006////////////////////////////////////////////////////////////////////////
  2 mike  1.28 //
  3 karl  1.53 // 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.50 // IBM Corp.; EMC Corporation, The Open Group.
  7 karl  1.53 // 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.54 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10            // EMC Corporation; VERITAS Software Corporation; The Open Group.
 11 karl  1.60 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 12            // EMC Corporation; Symantec Corporation; The Open Group.
 13 mike  1.28 //
 14            // Permission is hereby granted, free of charge, to any person obtaining a copy
 15 kumpf 1.43 // 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.28 // 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.43 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 22 mike  1.28 // 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.43 // 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.28 // 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            //%/////////////////////////////////////////////////////////////////////////////
 33            
 34            #ifndef Pegasus_Array_h
 35 kumpf 1.61 #define Pegasus_Array_h
 36            
 37 karl  1.51 /**
 38 kumpf 1.61     Explicit instantiations of the Array template are used to define the Array
 39                interface for the element types that may be stored in an Array.
 40 karl  1.51 */
 41 mike  1.28 
 42 sage  1.33 #include <Pegasus/Common/Config.h>
 43 mike  1.28 #include <Pegasus/Common/Char16.h>
 44 kumpf 1.45 #include <Pegasus/Common/String.h>
 45 mike  1.28 
 46            PEGASUS_NAMESPACE_BEGIN
 47            
 48 kumpf 1.42 #include <Pegasus/Common/ArrayInter.h>
 49 mike  1.28 
 50 kumpf 1.42 #define PEGASUS_ARRAY_T Boolean
 51            #include <Pegasus/Common/ArrayInter.h>
 52            #undef PEGASUS_ARRAY_T
 53 mike  1.28 
 54 kumpf 1.42 #define PEGASUS_ARRAY_T Uint8
 55            #include <Pegasus/Common/ArrayInter.h>
 56            #undef PEGASUS_ARRAY_T
 57 mike  1.28 
 58 kumpf 1.42 #define PEGASUS_ARRAY_T Sint8
 59            #include <Pegasus/Common/ArrayInter.h>
 60            #undef PEGASUS_ARRAY_T
 61 mike  1.28 
 62 kumpf 1.42 #define PEGASUS_ARRAY_T Uint16
 63            #include <Pegasus/Common/ArrayInter.h>
 64            #undef PEGASUS_ARRAY_T
 65 mike  1.28 
 66 kumpf 1.42 #define PEGASUS_ARRAY_T Sint16
 67            #include <Pegasus/Common/ArrayInter.h>
 68            #undef PEGASUS_ARRAY_T
 69 mike  1.28 
 70 kumpf 1.42 #define PEGASUS_ARRAY_T Uint32
 71            #include <Pegasus/Common/ArrayInter.h>
 72            #undef PEGASUS_ARRAY_T
 73            
 74            #define PEGASUS_ARRAY_T Sint32
 75            #include <Pegasus/Common/ArrayInter.h>
 76            #undef PEGASUS_ARRAY_T
 77 mike  1.28 
 78 kumpf 1.42 #define PEGASUS_ARRAY_T Uint64
 79            #include <Pegasus/Common/ArrayInter.h>
 80            #undef PEGASUS_ARRAY_T
 81 mike  1.28 
 82 kumpf 1.42 #define PEGASUS_ARRAY_T Sint64
 83            #include <Pegasus/Common/ArrayInter.h>
 84            #undef PEGASUS_ARRAY_T
 85 mike  1.29 
 86 kumpf 1.42 #define PEGASUS_ARRAY_T Real32
 87            #include <Pegasus/Common/ArrayInter.h>
 88            #undef PEGASUS_ARRAY_T
 89 mike  1.28 
 90 kumpf 1.42 #define PEGASUS_ARRAY_T Real64
 91            #include <Pegasus/Common/ArrayInter.h>
 92            #undef PEGASUS_ARRAY_T
 93 mike  1.28 
 94 kumpf 1.42 #define PEGASUS_ARRAY_T Char16
 95 kumpf 1.45 #include <Pegasus/Common/ArrayInter.h>
 96            #undef PEGASUS_ARRAY_T
 97            
 98            #define PEGASUS_ARRAY_T String
 99 mike  1.28 #include <Pegasus/Common/ArrayInter.h>
100 kumpf 1.42 #undef PEGASUS_ARRAY_T
101 mike  1.28 
102 kumpf 1.59 #if defined(PEGASUS_USE_DEPRECATED_INTERFACES) || defined(PEGASUS_INTERNALONLY)
103            // Note: This explicit template instantiation is needed to support
104            // binary compatibility with a previous definition of the Sint8 type.
105            # define PEGASUS_ARRAY_T char
106            # include <Pegasus/Common/ArrayInter.h>
107            # undef PEGASUS_ARRAY_T
108            #endif
109            
110 mike  1.28 PEGASUS_NAMESPACE_END
111            
112            #endif /* Pegasus_Array_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2