calllog.h File Reference

#include <comet/config.h>
#include <comet/tstring.h>
#include <comet/variant.h>
#include <comet/currency.h>
#include <comet/server.h>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <comet/handle_except.h>

Include dependency graph for calllog.h:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  comet
namespace  comet::impl

Classes

struct  comet::call_logger_< OVERRIDE >
struct  comet::stream_call_logger_t< CREATESTREAM >
struct  comet::impl::call_logger_redirect_< true >
struct  comet::impl::call_logger_redirect_< true >::exe< OVERRIDE >
struct  comet::impl::check_log_type_< T >
struct  comet::impl::choose_logger< TYPE >
struct  comet::impl::choose_logger< sizeof(char)>
struct  comet::impl::choose_logger< sizeof(short)>

Defines

#define __VARIANT_LOGPOINTER_TYPE_CAST(vartype, cast)
#define __VARIANT_LOGPOINTER_REFTYPE_CAST(vartype, cast)
#define __VARIANT_LOG_TYPE_CAST(vartype, cast)
#define __VARIANT_LOG_REFTYPE_CAST(vartype, cast)
#define __VARIANT_LOG_TYPE(vartype)
#define __VARIANT_LOG_REFTYPE(vartype)

Functions

template<typename T> void comet_log (tostream &os, const T &value)
template<typename T> void default_comet_log (tostream &os, const T &value)
template<> void default_comet_log< bstr_t > (tostream &os, const bstr_t &value)
template<typename T> void default_comet_log_array (tostream &os, const safearray_t< T > &value)


Detailed Description

Provide logging for calls.

Define Documentation

#define __VARIANT_LOG_REFTYPE vartype   ) 
 

Value:

case VT_BYREF|VT_##vartype: \ if(out_type) os << _T("BYREF VT_")_T(#vartype)_T(":"); \ comet_log(os, *V_##vartype##REF(var)); \ break

#define __VARIANT_LOG_REFTYPE_CAST vartype,
cast   ) 
 

Value:

case VT_BYREF|VT_##vartype:\ if(out_type) os << _T("BYREF VT_")_T(#vartype)_T(":");\ comet_log(os, cast(*V_##vartype##REF(var)));\ break

#define __VARIANT_LOG_TYPE vartype   ) 
 

Value:

case VT_##vartype: \ if(out_type) os << _T("VT_")_T(#vartype)_T(":");\ comet_log(os, V_##vartype(var));\ break

#define __VARIANT_LOG_TYPE_CAST vartype,
cast   ) 
 

Value:

case VT_##vartype: \ if(out_type) os << _T("VT_")_T(#vartype)_T(":"); \ comet_log(os, cast(V_##vartype(var))); \ break

#define __VARIANT_LOGPOINTER_REFTYPE_CAST vartype,
cast   ) 
 

Value:

case VT_BYREF|VT_##vartype:\ if(out_type) os << _T("BYREF VT_")_T(#vartype)_T(":");\ comet_log_interface(os, cast(*V_##vartype##REF(var)));\ break

#define __VARIANT_LOGPOINTER_TYPE_CAST vartype,
cast   ) 
 

Value:

case VT_##vartype:\ if(out_type) os << _T("VT_")_T(#vartype)_T(":");\ comet_log_interface(os, cast(V_##vartype(var))); \ break