Menu

logging Namespace Reference

Data Structures

struct  AWDS
 This class is intended to be used as a template argument for the logging::log::emit() function. More...
struct  ATTR
 This class is intended to be used as a template argument for the logging::log::emit() function. More...

Functions

template<class AttrSeq >
inline::logging::loggingReturnType & operator<< (loggingReturnType &out, const boost::shared_ptr< ComparableAttributeSet< AttrSeq > > &att)
 Print the attributes to the given stream.
inline::logging::loggingReturnType & operator<< (::logging::loggingReturnType &out, const famouso::mw::Subject &s)
 Operator to print a Subject.
template<class AttrSet >
inline::logging::loggingReturnType & operator<< (::logging::loggingReturnType &out, const boost::shared_ptr< famouso::mw::nl::awds::detail::Node< AttrSet > > &c)
 Print a node to log.
template<class AttrSet >
inline::logging::loggingReturnType & operator<< (::logging::loggingReturnType &out, const famouso::mw::nl::awds::detail::Node< AttrSet > &c)
 Print a node to log.
template<uint16_t size>
inline::logging::loggingReturnType & operator<< (::logging::loggingReturnType &out, const famouso::mw::nl::NetworkID< size > &id)
 Print a Network ID to a log.

Function Documentation

template<uint16_t size>
inline ::logging::loggingReturnType& logging::operator<< ( ::logging::loggingReturnType &  out,
const famouso::mw::nl::NetworkID< size > &  id 
) [inline]

Print a Network ID to a log.

Parameters:
out The log to print to.
id The Network ID to print.
Returns:
The log to chain print calls.
template<class AttrSet >
inline ::logging::loggingReturnType& logging::operator<< ( ::logging::loggingReturnType &  out,
const famouso::mw::nl::awds::detail::Node< AttrSet > &  c 
) [inline]

Print a node to log.

Parameters:
out The log to print to.
c The node to print.
Template Parameters:
AttrSet The network attributes of the node.
Returns:
The log to chain print calls.

References famouso::mw::nl::awds::detail::Node< AttrSet >::print().

template<class AttrSet >
inline ::logging::loggingReturnType& logging::operator<< ( ::logging::loggingReturnType &  out,
const boost::shared_ptr< famouso::mw::nl::awds::detail::Node< AttrSet > > &  c 
) [inline]

Print a node to log.

Parameters:
out The log to print to.
c The node to print.
Template Parameters:
AttrSet The network attributes of the node.
Returns:
The log to chain print calls.
inline ::logging::loggingReturnType& logging::operator<< ( ::logging::loggingReturnType &  out,
const famouso::mw::Subject s 
)

Operator to print a Subject.

Parameters:
out The output stream to print to.
s The Subject to print.
Returns:
The output stream for chaining calls.

References UID::tab(), and UID::value().

template<class AttrSeq >
inline ::logging::loggingReturnType& logging::operator<< ( loggingReturnType &  out,
const boost::shared_ptr< ComparableAttributeSet< AttrSeq > > &  att 
) [inline]

Print the attributes to the given stream.

Parameters:
out the output stream to print to.
att the attributes to print.
Returns:
the output stream for chaining.
Template Parameters:
AttrSeq A boost mpl list of Attributes.