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


Public Methods | |
| ACE_Stream_Node (const ACE_Static_Node *, const ACE_Parse_Node *) | |
| virtual | ~ACE_Stream_Node (void) |
| virtual void | apply (int &yyerrno) |
| 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 | |
| const ACE_Static_Node * | node_ |
| Linked list of modules that are part of the stream. More... | |
| const ACE_Parse_Node * | mods_ |
Definition at line 196 of file Parse_Node.h.
|
||||||||||||
|
Definition at line 77 of file Parse_Node.cpp. References ACE_LIB_TEXT, ACE_TCHAR, and ACE_TRACE.
00080 : ACE_Parse_Node (str_ops == 0 ? ACE_static_cast (ACE_TCHAR *, 00081 ACE_LIB_TEXT ("<unknown>")) 00082 : ACE_static_cast (ACE_TCHAR *, 00083 str_ops->name ())), 00084 #else 00085 : ACE_Parse_Node ((str_ops == 0 ? ACE_LIB_TEXT ("<unknown>") : str_ops->name ())), 00086 #endif /* defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */ 00087 node_ (str_ops), 00088 mods_ (str_mods) 00089 { 00090 ACE_TRACE ("ACE_Stream_Node::ACE_Stream_Node"); 00091 } |
|
|
Definition at line 94 of file Parse_Node.cpp. References ACE_TRACE.
00095 {
00096 ACE_TRACE ("ACE_Stream_Node::~ACE_Stream_Node");
00097 ACE_Static_Node *n = ACE_const_cast (ACE_Static_Node *,
00098 this->node_);
00099 delete n;
00100 ACE_Parse_Node *m = ACE_const_cast (ACE_Parse_Node *,
00101 this->mods_);
00102 delete m;
00103 }
|
|
|
Implements ACE_Parse_Node. Definition at line 33 of file Parse_Node.cpp. References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, ACE::debug, ACE_Service_Config::initialize, LM_DEBUG, node_, and ACE_Static_Node::parameters.
00034 {
00035 ACE_TRACE ("ACE_Stream_Node::apply");
00036
00037 if (ACE_Service_Config::initialize (this->node_->record (),
00038 this->node_->parameters ()) == -1)
00039 yyerrno++;
00040
00041 if (ACE::debug ())
00042 ACE_DEBUG ((LM_DEBUG,
00043 ACE_LIB_TEXT ("did stream on %s, error = %d\n"),
00044 this->node_->name (),
00045 yyerrno));
00046 }
|
|
|
Dump the state of an object.
Reimplemented from ACE_Parse_Node. Definition at line 27 of file Parse_Node.cpp. References ACE_TRACE.
00028 {
00029 ACE_TRACE ("ACE_Stream_Node::dump");
00030 }
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_Parse_Node. Definition at line 208 of file Parse_Node.h. |
|
|
Definition at line 213 of file Parse_Node.h. |
|
|
Linked list of modules that are part of the stream.
Definition at line 212 of file Parse_Node.h. Referenced by apply. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002