Main Page   Reference Manual   Namespace List   Compound List   Namespace Members   Compound Members   File Members  

enum_memblk_types.h

Go to the documentation of this file.
00001 // $Header: /cvsroot/libcwd/libcwd/include/libcwd/enum_memblk_types.h,v 1.5 2005/05/31 02:06:35 libcw Exp $
00002 //
00003 // Copyright (C) 2000 - 2004, by
00004 // 
00005 // Carlo Wood, Run on IRC <carlo@alinoe.com>
00006 // RSA-1024 0x624ACAD5 1997-01-26                    Sign & Encrypt
00007 // Fingerprint16 = 32 EC A7 B6 AC DB 65 A6  F6 F6 55 DD 1C DC FF 61
00008 //
00009 // This file may be distributed under the terms of the Q Public License
00010 // version 1.0 as appearing in the file LICENSE.QPL included in the
00011 // packaging of this file.
00012 //
00013 
00018 #ifndef LIBCWD_ENUM_MEMBLK_TYPES_H
00019 #define LIBCWD_ENUM_MEMBLK_TYPES_H
00020 
00021 #ifndef LIBCWD_CONFIG_H
00022 #include <libcwd/config.h>
00023 #endif
00024 #ifndef LIBCW_IOSFWD
00025 #define LIBCW_IOSFWD
00026 #include <iosfwd>               // Needed for ostream.
00027 #endif
00028 
00029 namespace libcwd {
00030 
00031 //===================================================================================================
00032 // Flags used to mark the type of `memblk':
00033 //
00034 
00044 // If you change this, then also edit `expected_from' in debugmalloc.cc!
00045 enum memblk_types_nt {
00046   memblk_type_new,              
00047   memblk_type_deleted,          
00048   memblk_type_new_array,        
00049   memblk_type_deleted_array,    
00050   memblk_type_malloc,           
00051   memblk_type_realloc,          
00052   memblk_type_freed,            
00053 #if CWDEBUG_MARKER
00054   memblk_type_marker,           
00055   memblk_type_deleted_marker,   
00056 #endif
00057   memblk_type_external          
00058 };
00059 
00060 #ifndef HIDE_FROM_DOXYGEN     // Bug in doxygen
00061 extern ::std::ostream& operator<<(::std::ostream& os, memblk_types_nt);
00062 #endif
00063 
00064 } // namespace libcwd
00065 
00066 #endif // LIBCWD_ENUM_MEMBLK_TYPES_H
00067 
Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.