#include <Svcconf_Handler.h>
Public Member Functions | |
ACE_Parsed_Info () | |
~ACE_Parsed_Info () | |
int | name (const ACEXML_Char *n) |
const ACEXML_Char * | name (void) |
int | service_type (int type) |
int | service_type (void) |
int | active (int a) |
int | active (void) |
int | path (const ACEXML_Char *n) |
const ACEXML_Char * | path (void) |
int | init_func (const ACEXML_Char *n) |
const ACEXML_Char * | init_func (void) |
int | init_params (const ACEXML_Char *n) |
const ACEXML_Char * | init_params (void) |
void | reset (void) |
Protected Attributes | |
ACEXML_Char * | name_ |
int | service_type_ |
int | active_ |
ACEXML_Char * | path_ |
ACEXML_Char * | init_func_ |
ACEXML_Char * | init_params_ |
Definition at line 21 of file Svcconf_Handler.h.
ACE_INLINE ACE_Parsed_Info::ACE_Parsed_Info | ( | ) |
Definition at line 4 of file Svcconf_Handler.inl.
: name_ (0), service_type_ (ACE_Service_Type::INVALID_TYPE), active_ (1), path_ (0), init_func_ (0), init_params_ (0) { }
ACE_INLINE ACE_Parsed_Info::~ACE_Parsed_Info | ( | ) |
Definition at line 15 of file Svcconf_Handler.inl.
{ delete[] this->name_; delete[] this->path_; delete[] this->init_func_; delete[] this->init_params_; }
ACE_INLINE int ACE_Parsed_Info::active | ( | int | a | ) |
Set/Get active status.
Definition at line 58 of file Svcconf_Handler.inl.
{ this->active_ = a; return 0; }
ACE_INLINE int ACE_Parsed_Info::active | ( | void | ) |
Definition at line 65 of file Svcconf_Handler.inl.
{ return this->active_; }
ACE_INLINE int ACE_Parsed_Info::init_func | ( | const ACEXML_Char * | n | ) |
Set/get initializer init function.
Definition at line 88 of file Svcconf_Handler.inl.
{ if (this->init_func_ == 0) { this->init_func_ = ACE::strnew (n); return 0; } return -1; }
ACE_INLINE const ACEXML_Char * ACE_Parsed_Info::init_func | ( | void | ) |
Definition at line 99 of file Svcconf_Handler.inl.
{ return this->init_func_; }
ACE_INLINE int ACE_Parsed_Info::init_params | ( | const ACEXML_Char * | n | ) |
Set/get initializer init parameter.
Definition at line 105 of file Svcconf_Handler.inl.
{ if (this->init_params_ == 0) { this->init_params_ = ACE::strnew (n); return 0; } return -1; }
ACE_INLINE const ACEXML_Char * ACE_Parsed_Info::init_params | ( | void | ) |
Definition at line 116 of file Svcconf_Handler.inl.
{ return this->init_params_; }
ACE_INLINE int ACE_Parsed_Info::name | ( | const ACEXML_Char * | n | ) |
Set/get name of a parsed entity.
Definition at line 24 of file Svcconf_Handler.inl.
{ if (this->name_ == 0) { this->name_ = ACE::strnew (n); return 0; } return -1; }
ACE_INLINE const ACEXML_Char * ACE_Parsed_Info::name | ( | void | ) |
Definition at line 35 of file Svcconf_Handler.inl.
{ return this->name_; }
ACE_INLINE const ACEXML_Char * ACE_Parsed_Info::path | ( | void | ) |
Definition at line 82 of file Svcconf_Handler.inl.
{ return this->path_; }
ACE_INLINE int ACE_Parsed_Info::path | ( | const ACEXML_Char * | n | ) |
Set/get initializer path.
Definition at line 71 of file Svcconf_Handler.inl.
{ if (this->path_ == 0) { this->path_ = ACE::strnew (p); return 0; } return -1; }
ACE_INLINE void ACE_Parsed_Info::reset | ( | void | ) |
Reset Parsed_Info.
Definition at line 122 of file Svcconf_Handler.inl.
{ delete[] this->name_; this->name_ = 0; this->service_type_ = -1; delete[] this->path_; this->path_ = 0; delete[] this->init_func_; this->init_func_ = 0; delete[] this->init_params_; this->init_params_ = 0; }
ACE_INLINE int ACE_Parsed_Info::service_type | ( | void | ) |
Definition at line 52 of file Svcconf_Handler.inl.
{ return this->service_type_; }
ACE_INLINE int ACE_Parsed_Info::service_type | ( | int | type | ) |
Set/get type of a dynamic node.
Definition at line 41 of file Svcconf_Handler.inl.
{ if (this->service_type_ == -1) { this->service_type_ = type; return 0; } return -1; }
int ACE_Parsed_Info::active_ [protected] |
Definition at line 71 of file Svcconf_Handler.h.
ACEXML_Char* ACE_Parsed_Info::init_func_ [protected] |
Definition at line 73 of file Svcconf_Handler.h.
ACEXML_Char* ACE_Parsed_Info::init_params_ [protected] |
Definition at line 74 of file Svcconf_Handler.h.
ACEXML_Char* ACE_Parsed_Info::name_ [protected] |
Definition at line 69 of file Svcconf_Handler.h.
ACEXML_Char* ACE_Parsed_Info::path_ [protected] |
Definition at line 72 of file Svcconf_Handler.h.
int ACE_Parsed_Info::service_type_ [protected] |
Definition at line 70 of file Svcconf_Handler.h.