MArray-i.cc

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 1995-2012 John W. Eaton
00004 
00005 This file is part of Octave.
00006 
00007 Octave is free software; you can redistribute it and/or modify it
00008 under the terms of the GNU General Public License as published by the
00009 Free Software Foundation; either version 3 of the License, or (at your
00010 option) any later version.
00011 
00012 Octave is distributed in the hope that it will be useful, but WITHOUT
00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00015 for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Octave; see the file COPYING.  If not, see
00019 <http://www.gnu.org/licenses/>.
00020 
00021 */
00022 
00023 #ifdef HAVE_CONFIG_H
00024 #include <config.h>
00025 #endif
00026 
00027 #include "oct-inttypes.h"
00028 
00029 // Instantiate MArrays of int values.
00030 
00031 #include "MArray.h"
00032 #include "MArray.cc"
00033 
00034 template class OCTAVE_API MArray<int>;
00035 template class OCTAVE_API MArray<long>;
00036 
00037 // Explicit instantiation, as this seems to be required by weird compilers
00038 // like MSVC. This should be harmless on other compilers.
00039 template int xmin<int> (int, int);
00040 template int xmax<int> (int, int);
00041 template long xmin<long> (long, long);
00042 template long xmax<long> (long, long);
00043 
00044 INSTANTIATE_MARRAY_FRIENDS (int, OCTAVE_API)
00045 INSTANTIATE_MARRAY_FRIENDS (long, OCTAVE_API)
00046 
00047 template class OCTAVE_API MArray<octave_int8>;
00048 template class OCTAVE_API MArray<octave_int16>;
00049 template class OCTAVE_API MArray<octave_int32>;
00050 template class OCTAVE_API MArray<octave_int64>;
00051 
00052 INSTANTIATE_MARRAY_FRIENDS (octave_int8, OCTAVE_API)
00053 INSTANTIATE_MARRAY_FRIENDS (octave_int16, OCTAVE_API)
00054 INSTANTIATE_MARRAY_FRIENDS (octave_int32, OCTAVE_API)
00055 INSTANTIATE_MARRAY_FRIENDS (octave_int64, OCTAVE_API)
00056 
00057 template class OCTAVE_API MArray<octave_uint8>;
00058 template class OCTAVE_API MArray<octave_uint16>;
00059 template class OCTAVE_API MArray<octave_uint32>;
00060 template class OCTAVE_API MArray<octave_uint64>;
00061 
00062 INSTANTIATE_MARRAY_FRIENDS (octave_uint8, OCTAVE_API)
00063 INSTANTIATE_MARRAY_FRIENDS (octave_uint16, OCTAVE_API)
00064 INSTANTIATE_MARRAY_FRIENDS (octave_uint32, OCTAVE_API)
00065 INSTANTIATE_MARRAY_FRIENDS (octave_uint64, OCTAVE_API)
00066 
00067 #include "MDiagArray2.h"
00068 #include "MDiagArray2.cc"
00069 
00070 template class OCTAVE_API MDiagArray2<int>;
00071 
00072 INSTANTIATE_MDIAGARRAY2_FRIENDS (int, OCTAVE_API)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines