ACE_Dummy_Node Class Reference

I forget why this is here... ;-) Used in a special case of static STREAM definintion. More...

#include <Parse_Node.h>

Inheritance diagram for ACE_Dummy_Node:

Inheritance graph
[legend]
Collaboration diagram for ACE_Dummy_Node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_Dummy_Node (const ACE_Static_Node *, const ACE_Parse_Node *)
 ~ACE_Dummy_Node (void)
virtual void apply (ACE_Service_Gestalt *cfg, int &yyerrno)
 Will update the yyereno member and/or the corresponding configuration.

void dump (void) const
 Dump the state of an object.


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.


Private Member Functions

 ACE_Dummy_Node (const ACE_Dummy_Node &)
ACE_Dummy_Nodeoperator= (const ACE_Dummy_Node &)

Private Attributes

const ACE_Static_Nodenode_
 Linked list of modules that we're dealing with.

const ACE_Parse_Nodemods_

Detailed Description

I forget why this is here... ;-) Used in a special case of static STREAM definintion.

Note:
This class is only meant for INTERNAL use by ACE.

Definition at line 275 of file Parse_Node.h.


Constructor & Destructor Documentation

ACE_Dummy_Node::ACE_Dummy_Node const ACE_Static_Node ,
const ACE_Parse_Node
 

Definition at line 650 of file Parse_Node.cpp.

References ACE_TRACE.

00652   : ACE_Parse_Node (static_node->name ()),
00653     node_ (static_node),
00654     mods_ (str_mods)
00655 {
00656   ACE_TRACE ("ACE_Dummy_Node::ACE_Dummy_Node");
00657 }

ACE_Dummy_Node::~ACE_Dummy_Node void   ) 
 

Definition at line 673 of file Parse_Node.cpp.

References ACE_TRACE.

00674 {
00675   ACE_TRACE ("ACE_Dummy_Node::~ACE_Dummy_Node");
00676   ACE_Static_Node *n = const_cast<ACE_Static_Node *> (this->node_);
00677   delete n;
00678   ACE_Parse_Node *m = const_cast<ACE_Parse_Node *> (this->mods_);
00679   delete m;
00680 }

ACE_Dummy_Node::ACE_Dummy_Node const ACE_Dummy_Node  )  [private]
 


Member Function Documentation

void ACE_Dummy_Node::apply ACE_Service_Gestalt cfg,
int &  yyerrno
[virtual]
 

Will update the yyereno member and/or the corresponding configuration.

Implements ACE_Parse_Node.

Definition at line 660 of file Parse_Node.cpp.

References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, ACE::debug(), and LM_DEBUG.

00661 {
00662   ACE_TRACE ("ACE_Dummy_Node::apply");
00663 
00664 #ifndef ACE_NLOGGING
00665   if (ACE::debug ())
00666     ACE_DEBUG ((LM_DEBUG,
00667                 ACE_LIB_TEXT ("did operations on stream %s, error = %d\n"),
00668                 this->name (),
00669                 yyerrno));
00670 #endif /* ACE_NLOGGING */
00671 }

void ACE_Dummy_Node::dump void   )  const
 

Dump the state of an object.

Reimplemented from ACE_Parse_Node.

Definition at line 643 of file Parse_Node.cpp.

References ACE_TRACE.

00644 {
00645 #if defined (ACE_HAS_DUMP)
00646   ACE_TRACE ("ACE_Dummy_Node::dump");
00647 #endif /* ACE_HAS_DUMP */
00648 }

ACE_Dummy_Node& ACE_Dummy_Node::operator= const ACE_Dummy_Node  )  [private]
 


Member Data Documentation

ACE_Dummy_Node::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Parse_Node.

Definition at line 287 of file Parse_Node.h.

const ACE_Parse_Node* ACE_Dummy_Node::mods_ [private]
 

Definition at line 292 of file Parse_Node.h.

const ACE_Static_Node* ACE_Dummy_Node::node_ [private]
 

Linked list of modules that we're dealing with.

Definition at line 291 of file Parse_Node.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:21:51 2006 for ACE by doxygen 1.3.6