Panda3D
 All Classes Functions Variables Enumerations
pta_double.h
00001 // Filename: pta_double.h
00002 // Created by:  drose (10May00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef PTA_DOUBLE_H
00016 #define PTA_DOUBLE_H
00017 
00018 #include "pandabase.h"
00019 
00020 #include "pointerToArray.h"
00021 #include "vector_double.h"
00022 
00023 ////////////////////////////////////////////////////////////////////
00024 //       Class : PTA_double
00025 // Description : A pta of doubles.  This class is defined once here,
00026 //               and exported to PANDA.DLL; other packages that want
00027 //               to use a pta of this type (whether they need to
00028 //               export it or not) should include this header file,
00029 //               rather than defining the pta again.
00030 ////////////////////////////////////////////////////////////////////
00031 
00032 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToBase<ReferenceCountedVector<double> >)
00033 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArrayBase<double>)
00034 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArray<double>)
00035 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, ConstPointerToArray<double>)
00036 
00037 typedef PointerToArray<double> PTA_double;
00038 typedef ConstPointerToArray<double> CPTA_double;
00039 
00040 // Tell GCC that we'll take care of the instantiation explicitly here.
00041 #ifdef __GNUC__
00042 #pragma interface
00043 #endif
00044 
00045 #endif
 All Classes Functions Variables Enumerations