Realistic 3D camera system
3D camera system components
Classes | Public Member Functions | Friends | List of all members
asio::ip::detail::endpoint Class Reference

#include <endpoint.hpp>

Public Member Functions

ASIO_DECL endpoint ()
 
ASIO_DECL endpoint (int family, unsigned short port_num)
 
ASIO_DECL endpoint (const asio::ip::address &addr, unsigned short port_num)
 
 endpoint (const endpoint &other)
 
endpointoperator= (const endpoint &other)
 
asio::detail::socket_addr_typedata ()
 
const asio::detail::socket_addr_typedata () const
 
std::size_t size () const
 
ASIO_DECL void resize (std::size_t new_size)
 
std::size_t capacity () const
 
ASIO_DECL unsigned short port () const
 
ASIO_DECL void port (unsigned short port_num)
 
ASIO_DECL asio::ip::address address () const
 
ASIO_DECL void address (const asio::ip::address &addr)
 
bool is_v4 () const
 
ASIO_DECL std::string to_string (asio::error_code &ec) const
 

Friends

ASIO_DECL friend bool operator== (const endpoint &e1, const endpoint &e2)
 
ASIO_DECL friend bool operator< (const endpoint &e1, const endpoint &e2)
 

Detailed Description

Definition at line 32 of file endpoint.hpp.

Constructor & Destructor Documentation

asio::ip::detail::endpoint::endpoint ( )

Definition at line 34 of file endpoint.ipp.

asio::ip::detail::endpoint::endpoint ( int  family,
unsigned short  port_num 
)

Definition at line 42 of file endpoint.ipp.

asio::ip::detail::endpoint::endpoint ( const asio::ip::address addr,
unsigned short  port_num 
)

Definition at line 71 of file endpoint.ipp.

asio::ip::detail::endpoint::endpoint ( const endpoint other)
inline

Definition at line 46 of file endpoint.hpp.

Member Function Documentation

asio::ip::address asio::ip::detail::endpoint::address ( ) const

Definition at line 138 of file endpoint.ipp.

void asio::ip::detail::endpoint::address ( const asio::ip::address addr)

Definition at line 159 of file endpoint.ipp.

std::size_t asio::ip::detail::endpoint::capacity ( ) const
inline

Definition at line 83 of file endpoint.hpp.

asio::detail::socket_addr_type* asio::ip::detail::endpoint::data ( )
inline

Definition at line 59 of file endpoint.hpp.

const asio::detail::socket_addr_type* asio::ip::detail::endpoint::data ( ) const
inline

Definition at line 65 of file endpoint.hpp.

bool asio::ip::detail::endpoint::is_v4 ( ) const
inline

Definition at line 109 of file endpoint.hpp.

endpoint& asio::ip::detail::endpoint::operator= ( const endpoint other)
inline

Definition at line 52 of file endpoint.hpp.

unsigned short asio::ip::detail::endpoint::port ( ) const

Definition at line 110 of file endpoint.ipp.

void asio::ip::detail::endpoint::port ( unsigned short  port_num)

Definition at line 124 of file endpoint.ipp.

void asio::ip::detail::endpoint::resize ( std::size_t  new_size)

Definition at line 101 of file endpoint.ipp.

std::size_t asio::ip::detail::endpoint::size ( ) const
inline

Definition at line 71 of file endpoint.hpp.

std::string asio::ip::detail::endpoint::to_string ( asio::error_code ec) const

Definition at line 180 of file endpoint.ipp.

Friends And Related Function Documentation

ASIO_DECL friend bool operator< ( const endpoint e1,
const endpoint e2 
)
friend

Definition at line 170 of file endpoint.ipp.

ASIO_DECL friend bool operator== ( const endpoint e1,
const endpoint e2 
)
friend

Definition at line 165 of file endpoint.ipp.


The documentation for this class was generated from the following files: