Call-logging


Namespaces

namespace  comet::impl
 Namespace for comet implementation details.
namespace  comet::impl
 Namespace for comet implementation details.
namespace  comet::impl
 Namespace for comet implementation details.
namespace  comet::impl
 Namespace for comet implementation details.

Classes

struct  comet::call_logger_< OVERRIDE >
struct  comet::stream_call_logger_t< CREATESTREAM >
struct  comet::call_logger_< OVERRIDE >
struct  comet::stream_call_logger_t< CREATESTREAM >

Functions

template<typename T> void comet_log (tostream &os, const T &value)
void comet::call_logger_::comet_log_interface (tostream &os, const com_ptr< IFACE > &iface)
void comet::call_logger_::comet_log (tostream &os, const T &value)
void comet::call_logger_::comet_log_array (tostream &os, const safearray_t< T > &value)

Function Documentation

template<bool OVERRIDE>
void comet_log tostream os,
const T &  value
[related, inherited]
 

Type specific logger. The default is to use internal logging. This can be specialised to provide type-specific logging.

See also:
comet_log_array comet_log_interface

template<bool OVERRIDE>
void comet_log_array tostream os,
const safearray_t< T > &  value
[related, inherited]
 

Typed safearray_t logger. The default is to use internal logging. This can be specialised to provide type-specific logging.

See also:
comet_log comet_log_interface

template<bool OVERRIDE>
void comet_log_interface tostream os,
const com_ptr< IFACE > &  iface
[related, inherited]
 

Default interface (com_ptr) logging. Specialise to provide custom logging for com_ptr.

                template<>
                void comet_log_interface<IMyInterface>(tostream &os, const com_ptr<IMyInterface> &iface)
                {
                        os << iface->GetName();
                }
Specialisations for IUnknown and IDispatch are used by the variant loggers.
See also:
comet_log comet_log_array