applog.h(3) Library Functions Manual applog.h(3)NAME
applog.h -
Application logging facilities abstraction.
SYNOPSIS
#include <cc++/slog.h>
#include <cc++/exception.h>
#include <string>
#include <sstream>
#include <iostream>
#include <map>
Classes
class ost::HEXdump
Produces a dump of a buffer in a hexdump way with its code Ascii translation and relative buffer address.
class ost::AppLog
Application logger is a class that implements a logger that can be used by applications to save log file somewhere on the system.
class ost::AppLog::Ident
Ident class that represents module name.
Namespaces
namespace ost
Functions
__EXPORT AppLog & ost::debug (AppLog &sl)
Manipulator for debug level.
__EXPORT AppLog & ost::warn (AppLog &sl)
Manipulator for warn level.
__EXPORT AppLog & ost::error (AppLog &sl)
Manipulator for error level.
__EXPORT AppLog & ost::emerg (AppLog &sl)
Manipulator for emerg level.
__EXPORT AppLog & ost::alert (AppLog &sl)
Manipulator for alert level.
__EXPORT AppLog & ost::critical (AppLog &sl)
Manipulator for critical level.
__EXPORT AppLog & ost::notice (AppLog &sl)
Manipulator for notice level.
__EXPORT AppLog & ost::info (AppLog &sl)
Manipulator for info level.
Variables
__EXPORT AppLog ost::alog
alog global log stream definition
Detailed Description
Application logging facilities abstraction.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 applog.h(3)
Check Out this Related Man Page
ost::NetworkDeviceInfo(3) Library Functions Manual ost::NetworkDeviceInfo(3)NAME
ost::NetworkDeviceInfo -
Network device information class.
SYNOPSIS
#include <network.h>
Public Member Functions
NetworkDeviceInfo (const NetworkDeviceInfo &ndi)
~NetworkDeviceInfo ()
const String & name () const
Returns the Name of the network device.
const InetHostAddress & address () const
Returns the Address of the network device.
const BroadcastAddress & broadcast () const
Returns the Broadcast address of the network device.
const InetMaskAddress & netmask () const
Returns the Netmask of the network device.
const int mtu () const
Returns the MTU.
Protected Member Functions
NetworkDeviceInfo (const String &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const InetMaskAddress &netmask, int
mtu)
Friends
__EXPORT bool enumNetworkDevices (std::vector< NetworkDeviceInfo > &devs)
Enumerate all available network devices.
Detailed Description
Network device information class.
This class is used to hold various informations about a TCP/IP network device. Which can be obtained by a call to enumNetworkDevices()
Author:
Christian Prochnow cproch@seculogix.de
Constructor & Destructor Documentation
ost::NetworkDeviceInfo::NetworkDeviceInfo (const String &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const
InetMaskAddress &netmask, intmtu) [protected]
ost::NetworkDeviceInfo::NetworkDeviceInfo (const NetworkDeviceInfo &ndi)
ost::NetworkDeviceInfo::~NetworkDeviceInfo ()
Member Function Documentation
const InetHostAddress& ost::NetworkDeviceInfo::address () const [inline]
Returns the Address of the network device.
const BroadcastAddress& ost::NetworkDeviceInfo::broadcast () const [inline]
Returns the Broadcast address of the network device.
const int ost::NetworkDeviceInfo::mtu () const [inline]
Returns the MTU.
const String& ost::NetworkDeviceInfo::name () const [inline]
Returns the Name of the network device.
const InetMaskAddress& ost::NetworkDeviceInfo::netmask () const [inline]
Returns the Netmask of the network device.
Friends And Related Function Documentation
__EXPORT bool enumNetworkDevices (std::vector< NetworkDeviceInfo > &devs) [friend]
Enumerate all available network devices.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::NetworkDeviceInfo(3)