Sierra Toolkit Version of the Day
Writer_fwd.hpp
00001 /*------------------------------------------------------------------------*/
00002 /*                 Copyright 2010 Sandia Corporation.                     */
00003 /*  Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive   */
00004 /*  license for use of this work by or on behalf of the U.S. Government.  */
00005 /*  Export of this program may require a license from the                 */
00006 /*  United States Government.                                             */
00007 /*------------------------------------------------------------------------*/
00008 
00009 #ifndef STK_UTIL_DIAG_WRITER_FWD_HPP
00010 #define STK_UTIL_DIAG_WRITER_FWD_HPP
00011 
00012 namespace stk {
00013 
00018 
00023 enum LogMask {
00024   LOG_ALWAYS    = 0x00000000,
00025   LOG_TRACE    = 0x00000001,
00026   LOG_TRACE_STATS  = 0x00000002,
00027   LOG_TRACE_SUB_CALLS  = 0x00000004,
00028   LOG_MEMBERS    = 0x00000008,
00029 
00030   LOG_STREAM_COMMON  = LOG_TRACE | LOG_TRACE_STATS,
00031   LOG_PARAMETERS  = 0x00000100
00032 };
00033 
00037 
00038 namespace diag {
00039 
00040 class Writer;
00041 
00042 typedef unsigned long PrintMask;
00043 
00044 } // namespace diag
00045 } // namespace stk
00046 
00047 namespace sierra {
00048 
00049 enum LogMask {
00050   LOG_ALWAYS = stk::LOG_ALWAYS,
00051   LOG_TRACE    = stk::LOG_TRACE,
00052   LOG_TRACE_STATS  = stk::LOG_TRACE_STATS,
00053   LOG_TRACE_SUB_CALLS  = stk::LOG_TRACE_SUB_CALLS,
00054   LOG_MEMBERS    = stk::LOG_MEMBERS,
00055 
00056   LOG_STREAM_COMMON  = stk::LOG_STREAM_COMMON,
00057   LOG_PARAMETERS  = stk::LOG_PARAMETERS
00058 };
00059 
00060 namespace Diag {
00061 
00062 typedef stk::diag::Writer Writer;
00063 
00064 class PrintTable;
00065 
00066 typedef stk::diag::PrintMask PrintMask;
00067 
00068 } // namespace Diag
00069 
00070 namespace Slib {
00071 enum {
00072   LOG_ALWAYS    = sierra::LOG_ALWAYS,
00073   LOG_TRACE   = sierra::LOG_TRACE,
00074   LOG_TRACE_STATS = sierra::LOG_TRACE_STATS,
00075   LOG_TRACE_SUB_CALLS = sierra::LOG_TRACE_SUB_CALLS,
00076   LOG_MEMBERS   = sierra::LOG_MEMBERS,
00077 
00078   LOG_RESOURCE    = 0x00000100,
00079   LOG_PLUGIN    = 0x00000200,
00080   LOG_GLOBAL_VARIABLE = 0x00000400,
00081   LOG_MEMORY            = 0x00000800
00082 };
00083 
00084 } // namespace Slib
00085 
00086 } // namespace sierra
00087 
00088 
00089 #endif // STK_UTIL_DIAG_WRITER_FWD_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines