#include <Parse_Node.h>
Inheritance diagram for ACE_Static_Node:


Public Methods | |
| ACE_Static_Node (const ACE_TCHAR *name, ACE_TCHAR *params=0) | |
| virtual | ~ACE_Static_Node (void) |
| virtual void | apply (int &yyerrno) |
| virtual const ACE_Service_Type * | record (void) const |
| ACE_TCHAR * | parameters (void) const |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Private Attributes | |
| ACE_TCHAR * | parameters_ |
| "Command-line" parameters. More... | |
Definition at line 141 of file Parse_Node.h.
|
||||||||||||
|
Definition at line 278 of file Parse_Node.cpp. References ACE_TCHAR, and ACE_TRACE.
00280 : ACE_Parse_Node (nm), 00281 parameters_ (ACE::strnew (params)) 00282 { 00283 ACE_TRACE ("ACE_Static_Node::ACE_Static_Node"); 00284 } |
|
|
Definition at line 322 of file Parse_Node.cpp. References ACE_TRACE, and parameters_.
00323 {
00324 ACE_TRACE ("ACE_Static_Node::~ACE_Static_Node");
00325 delete[] this->parameters_;
00326 }
|
|
|
Implements ACE_Parse_Node. Reimplemented in ACE_Dynamic_Node. Definition at line 308 of file Parse_Node.cpp. References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, ACE::debug, ACE_Service_Config::initialize, LM_DEBUG, and parameters.
00309 {
00310 ACE_TRACE ("ACE_Static_Node::apply");
00311 if (ACE_Service_Config::initialize (this->name (),
00312 this->parameters ()) == -1)
00313 yyerrno++;
00314
00315 if (ACE::debug ())
00316 ACE_DEBUG ((LM_DEBUG,
00317 ACE_LIB_TEXT ("did static on %s, error = %d\n"),
00318 this->name (),
00319 yyerrno));
00320 }
|
|
|
Dump the state of an object.
Reimplemented from ACE_Parse_Node. Reimplemented in ACE_Dynamic_Node. Definition at line 273 of file Parse_Node.cpp. References ACE_TRACE.
00274 {
00275 ACE_TRACE ("ACE_Static_Node::dump");
00276 }
|
|
|
Definition at line 301 of file Parse_Node.cpp. References ACE_TRACE, and parameters_. Referenced by ace_yyparse, apply, ACE_Dynamic_Node::apply, and ACE_Stream_Node::apply.
00302 {
00303 ACE_TRACE ("ACE_Static_Node::parameters");
00304 return this->parameters_;
00305 }
|
|
|
Reimplemented in ACE_Dynamic_Node. Definition at line 287 of file Parse_Node.cpp. References ACE_TRACE, ACE_Service_Repository::find, ACE_Service_Repository::instance, and ACE_Parse_Node::name. Referenced by ace_get_module, and ace_yyparse.
00288 {
00289 ACE_TRACE ("ACE_Static_Node::record");
00290 ACE_Service_Type *sr;
00291
00292 if (ACE_Service_Repository::instance()->find
00293 (this->name (),
00294 (const ACE_Service_Type **) &sr) == -1)
00295 return 0;
00296 else
00297 return sr;
00298 }
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_Parse_Node. Reimplemented in ACE_Dynamic_Node. Definition at line 155 of file Parse_Node.h. |
|
|
"Command-line" parameters.
Definition at line 159 of file Parse_Node.h. Referenced by parameters, and ~ACE_Static_Node. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002