DTExtData Class Reference
;
More...
#include <DomainPluginTypes.h>
Detailed Description
;
Usually using as attribute of Domains, Contacts or NameServer (additional info)
Constructor & Destructor Documentation
DTExtData::DTExtData |
( |
|
) |
[inline] |
DTExtData::DTExtData |
( |
const map< Str, Str > & |
m |
) |
[inline] |
DTExtData::DTExtData |
( |
const DTExtData & |
t |
) |
[inline] |
Member Function Documentation
void DTExtData::add |
( |
const Str & |
key, |
|
|
const Str & |
val | |
|
) |
| | [inline] |
adding new pair of ParameterName,Value.
- Parameters:
-
| key | name of parameter |
| val | value of parameter |
bool DTExtData::exists |
( |
const Str & |
key |
) |
const [inline] |
- Parameters:
-
| key | name of parameter in Extension Data. |
- Returns:
- False in case there is no parameter with name key.
const Str& DTExtData::getKey |
( |
|
) |
const [inline] |
- Todo:
- Possible SIGFAULT if call get on empty list (get == end)
- Returns:
- name of parameter by current position of cursor.
const Str& DTExtData::getValue |
( |
|
) |
const [inline] |
- Todo:
- Possible SIGFAULT if call get on empty list (get == end)
- Returns:
- value of parameter by current position of cursor.
bool DTExtData::isExist |
( |
const Str & |
key |
) |
[inline] |
- Parameters:
-
| key | name of parameter in Extension Data. |
- Returns:
- False in case there is no parameter with name key.
bool DTExtData::next |
( |
|
) |
const [inline] |
Move cursor to next position.
- Returns:
- False if there is no more elements, otherwise True. After you get False call method again to restart from beginning of list.
- See also:
- DTNameServers::nex()
const Str DTExtData::operator[] |
( |
const Str & |
key |
) |
const [inline] |
- Parameters:
-
| key | name of parameter in Extension Data. |
- Returns:
- value of parameter of Extension Data
void DTExtData::set |
( |
const Str & |
key, |
|
|
const Str & |
val | |
|
) |
| | [inline] |
set a value to existing key or reset the Value.
- Parameters:
-
| key | name of parameter |
| val | value of parameter |
Friends And Related Function Documentation
Field Documentation
The documentation for this class was generated from the following file: