4 ACE_Parsed_Info::ACE_Parsed_Info ()
6 service_type_ (ACE_Service_Type::INVALID_TYPE),
15 ACE_Parsed_Info::~ACE_Parsed_Info ()
19 delete[] this->init_func_;
20 delete[] this->init_params_;
24 ACE_Parsed_Info::name (const ACEXML_Char *n)
28 this->name_ = ACE::strnew (n);
34 ACE_INLINE const ACEXML_Char *
35 ACE_Parsed_Info::name ()
41 ACE_Parsed_Info::service_type (int type)
43 if (this->service_type_ == -1)
45 this->service_type_ = type;
52 ACE_Parsed_Info::service_type ()
54 return this->service_type_;
58 ACE_Parsed_Info::active (int a)
65 ACE_Parsed_Info::active ()
71 ACE_Parsed_Info::path (const ACEXML_Char *p)
75 this->path_ = ACE::strnew (p);
81 ACE_INLINE const ACEXML_Char *
82 ACE_Parsed_Info::path ()
88 ACE_Parsed_Info::init_func (const ACEXML_Char *n)
90 if (this->init_func_ == 0)
92 this->init_func_ = ACE::strnew (n);
98 ACE_INLINE const ACEXML_Char *
99 ACE_Parsed_Info::init_func ()
101 return this->init_func_;
105 ACE_Parsed_Info::init_params (const ACEXML_Char *n)
107 if (this->init_params_ == 0)
109 this->init_params_ = ACE::strnew (n);
115 ACE_INLINE const ACEXML_Char *
116 ACE_Parsed_Info::init_params ()
118 return this->init_params_;
122 ACE_Parsed_Info::reset ()
124 delete[] this->name_;
126 this->service_type_ = -1;
127 delete[] this->path_;
129 delete[] this->init_func_;
130 this->init_func_ = 0;
131 delete[] this->init_params_;
132 this->init_params_ = 0;