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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2