Listing 5

// file: objects.h 
#import "point.h"  // import the point definitions
#import "stl.h"    // need STL (stl.h is part of gSOAP's package)
class Objects
{ public:
   std::vector<Point*> object;
   Objects();
   int collisions() const;
   bool empty() const;
};