summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/PSS/PSDL_Op_Dcl_Scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/PSS/PSDL_Op_Dcl_Scope.h')
-rw-r--r--TAO/orbsvcs/PSS/PSDL_Op_Dcl_Scope.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/TAO/orbsvcs/PSS/PSDL_Op_Dcl_Scope.h b/TAO/orbsvcs/PSS/PSDL_Op_Dcl_Scope.h
new file mode 100644
index 00000000000..6df594b464c
--- /dev/null
+++ b/TAO/orbsvcs/PSS/PSDL_Op_Dcl_Scope.h
@@ -0,0 +1,54 @@
+/* -*- C++ -*- */
+// $Id$
+//
+// ============================================================================
+//
+// = LIBRARY
+// PSS
+//
+// = FILENAME
+// PSDL_Op_Dcl_Scope
+//
+// = AUTHOR
+// Priyanka Gontla <gontla_p@ociweb.com>
+//
+// ============================================================================
+
+#ifndef TAO_PSDL_OP_DCL_SCOPE_H
+#define TAO_PSDL_OP_DCL_SCOPE_H
+
+#include /**/ "ace/pre.h"
+
+#include "PSDL_Scope.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+class TAO_PSDL_Export TAO_PSDL_Op_Dcl_Scope : public TAO_PSDL_Scope
+{
+ public:
+
+ TAO_PSDL_Op_Dcl_Scope (TAO_PSDL_Scope *parent_scope);
+
+ int add_const_decl (ACE_CString identifier,
+ ACE_CString identifier_type);
+
+ int add_member_decl (ACE_CString identifier,
+ ACE_CString identifier_type);
+
+ void dump (CORBA::ULong depth);
+
+ TAO_PSDL_Scope *parent_scope (void);
+
+ Scope_Map *scope_map (void);
+
+protected:
+
+ Scope_Map scope_map_;
+ TAO_PSDL_Scope *parent_scope_;
+};
+
+#include /**/ "ace/post.h"
+
+#endif /* TAO_PSDL_OP_DCL_SCOPE_H */