diff options
Diffstat (limited to 'TAO/TAO_IDL/include/ast_typedef.h')
-rw-r--r-- | TAO/TAO_IDL/include/ast_typedef.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/include/ast_typedef.h b/TAO/TAO_IDL/include/ast_typedef.h index d21987bce57..643023a5522 100644 --- a/TAO/TAO_IDL/include/ast_typedef.h +++ b/TAO/TAO_IDL/include/ast_typedef.h @@ -98,10 +98,13 @@ public: // Recursively called on valuetype to check for legal use as // a primary key. Overridden for valuetype, struct, sequence, // union, array, typedef, and interface. - + virtual bool is_local (void); // Override the base class method. + void owns_base_type (bool val); + // Sometimes this has to be managed from outside. + // Narrowing. DEF_NARROW_METHODS1(AST_Typedef, AST_Type); DEF_NARROW_FROM_DECL(AST_Typedef); @@ -124,7 +127,7 @@ private: AST_Type *pd_base_type; // Typedef base type. - + bool owns_base_type_; // If our base type is anonymous array or sequence, we're // responsible for destroying it. |