summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_component_scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_component_scope.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_visitor_component_scope.h64
1 files changed, 35 insertions, 29 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_component_scope.h b/TAO/TAO_IDL/be_include/be_visitor_component_scope.h
index d5f3b78bebc..ef4581f3f2f 100644
--- a/TAO/TAO_IDL/be_include/be_visitor_component_scope.h
+++ b/TAO/TAO_IDL/be_include/be_visitor_component_scope.h
@@ -1,18 +1,23 @@
+//
+// $Id$
+//
/* -*- c++ -*- */
-//=============================================================================
-/**
- * @file be_visitor_component_scope.h
- *
- * $Id$
- *
- * Base class for visitors that need to visit the scope of a
- * component and its ancestors, if any.
- *
- *
- * @author Jeff Parsons
- */
-//=============================================================================
-
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// be_visitor_component_scope.h
+//
+// = DESCRIPTION
+// Base class for visitors that need to visit the scope of a
+// component and its ancestors, if any.
+//
+// = AUTHOR
+// Jeff Parsons
+//
+// ============================================================================
#ifndef _BE_COMPONENT_COMPONENT_SCOPE_H_
#define _BE_COMPONENT_COMPONENT_SCOPE_H_
@@ -21,47 +26,48 @@
#include "be_visitor_scope.h"
-/**
- * @class be_visitor_component_scope
- *
- * @brief be_visitor_component_scope
- *
- * This is an abstract visitor providing a scope visitation
- * method that traverses the base component recursively.
- */
class be_visitor_component_scope : public be_visitor_scope
{
+ //
+ // = TITLE
+ // be_visitor_component_scope
+ //
+ // = DESCRIPTION
+ // This is an abstract visitor providing a scope visitation
+ // method that traverses the base component recursively.
+ //
protected:
be_visitor_component_scope (be_visitor_context *ctx);
-
+
virtual ~be_visitor_component_scope (void);
-
+
public:
virtual int visit_extended_port (be_extended_port *node);
virtual int visit_mirror_port (be_mirror_port *node);
// Automatically recurses to the ancestor scopes, if any.
int visit_component_scope (be_component *node);
-
+
// These two methods are used instead of overriding
// visit_porttype so we can traverse a porttype only
// when it is referenced.
-
+
int visit_porttype_scope (be_porttype *node);
- // Swaps uses for provides members and vice versa.S
+ // Swaps uses for provides members and vice versa.S
int visit_porttype_scope_mirror (be_porttype *node);
-
+
protected:
void gen_svnt_entrypoint_decl (void);
void gen_svnt_entrypoint_defn (void);
void gen_exec_entrypoint_decl (void);
void gen_exec_entrypoint_defn (void);
-
+
protected:
be_component *node_;
TAO_OutStream &os_;
ACE_CString export_macro_;
+ bool swapping_;
bool static_config_;
ACE_CString port_prefix_;
};