summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_array.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_array.h69
1 files changed, 62 insertions, 7 deletions
diff --git a/TAO/TAO_IDL/be_include/be_array.h b/TAO/TAO_IDL/be_include/be_array.h
index 3bfe45d366f..11608b56717 100644
--- a/TAO/TAO_IDL/be_include/be_array.h
+++ b/TAO/TAO_IDL/be_include/be_array.h
@@ -1,18 +1,73 @@
-#if !defined(BE_ARRAY_H)
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// be_array.h
+//
+// = DESCRIPTION
+// Extension of class AST_Array that provides additional means for C++
+// mapping.
+//
+// = AUTHOR
+// Copyright 1994-1995 by Sun Microsystems, Inc.
+// and
+// Aniruddha Gokhale
+//
+// ============================================================================
+
+#if !defined (BE_ARRAY_H)
#define BE_ARRAY_H
/*
* BE_Array
*/
-class be_array : public virtual AST_Array {
+class be_array : public virtual AST_Array,
+ public virtual be_type
+{
public:
- // Operations
- be_array();
- be_array(UTL_ScopedName *n, unsigned long ndims, UTL_ExprList *dims);
+ // =Operations
+
+ be_array (void);
+ // default constructor
+
+ be_array (UTL_ScopedName *n, unsigned long ndims, UTL_ExprList *dims);
+ // constructor
+
+ virtual int gen_client_header (void);
+ // generate client header for array
+
+ virtual int gen_client_stubs (void);
+ // generate client side stubs for array
+
+ virtual int gen_server_header (void);
+ // generate server header for array
+
+ virtual int gen_server_skeletons (void);
+ // generate server skeletons for array
+
+ virtual int gen_client_inline (void);
+ // Generates the client-side inline for the array
+
+ virtual int gen_server_inline (void);
+ // Generates the server-side inlines for the array
+
+ virtual int gen_typecode (void);
+ // generate the typecode
+
+ virtual int gen_forany_defn (void);
+ // the forany class
+
+ virtual int gen_forany_impl (void);
+ // the forany impl
+
+ virtual long tc_encap_len (void);
+ // return the total byte length of ourselves represented as an encapsulation
// Narrowing
- DEF_NARROW_METHODS1(be_array, AST_Array);
- DEF_NARROW_FROM_DECL(be_array);
+ DEF_NARROW_METHODS2 (be_array, AST_Array, be_type);
+ DEF_NARROW_FROM_DECL (be_array);
};
#endif