#ifdef __PRIVATE__
//#
//#	File:		ObjectNS.idl
//#
//#	Contains:	Interface for ODNameSpace class
//#
//#	Owned by:	Nick Pilch, Caia Grisar
//#
//#	Copyright:	c 1994 by Apple Computer, Inc., all rights reserved.
//#
//#	Change History (most recent first):
//#
//#		 <3>	 9/21/94	CG		#1187648: Removed faulty #ifdef PRIVATE
//#									clause.
//#		 <2>	 8/24/94	CG		#1181622: Updated file ownership.
//#		 <1>	 7/29/94	CG		first checked in
//#		 <4>	  7/1/94	CG		Removed ReadSize.
//#		 <3>	 6/24/94	CG		Added functionprefix.
//#		 <2>	 6/14/94	CG		Removed fHeap and GetHeap().
//#		 <1>	  6/8/94	CG		first checked in
//#
//#	To Do:
//#
#else
//#	Copyright:	c 1993-1994 by Apple Computer, Inc., all rights reserved.
#endif

#ifndef _OJBECTNS_
#define _OJBECTNS_

#ifndef _NAMSPAC_
#include "NamSpac.idl"
#endif

//==============================================================================
// Scalar Types
//==============================================================================

//==============================================================================
// Classes defined in this interface
//==============================================================================

interface  ODObjectNameSpace;

//==============================================================================
// Classes used by this interface
//==============================================================================

interface  ODNameSpaceManager;
interface  ODSession;
interface  ODStorageUnitView;
interface  ODObjectIterator;

//==============================================================================
// ODObjectNameSpace
//==============================================================================

interface ODObjectNameSpace :  ODNameSpace
{
  void InitObjectNameSpace(in ODNameSpaceManager mgr,
  					 in ODNameSpace parent,
					 in ODULong numExpectedEntries,
					 in ODISOStr name);

   void Register	(in ODISOStr key,
   				 	 in ODObject object);

   ODBoolean GetEntry(in ODISOStr key,
   					  out  ODObject object);

   ODObjectIterator CreateIterator();

  //# private. used only by ODValueIterator.

  
 
#ifdef __SOMIDL__
	implementation
  	{
	functionprefix = ODObjectNameSpace;
	override:
    	somInit,
    	somUninit,
		
        Purge;

    releaseorder:
		InitObjectNameSpace,
		Register,
		GetEntry,
		CreateIterator;

		majorversion = 1; minorversion = 0;
		
  };
#endif
};

#endif //# _OJBECTNS_
