#include <smartNSValueType.hh>
|
int | addrToStr (const ACE_INET_Addr &addr, ACE_TString &string) const |
| helper function to convert ACE_INET_Addr into String representation. More...
|
|
int | strToAddr (const ACE_TString &string, ACE_INET_Addr &addr) const |
| helper function to convert String into ACE_INET_Addr representation. More...
|
|
int | addrToPortStr (const ACE_INET_Addr &addr, ACE_TString &value) const |
| helper function is similar to addrToStr(). More...
|
|
int | portStrToAddr (const ACE_TString &value, ACE_INET_Addr &addr) const |
| helper function is similar to strToAddr(). More...
|
|
◆ NSValueType() [1/5]
SmartACE::NSValueType::NSValueType |
( |
| ) |
|
◆ NSValueType() [2/5]
SmartACE::NSValueType::NSValueType |
( |
const ACE_INET_Addr & |
addr | ) |
|
◆ NSValueType() [3/5]
SmartACE::NSValueType::NSValueType |
( |
const ACE_INET_Addr & |
addr, |
|
|
const ACE_Utils::UUID & |
uuid |
|
) |
| |
◆ NSValueType() [4/5]
SmartACE::NSValueType::NSValueType |
( |
const ACE_TString & |
strAddr | ) |
|
◆ NSValueType() [5/5]
SmartACE::NSValueType::NSValueType |
( |
const NSValueType & |
| ) |
|
◆ addrToPortStr()
int SmartACE::NSValueType::addrToPortStr |
( |
const ACE_INET_Addr & |
addr, |
|
|
ACE_TString & |
value |
|
) |
| const |
|
protected |
helper function is similar to addrToStr().
This function converst ACE_INET_Addr into ACE_TString representaion, similar to addrToStr() with the difference that string contains only the port number (without ip address).
- Parameters
-
addr | ACE_INET_Addr |
value | ACE_TString (compatible to std::string) value |
- Returns
- 0 on success
- See also
- addrToStr(), strToAddr(), portStrToAddr()
◆ addrToStr()
int SmartACE::NSValueType::addrToStr |
( |
const ACE_INET_Addr & |
addr, |
|
|
ACE_TString & |
string |
|
) |
| const |
|
protected |
helper function to convert ACE_INET_Addr into String representation.
See strToAddr() for opposite direction.
- Parameters
-
addr | ACE_INET_Addr |
string | ACE_TString (compatible to std::string) value |
- Returns
- 0 on success
- See also
- strToAddr(), addrToPortstr(), portStrToAddr()
◆ getInetAddr()
ACE_INET_Addr SmartACE::NSValueType::getInetAddr |
( |
| ) |
const |
|
inline |
◆ getPortNumber()
u_short SmartACE::NSValueType::getPortNumber |
( |
| ) |
const |
|
inline |
◆ getSmartType()
static ACE_TString SmartACE::NSValueType::getSmartType |
( |
| ) |
|
|
inlinestatic |
◆ getUUID()
ACE_Utils::UUID SmartACE::NSValueType::getUUID |
( |
| ) |
const |
|
inline |
◆ operator ACE_TString()
SmartACE::NSValueType::operator ACE_TString |
( |
| ) |
const |
|
inline |
◆ operator=()
NSValueType& SmartACE::NSValueType::operator= |
( |
const ACE_TString & |
strAddr | ) |
|
◆ portStrToAddr()
int SmartACE::NSValueType::portStrToAddr |
( |
const ACE_TString & |
value, |
|
|
ACE_INET_Addr & |
addr |
|
) |
| const |
|
protected |
helper function is similar to strToAddr().
This function converst ACE_TString into ACE_INET_Addr representaion, similar to strToAddr() with the difference that string contains only the port number (without ip address).
- Parameters
-
value | ACE_TString (compatible to std::string) value |
addr | ACE_INET_Addr |
- Returns
- 0 on success
- See also
- addrToStr(), strToAddr(), addrToPortstr()
◆ set()
void SmartACE::NSValueType::set |
( |
const ACE_INET_Addr & |
addr, |
|
|
const ACE_Utils::UUID & |
uuid |
|
) |
| |
◆ setFromString()
int SmartACE::NSValueType::setFromString |
( |
const ACE_TString & |
strAddr | ) |
|
◆ setInetAddr()
void SmartACE::NSValueType::setInetAddr |
( |
const ACE_INET_Addr & |
addr | ) |
|
|
inline |
◆ setPortNumber()
void SmartACE::NSValueType::setPortNumber |
( |
const u_short & |
nbr | ) |
|
|
inline |
◆ setUUID()
void SmartACE::NSValueType::setUUID |
( |
const ACE_Utils::UUID & |
uuid | ) |
|
|
inline |
◆ strToAddr()
int SmartACE::NSValueType::strToAddr |
( |
const ACE_TString & |
string, |
|
|
ACE_INET_Addr & |
addr |
|
) |
| const |
|
protected |
helper function to convert String into ACE_INET_Addr representation.
See addrToStr() for opposite direction.
- Parameters
-
string | ACE_TString (compatible to std::string) value |
addr | ACE_INET_Addr |
- Returns
- 0 on success
- See also
- addrToStr(), portStrToAddr(), portStrToAddr()
◆ toString()
ACE_TString SmartACE::NSValueType::toString |
( |
| ) |
const |
The documentation for this class was generated from the following file: