class Poco::Net::Impl::IPv4AddressImpl

#include <IPAddressImpl.h>

class IPv4AddressImpl: public Poco::Net::Impl::IPAddressImpl
{
public:
    // construction

    IPv4AddressImpl();
    IPv4AddressImpl(const void* addr);
    IPv4AddressImpl(unsigned prefix);
    IPv4AddressImpl(const IPv4AddressImpl& addr);

    // methods

    IPv4AddressImpl&
    operator=(const IPv4AddressImpl&);

    virtual
    std::string
    toString() const;

    virtual
    poco_socklen_t
    length() const;

    virtual
    const void*
    addr() const;

    virtual
    Family
    family() const;

    virtual
    int
    af() const;

    virtual
    unsigned
    prefixLength() const;

    virtual
    Poco::UInt32
    scope() const;

    virtual
    bool
    isWildcard() const;

    virtual
    bool
    isBroadcast() const;

    virtual
    bool
    isLoopback() const;

    virtual
    bool
    isMulticast() const;

    virtual
    bool
    isLinkLocal() const;

    virtual
    bool
    isSiteLocal() const;

    virtual
    bool
    isIPv4Compatible() const;

    virtual
    bool
    isIPv4Mapped() const;

    virtual
    bool
    isWellKnownMC() const;

    virtual
    bool
    isNodeLocalMC() const;

    virtual
    bool
    isLinkLocalMC() const;

    virtual
    bool
    isSiteLocalMC() const;

    virtual
    bool
    isOrgLocalMC() const;

    virtual
    bool
    isGlobalMC() const;

    virtual
    void
    mask(
        const IPAddressImpl* pMask,
        const IPAddressImpl* pSet
        );

    virtual
    IPAddressImpl*
    clone() const;

    IPv4AddressImpl
    operator&(const IPv4AddressImpl& addr) const;

    IPv4AddressImpl
    operator|(const IPv4AddressImpl& addr) const;

    IPv4AddressImpl
    operator^(const IPv4AddressImpl& addr) const;

    IPv4AddressImpl
    operator~() const;

    bool
    operator==(const IPv4AddressImpl& addr) const;

    bool
    operator!=(const IPv4AddressImpl& addr) const;

    static
    IPv4AddressImpl
    parse(const std::string& addr);
};

Inherited Members

public:
    // enums

    enum Family;

    // methods

    void
    duplicate() const;

    void
    release() const;

    int
    referenceCount() const;

    virtual
    IPAddressImpl*
    clone() const = 0;

    virtual
    std::string
    toString() const = 0;

    virtual
    poco_socklen_t
    length() const = 0;

    virtual
    const void*
    addr() const = 0;

    virtual
    Family
    family() const = 0;

    virtual
    int
    af() const = 0;

    virtual
    Poco::UInt32
    scope() const = 0;

    virtual
    bool
    isWildcard() const = 0;

    virtual
    bool
    isBroadcast() const = 0;

    virtual
    bool
    isLoopback() const = 0;

    virtual
    bool
    isMulticast() const = 0;

    virtual
    bool
    isLinkLocal() const = 0;

    virtual
    bool
    isSiteLocal() const = 0;

    virtual
    bool
    isIPv4Mapped() const = 0;

    virtual
    bool
    isIPv4Compatible() const = 0;

    virtual
    bool
    isWellKnownMC() const = 0;

    virtual
    bool
    isNodeLocalMC() const = 0;

    virtual
    bool
    isLinkLocalMC() const = 0;

    virtual
    bool
    isSiteLocalMC() const = 0;

    virtual
    bool
    isOrgLocalMC() const = 0;

    virtual
    bool
    isGlobalMC() const = 0;

    virtual
    void
    mask(
        const IPAddressImpl* pMask,
        const IPAddressImpl* pSet
        ) = 0;

    virtual
    unsigned
    prefixLength() const = 0;