summaryrefslogtreecommitdiff
path: root/TAO/examples/OBV/Sequence/series.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/OBV/Sequence/series.idl')
-rw-r--r--TAO/examples/OBV/Sequence/series.idl27
1 files changed, 27 insertions, 0 deletions
diff --git a/TAO/examples/OBV/Sequence/series.idl b/TAO/examples/OBV/Sequence/series.idl
new file mode 100644
index 00000000000..c9ad41aba24
--- /dev/null
+++ b/TAO/examples/OBV/Sequence/series.idl
@@ -0,0 +1,27 @@
+// $Id$
+
+// OBV Factorial test.
+
+valuetype registry
+{
+ public long value;
+
+ // factory init (in long x);
+};
+
+typedef sequence<registry> registries;
+
+interface series
+{
+ // Basic value type check.
+ registry cube (in registry v);
+
+ // Add series
+ registries sum (in registries x);
+
+ // Factorial operation.
+ // registries factorial (in registries init);
+
+ // shutting down the server
+ void shutdown ();
+};