summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/PSS/PSDL_Op_Dcl_Scope.h
blob: 6df594b464c2f6c4a54df67daa4cf22fb0a9508e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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 */