summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_decl.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/include/ast_decl.h')
-rw-r--r--TAO/TAO_IDL/include/ast_decl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/include/ast_decl.h b/TAO/TAO_IDL/include/ast_decl.h
index bebb048984e..eeabe40d371 100644
--- a/TAO/TAO_IDL/include/ast_decl.h
+++ b/TAO/TAO_IDL/include/ast_decl.h
@@ -154,7 +154,8 @@ public:
AST_Decl (NodeType type,
UTL_ScopedName *n,
- UTL_StrList *pragmas);
+ UTL_StrList *pragmas,
+ idl_bool anonymous = I_FALSE);
virtual ~AST_Decl (void);
@@ -206,6 +207,9 @@ public:
const char *prefix (void);
// Retrieve the repository ID prefix.
+ idl_bool anonymous (void) const;
+ // Are we an anonymous (no repo ID) type?
+
// If there is _cxx_ in the beginning, we will remove that and keep
// a copy of the original name. TAO IDL's front end adds _cxx_
// prefix to the all the reserved keywords. But when we invoke the
@@ -300,6 +304,9 @@ private:
char *prefix_;
// The repository ID prefix.
+ idl_bool anonymous_;
+ // Are we an anonymous (no repo ID) type?
+
// Operations
void compute_prefix (void);