GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

stackobject.hh

Go to the documentation of this file.
00001 /* GFC-Core: GTK+ Foundation Classes (Core Library) 00002 * Copyright (C) 2003-2004 The GFC Development Team. 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU Library General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Library General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 */ 00018 00024 00025 #ifndef GFC_STACK_OBJECT_HH 00026 #define GFC_STACK_OBJECT_HH 00027 00028 #ifndef _CPP_CSTDDEF 00029 #include <cstddef> 00030 #endif 00031 00032 namespace GFC { 00033 00040 00041 class StackObject 00042 { 00043 StackObject(const StackObject&); 00044 StackObject& operator=(const StackObject&); 00045 00046 static void *operator new(size_t size); 00047 static void *operator new[](size_t size); 00048 00049 static void operator delete(void *ptr); 00050 static void operator delete[](void *ptr); 00051 00052 protected: 00055 00056 StackObject(); 00058 00060 00061 public: 00064 00065 ~StackObject(); 00067 00069 }; 00070 00071 } // namespace GFC 00072 00073 #endif // GFC_STACK_OBJECT_HH 00074 00075

Generated on Tue Aug 24 00:04:56 2004 for GFC-Core by doxygen 1.3.8