base.idl 1/3

[
top][prev][next]
#ifndef BASE_IDL
#define BASE_IDL


// Abstract
interface Base {
  // Associations
  // Attributes
  attribute int dummy;
  private attribute int x;
  // Operations
  abstract int foo ( in int a ) = 0;
  abstract int bar ( in int x, in int y ) = 0;
};

#endif

derived.idl 2/3

[
top][prev][next]
#ifndef DERIVED_IDL
#define DERIVED_IDL

#include "pureabstract.idl"
#include "base.idl"

interface Derived: Base:  PureAbstract {
  // Associations
  // Attributes
  // Operations
  int foo ( in int a );
  int newfoo (  );
  int otherfoo (  );
  int bar ( in int x, in int y );
};

#endif

pureabstract.idl 3/3

[
top][prev][next]
#ifndef PUREABSTRACT_IDL
#define PUREABSTRACT_IDL


// Interface
interface PureAbstract {
  // Associations
  // Attributes
  // Operations
  abstract int otherfoo (  ) = 0;
};

#endif

Generated by GNU enscript 1.6.1.