summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/include/ast_attribute.h')
-rw-r--r--TAO/TAO_IDL/include/ast_attribute.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/include/ast_attribute.h b/TAO/TAO_IDL/include/ast_attribute.h
index 14610600371..faecd45b815 100644
--- a/TAO/TAO_IDL/include/ast_attribute.h
+++ b/TAO/TAO_IDL/include/ast_attribute.h
@@ -73,6 +73,9 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
class UTL_ExceptList;
class UTL_NameList;
+// Representation of attribute declaration:
+// An attribute is a field with a readonly property.
+
class TAO_IDL_FE_Export AST_Attribute : public virtual AST_Field
{
public:
@@ -81,18 +84,18 @@ public:
// Constructor(s).
AST_Attribute (void);
- AST_Attribute (bool readonly,
+ AST_Attribute (idl_bool readonly,
AST_Type *ft,
UTL_ScopedName *n,
- bool local,
- bool abstract);
+ idl_bool local,
+ idl_bool abstract);
// Destructor.
virtual ~AST_Attribute (void);
// Data Accessors.
- bool readonly (void) const;
+ idl_bool readonly (void) const;
UTL_ExceptList *get_get_exceptions (void) const;
UTL_ExceptList *get_set_exceptions (void) const;
@@ -113,7 +116,7 @@ public:
private:
// Data.
- const bool pd_readonly;
+ const idl_bool pd_readonly;
// Is attribute read-only?
UTL_ExceptList *pd_get_exceptions;