// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _CDF_StoreList_HeaderFile
#define _CDF_StoreList_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_CDF_StoreList_HeaderFile
#include <Handle_CDF_StoreList.hxx>
#endif

#ifndef _CDM_MapOfDocument_HeaderFile
#include <CDM_MapOfDocument.hxx>
#endif
#ifndef _CDM_StackOfDocument_HeaderFile
#include <CDM_StackOfDocument.hxx>
#endif
#ifndef _CDM_MapIteratorOfMapOfDocument_HeaderFile
#include <CDM_MapIteratorOfMapOfDocument.hxx>
#endif
#ifndef _Handle_CDM_Document_HeaderFile
#include <Handle_CDM_Document.hxx>
#endif
#ifndef _Standard_Transient_HeaderFile
#include <Standard_Transient.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _CDF_StoreStatus_HeaderFile
#include <CDF_StoreStatus.hxx>
#endif
#ifndef _Handle_CDM_MetaData_HeaderFile
#include <Handle_CDM_MetaData.hxx>
#endif
class CDM_Document;
class Standard_NoSuchObject;
class CDM_MetaData;
class TCollection_ExtendedString;



class CDF_StoreList : public Standard_Transient {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT CDF_StoreList(const Handle(CDM_Document)& aDocument);


Standard_EXPORT   Standard_Boolean IsConsistent() const;

//! stores each object of the storelist in the reverse <br>
//!          order of which they had been added. <br>
Standard_EXPORT   CDF_StoreStatus Store(Handle(CDM_MetaData)& aMetaData,TCollection_ExtendedString& aStatusAssociatedText) ;


Standard_EXPORT   void Init() ;


Standard_EXPORT   Standard_Boolean More() const;


Standard_EXPORT   void Next() ;


Standard_EXPORT   Handle_CDM_Document Value() const;
//Standard_EXPORT ~CDF_StoreList();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


Standard_EXPORT   void Add(const Handle(CDM_Document)& aDocument) ;


 // Fields PRIVATE
 //
CDM_MapOfDocument myItems;
CDM_StackOfDocument myStack;
CDM_MapIteratorOfMapOfDocument myIterator;
Handle_CDM_Document myMainDocument;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
