18 #ifndef _LOG4CXX_HELPER_INETADDRESS_H 19 #define _LOG4CXX_HELPER_INETADDRESS_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 28 #include <log4cxx/helpers/objectimpl.h> 29 #include <log4cxx/helpers/objectptr.h> 30 #include <log4cxx/logstring.h> 32 #include <log4cxx/helpers/exception.h> 49 LOG4CXX_LIST_DEF(InetAddressList, InetAddressPtr);
55 BEGIN_LOG4CXX_CAST_MAP()
57 END_LOG4CXX_CAST_MAP()
59 InetAddress(
const LogString& hostName,
const LogString& hostAddr);
63 static InetAddressList getAllByName(
const LogString& host);
67 static InetAddressPtr getByName(
const LogString& host);
71 LogString getHostAddress()
const;
75 LogString getHostName()
const;
79 static InetAddressPtr getLocalHost();
85 static InetAddressPtr anyAddress();
89 LogString toString()
const;
92 LogString ipAddrString;
94 LogString hostNameString;
100 #if defined(_MSC_VER) 101 #pragma warning ( pop ) 105 #endif // _LOG4CXX_HELPER_INETADDRESS_H Implementation class for Object.
Definition: objectimpl.h:28
Definition: inetaddress.h:38
Definition: inetaddress.h:51
Definition: appender.h:33
The class Exception and its subclasses indicate conditions that a reasonable application might want t...
Definition: exception.h:37