|
Aegis
4.25.D505
|
#include <hostname.h>
Public Member Functions | |
| virtual | ~sub_functor_hostname () |
Static Public Member Functions | |
| static pointer | create (const nstring &aname) |
Protected Member Functions | |
| wstring | evaluate (sub_context_ty *cp, const wstring_list &arg) |
Private Member Functions | |
| sub_functor_hostname (const nstring &aname) | |
| sub_functor_hostname () | |
| sub_functor_hostname (const sub_functor_hostname &) | |
| sub_functor_hostname & | operator= (const sub_functor_hostname &) |
The sub_functor_hostname class is used to represent a substitution that is replaced by the hostname of the executing host.
Definition at line 28 of file hostname.h.
| virtual sub_functor_hostname::~sub_functor_hostname | ( | ) | [virtual] |
The destructor.
| sub_functor_hostname::sub_functor_hostname | ( | const nstring & | aname | ) | [private] |
The constructor. It is private on purpose, use the create class method instead.
| aname | The name of the substitution. |
| sub_functor_hostname::sub_functor_hostname | ( | ) | [private] |
The default constructor. Do not use.
| sub_functor_hostname::sub_functor_hostname | ( | const sub_functor_hostname & | ) | [private] |
The copy constructor. Do not use.
| static pointer sub_functor_hostname::create | ( | const nstring & | aname | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| aname | The name of the substitution. |
| wstring sub_functor_hostname::evaluate | ( | sub_context_ty * | cp, |
| const wstring_list & | arg | ||
| ) | [protected, virtual] |
The evaluate method is used to evaluate this functor in the given context, with the given arguments.
| cp | Substitution context |
| arg | The list of arguments |
Implements sub_functor.
| sub_functor_hostname& sub_functor_hostname::operator= | ( | const sub_functor_hostname & | ) | [private] |
The assignment operator. Do not use.
1.7.6.1