DomainPlug-insDocumentation
|
#include <DomainPluginTypes.h>
Public Member Functions | |
DTNameServers () | |
void | add (const Str &aHostName, const Str &aIPAddr) |
void | add (const Str &aHostName) |
void | clear () |
bool | next () const |
const DTNameServer & | get () const |
DTNameServers & | operator= (const DTNameServers &t) |
DTNameServers (const DTNameServers &t) | |
Private Attributes | |
list< DTNameServer > | nses |
list< DTNameServer > ::const_iterator | iCur |
Friends | |
class | DTNameServersSerializer |
true-simple access to NS in loop
DTNameServers::DTNameServers | ( | ) | [inline] |
DTNameServers::DTNameServers | ( | const DTNameServers & | t | ) | [inline] |
void DTNameServers::add | ( | const Str & | aHostName, |
const Str & | aIPAddr | ||
) | [inline] |
Add new HostName+IPAddress to list
aHostName | is nameserver hostname |
aIPAddr | is nameserver ip-address |
void DTNameServers::add | ( | const Str & | aHostName | ) | [inline] |
Add new HostName to list
aHostName | is nameserver hostname |
void DTNameServers::clear | ( | ) | [inline] |
Clear list of Name Servers
const DTNameServer& DTNameServers::get | ( | ) | const [inline] |
Get One Name Server from current value of cursor. Should be used only after next().
bool DTNameServers::next | ( | ) | const [inline] |
Move cursor to next position.
DTNameServers& DTNameServers::operator= | ( | const DTNameServers & | t | ) | [inline] |
friend class DTNameServersSerializer [friend] |
list<DTNameServer>::const_iterator DTNameServers::iCur [mutable, private] |
list<DTNameServer> DTNameServers::nses [private] |