summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_field.h
diff options
context:
space:
mode:
authorgokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-30 19:12:31 +0000
committergokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-30 19:12:31 +0000
commitebd8b1bc0de23d95609a18aa7c099c3d5c6b0199 (patch)
treee1765abc5ad9b6abf6f3cf21ef25736c72aa8823 /TAO/TAO_IDL/be_include/be_field.h
parentb42ffad32ec7af278ab6f45cea494ef5927c49c6 (diff)
downloadATCD-ebd8b1bc0de23d95609a18aa7c099c3d5c6b0199.tar.gz
Huge number of changes and additions. All the bulk of the IDL compiler
goes here (back end include files)
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_field.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_field.h64
1 files changed, 57 insertions, 7 deletions
diff --git a/TAO/TAO_IDL/be_include/be_field.h b/TAO/TAO_IDL/be_include/be_field.h
index 6abf91859bd..95e14f19759 100644
--- a/TAO/TAO_IDL/be_include/be_field.h
+++ b/TAO/TAO_IDL/be_include/be_field.h
@@ -1,18 +1,68 @@
-#if !defined(BE_FIELD_H)
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// be_field.h
+//
+// = DESCRIPTION
+// Extension of class AST_Field that provides additional means for C++
+// mapping.
+//
+// = AUTHOR
+// Copyright 1994-1995 by Sun Microsystems, Inc.
+// and
+// Aniruddha Gokhale
+//
+// ============================================================================
+
+#if !defined (BE_FIELD_H)
#define BE_FIELD_H
/*
* BE_Field
*/
-class be_field : public virtual AST_Field {
+class be_field : public virtual AST_Field,
+ public virtual be_decl
+{
public:
- // Operations
- be_field();
- be_field(AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p);
+ // =Operations
+
+ be_field (void);
+ // default constructor
+
+ be_field (AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p);
+ // constructor
+
+ virtual int gen_client_header (void);
+ // Generates the client-side header information for the field
+
+ virtual int gen_client_stubs (void);
+ // Generates the client-side stubs for the field
+
+ virtual int gen_server_header (void);
+ // Generates the server-side header information for the field
+
+ virtual int gen_server_skeletons (void);
+ // Generates the server-side skeletons for the field
+
+ virtual int gen_client_inline (void);
+ // Generates the client-side inline for the field
+
+ virtual int gen_server_inline (void);
+ // Generates the server-side inlines for the field
+
+ virtual int gen_typecode (void);
+ // generate the typecode
+
+ virtual long tc_encap_len (void);
+ // return the total byte length of ourselves represented as an encapsulation
// Narrowing
- DEF_NARROW_METHODS1(be_field, AST_Field);
- DEF_NARROW_FROM_DECL(be_field);
+ DEF_NARROW_METHODS2 (be_field, AST_Field, be_decl);
+ DEF_NARROW_FROM_DECL (be_field);
+
};
#endif