summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-01 16:42:28 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-01 16:42:28 +0000
commit57a19f708062493ee496e076f04ba02d3e540cfa (patch)
treeb4a527e8c71e65bacbf7a43605ea7eaaff8b39f2 /TAO/TAO_IDL/include
parentc07d561dbcb39b9f933ed9525aaf01c83c587d92 (diff)
downloadATCD-57a19f708062493ee496e076f04ba02d3e540cfa.tar.gz
ChangeLogTag: Fri Jun 1 11:28:41 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/include')
-rw-r--r--TAO/TAO_IDL/include/ast_constant.h7
-rw-r--r--TAO/TAO_IDL/include/ast_decl.h3
-rw-r--r--TAO/TAO_IDL/include/ast_type.h9
3 files changed, 19 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/include/ast_constant.h b/TAO/TAO_IDL/include/ast_constant.h
index 00f25bb30e2..acbc0aa633e 100644
--- a/TAO/TAO_IDL/include/ast_constant.h
+++ b/TAO/TAO_IDL/include/ast_constant.h
@@ -104,6 +104,10 @@ public:
AST_Expression::ExprType et (void);
+ // Accessors for the private member.
+ idl_bool ifr_added (void);
+ void ifr_added (idl_bool val);
+
// Narrowing
DEF_NARROW_METHODS1(AST_Constant, AST_Decl);
DEF_NARROW_FROM_DECL(AST_Constant);
@@ -121,6 +125,9 @@ private:
AST_Expression::ExprType pd_et;
// Its expression type.
+
+ idl_bool ifr_added_;
+ // Has this node been added to the IFR?
};
#endif // _AST_CONSTANT_AST_CONSTANT_HH
diff --git a/TAO/TAO_IDL/include/ast_decl.h b/TAO/TAO_IDL/include/ast_decl.h
index 9d21bad13c8..69f2d49dde9 100644
--- a/TAO/TAO_IDL/include/ast_decl.h
+++ b/TAO/TAO_IDL/include/ast_decl.h
@@ -251,6 +251,9 @@ public:
// Return TRUE if "this" has "s" as an ancestor.
idl_bool has_ancestor (AST_Decl *s);
+ // Return TRUE if "this" is a child of "s".
+ idl_bool is_child (AST_Decl *s);
+
protected:
// These are not private because they're used by
// be_predefined_type' constructor.
diff --git a/TAO/TAO_IDL/include/ast_type.h b/TAO/TAO_IDL/include/ast_type.h
index 21a2aded5d8..f6d76d7087b 100644
--- a/TAO/TAO_IDL/include/ast_type.h
+++ b/TAO/TAO_IDL/include/ast_type.h
@@ -97,6 +97,14 @@ public:
// Most types cannot be involved except structs and unions.
// If the parameter is 0, we are trying to determine this for ourselves.
+ // Accessors/mutators for the private members.
+
+ idl_bool ifr_added (void);
+ void ifr_added (idl_bool val);
+
+ idl_bool ifr_fwd_added (void);
+ void ifr_fwd_added (idl_bool val);
+
// Narrowing.
DEF_NARROW_METHODS1(AST_Type, AST_Decl);
DEF_NARROW_FROM_DECL(AST_Type);
@@ -104,6 +112,7 @@ public:
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
+protected:
// Has the full definition been added to the Interface Repository?
// Used for types which can have members and can be forward declared.
idl_bool ifr_added_;