 /  File: package.h
//
//  Declare a class Package that is derived from Box

#ifndef _package_h
#define _package_h

#include "box.h"

class Package : private Box {  // private derivation of class Box

public:
   Package() ;                      // default constructor
   Package(float, float, float) ;   // alternate constructor
   ~Package() ;                     // destructor

   void identify() ;            // identify redefined
   int Store(Package *) ;       // store item in this package
   Package *Empty() ;           // empty this package
   Package *Content() ;         // return stored item

private:

   // a package might contain another package, but only if it fits
   Package *inside ;

} ;


#endif
