summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-06 18:33:38 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-06 18:33:38 +0000
commitf5d0fd67bb42e7bb35a92ad343bb39ac82d1c3da (patch)
treed7d44110b26585ace11b05e6d6fadcd156d754e9 /TAO/TAO_IDL/include
parent12d218f8f195da5593db40e2ad00bc93d9206f43 (diff)
downloadATCD-f5d0fd67bb42e7bb35a92ad343bb39ac82d1c3da.tar.gz
ChangeLogTag: Mon Nov 6 12:28:41 2000 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/include')
-rw-r--r--TAO/TAO_IDL/include/ast_union.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/include/ast_union.h b/TAO/TAO_IDL/include/ast_union.h
index 550a78947b2..13bf478b216 100644
--- a/TAO/TAO_IDL/include/ast_union.h
+++ b/TAO/TAO_IDL/include/ast_union.h
@@ -132,16 +132,15 @@ public:
int default_value (DefaultValue &);
// Get the default value.
+ virtual int default_index (void);
+ // Return the default index used.
+
// AST Dumping.
virtual void dump (ostream &);
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
-protected:
- int default_index_;
- // Default label index (zero based indexing).
-
private:
// Data.
@@ -184,8 +183,14 @@ private:
virtual int compute_default_value (void);
// Compute the default value (if any).
+ int compute_default_index (void);
+ // Count the default index.
+
DefaultValue default_value_;
// Default value (if any).
+
+ int default_index_;
+ // Default label index (zero based indexing).
};
#endif // _AST_UNION_AST_UNION_HH