OpenJAUS SAE SDK  6.0.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | Private Attributes | Friends | List of all members
openjaus::system::InetAddress Class Reference

This is a brief description. More...

#include <InetAddress.h>

Public Member Functions

 InetAddress ()
 
 InetAddress (int value)
 
 InetAddress (const InetAddress &other)
 
virtual ~InetAddress ()
 
int getValue () const
 Accessor to get the value of value. More...
 
bool setValue (int value)
 Accessor to set value of value. More...
 
uint32_t hash ()
 Operation hash. More...
 
virtual std::string toString () const
 

Static Public Member Functions

static InetAddress getByName (std::string name)
 Operation getByName. More...
 
static InetAddress getLocalHost ()
 Operation getLocalHost. More...
 
static InetAddress anyAddress ()
 Operation anyAddress. More...
 

Static Public Attributes

static const short ANY_PORT = 0
 

Static Private Member Functions

static std::string toName (int value)
 

Private Attributes

int value
 
std::string name
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const InetAddress &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const InetAddress *object)
 

Detailed Description

Detailed description.

Author
Name (name@.nosp@m.emai.nosp@m.l.com)

Constructor & Destructor Documentation

◆ InetAddress() [1/3]

openjaus::system::InetAddress::InetAddress ( )

◆ InetAddress() [2/3]

openjaus::system::InetAddress::InetAddress ( int  value)

◆ InetAddress() [3/3]

openjaus::system::InetAddress::InetAddress ( const InetAddress other)

◆ ~InetAddress()

openjaus::system::InetAddress::~InetAddress ( )
virtual

Member Function Documentation

◆ anyAddress()

InetAddress openjaus::system::InetAddress::anyAddress ( )
static

◆ getByName()

InetAddress openjaus::system::InetAddress::getByName ( std::string  name)
static
Parameters
name

◆ getLocalHost()

InetAddress openjaus::system::InetAddress::getLocalHost ( )
static

◆ getValue()

int openjaus::system::InetAddress::getValue ( ) const

◆ hash()

uint32_t openjaus::system::InetAddress::hash ( )

◆ setValue()

bool openjaus::system::InetAddress::setValue ( int  value)
Parameters
valueThe value of the new value.

◆ toName()

std::string openjaus::system::InetAddress::toName ( int  value)
staticprivate

◆ toString()

std::string openjaus::system::InetAddress::toString ( ) const
virtual

Friends And Related Function Documentation

◆ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const InetAddress object 
)
friend

◆ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const InetAddress object 
)
friend

Member Data Documentation

◆ ANY_PORT

const short openjaus::system::InetAddress::ANY_PORT = 0
static

◆ name

std::string openjaus::system::InetAddress::name
private

◆ value

int openjaus::system::InetAddress::value
private

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