summaryrefslogtreecommitdiff
path: root/TAO/tao/TypeCode/Struct_TypeCode.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/TypeCode/Struct_TypeCode.h')
-rw-r--r--TAO/tao/TypeCode/Struct_TypeCode.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/TAO/tao/TypeCode/Struct_TypeCode.h b/TAO/tao/TypeCode/Struct_TypeCode.h
index 849c743a838..5c2edeff449 100644
--- a/TAO/tao/TypeCode/Struct_TypeCode.h
+++ b/TAO/tao/TypeCode/Struct_TypeCode.h
@@ -101,17 +101,29 @@ namespace TAO
private:
+ /**
+ * @c Struct Attributes
+ *
+ * Attributes representing the structure of an OMG IDL
+ * @c struct.
+ *
+ * @note These attributes are declared in the order in which
+ * they are marshaled into a CDR stream in order to
+ * increase cache hits by improving spatial locality.
+ */
+ //@{
+
/// Base attributes containing repository ID and name of
/// structure type.
Base_Attributes<StringType> const base_attributes_;
+ /// The number of fields in the OMG IDL structure.
+ CORBA::ULong const nfields_;
+
/// Array of @c TAO::TypeCode fields representing structure of the
/// OMG IDL defined @c struct.
FieldArrayType const fields_;
- /// The number of fields in the OMG IDL structure.
- CORBA::ULong const nfields_;
-
};
} // End namespace TypeCode