diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-12-31 17:34:56 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-12-31 17:34:56 +0000 |
commit | 941741da484ba50c4577fc53e9be6eea300fa2a5 (patch) | |
tree | 6ed27dc6a4b35eca1e746e6fc13ba844b6d390f6 /TAO/TAO_IDL/include/ast_decl.h | |
parent | 0e20a37f9509ca5f382c0f7bc8306de6e3949fed (diff) | |
download | ATCD-941741da484ba50c4577fc53e9be6eea300fa2a5.tar.gz |
ChangeLogTag: Mon Dec 31 11:01:29 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/include/ast_decl.h')
-rw-r--r-- | TAO/TAO_IDL/include/ast_decl.h | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/TAO/TAO_IDL/include/ast_decl.h b/TAO/TAO_IDL/include/ast_decl.h index 4ae43a782de..0de498285f0 100644 --- a/TAO/TAO_IDL/include/ast_decl.h +++ b/TAO/TAO_IDL/include/ast_decl.h @@ -145,6 +145,7 @@ public: , NT_native // Denotes a native type // dependent on the programming // language + , NT_factory // Denotes a OBV factory construct }; // Operations. @@ -152,9 +153,8 @@ public: // Constructor(s). AST_Decl (void); - AST_Decl (NodeType type, + AST_Decl (NodeType type, UTL_ScopedName *n, - UTL_StrList *pragmas, idl_bool anonymous = I_FALSE); virtual ~AST_Decl (void); @@ -202,10 +202,16 @@ public: // Return the stringified full name. const char *repoID (void); - // Retrieve the repository ID. + void repoID (char *value); + // Accessors for the repository ID. const char *prefix (void); - // Retrieve the repository ID prefix. + void prefix (char *value); + // Accessors for the repository ID prefix. + + const char *version (void); + void version (char *value); + // Accessors for the version member. idl_bool anonymous (void) const; // Are we an anonymous (no repo ID) type? @@ -223,12 +229,6 @@ public: void original_local_name (Identifier *); // Set. - void add_pragmas (UTL_StrList *p); - - UTL_StrList *pragmas (void); - - void pragmas (UTL_StrList *p); - idl_bool added (void); void set_added (idl_bool is_it); @@ -297,9 +297,6 @@ private: Identifier *pd_original_local_name; // _cxx_ removed if any. - UTL_StrList *pd_pragmas; - // Pragmas. - idl_bool pd_added; // Already added. @@ -309,14 +306,14 @@ private: char *prefix_; // The repository ID prefix. + char *version_; + // Set by #pragma version. + idl_bool anonymous_; // Are we an anonymous (no repo ID) type? // Operations - void compute_prefix (void); - // Computes the prefix for the repoID. - // Compute the full name of an AST node. void compute_full_name (UTL_ScopedName *n); }; |