// 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 _WOKStep_CodeGenerate_HeaderFile
#define _WOKStep_CodeGenerate_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_WOKStep_CodeGenerate_HeaderFile
#include <Handle_WOKStep_CodeGenerate.hxx>
#endif

#ifndef _WOKBuilder_CodeGeneratorIterator_HeaderFile
#include <WOKBuilder_CodeGeneratorIterator.hxx>
#endif
#ifndef _WOKStep_ProcessStep_HeaderFile
#include <WOKStep_ProcessStep.hxx>
#endif
#ifndef _Handle_WOKMake_BuildProcess_HeaderFile
#include <Handle_WOKMake_BuildProcess.hxx>
#endif
#ifndef _Handle_WOKernel_DevUnit_HeaderFile
#include <Handle_WOKernel_DevUnit.hxx>
#endif
#ifndef _Handle_TCollection_HAsciiString_HeaderFile
#include <Handle_TCollection_HAsciiString.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_WOKMake_InputFile_HeaderFile
#include <Handle_WOKMake_InputFile.hxx>
#endif
#ifndef _Handle_WOKMake_HSequenceOfInputFile_HeaderFile
#include <Handle_WOKMake_HSequenceOfInputFile.hxx>
#endif
class WOKMake_BuildProcess;
class WOKernel_DevUnit;
class TCollection_HAsciiString;
class WOKMake_InputFile;
class WOKMake_HSequenceOfInputFile;


//! Compile files <br>
class WOKStep_CodeGenerate : public WOKStep_ProcessStep {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT WOKStep_CodeGenerate(const Handle(WOKMake_BuildProcess)& abp,const Handle(WOKernel_DevUnit)& aunit,const Handle(TCollection_HAsciiString)& acode,const Standard_Boolean checked,const Standard_Boolean hidden);
//Standard_EXPORT ~WOKStep_CodeGenerate();




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

protected:

 // Methods PROTECTED
 // 


Standard_EXPORT virtual  Handle_TCollection_HAsciiString AdmFileType() const;


Standard_EXPORT virtual  Handle_TCollection_HAsciiString OutputDirTypeName() const;


Standard_EXPORT virtual  void Init() ;

//! 1 - Adds File In list if file is compilable or an admfile <br>
//!          2 - Sets Build Flag if file is a compilable <br>
Standard_EXPORT virtual  Standard_Boolean HandleInputFile(const Handle(WOKMake_InputFile)& item) ;


Standard_EXPORT virtual  Handle_WOKMake_HSequenceOfInputFile OutOfDateEntities() ;


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


Standard_EXPORT virtual  void Execute(const Handle(WOKMake_HSequenceOfInputFile)& execlist) ;


 // Fields PRIVATE
 //
WOKBuilder_CodeGeneratorIterator myiterator;


};





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


#endif
