OCC Main Page | WOK | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

WOK
TKWOK
WOKernel


WOKernel_FileTypeBase Class Reference

using a map to store the various file types known
by WOK

#include <WOKernel_FileTypeBase.hxx>


Public Member Functions

Standard_EXPORT WOKernel_FileTypeBase ()
 instantiates the file type base

Standard_EXPORT void Load (const WOKUtils_Param &parms)
 loads the WOK file types from a file

Standard_EXPORT void SetParams (const WOKUtils_Param &parms)
 Sets Parameters
.
Standard_EXPORT Standard_Boolean IsType (const Handle(TCollection_HAsciiString)&atype) const
 returns True if type is defined, False otherwise

Standard_EXPORT Standard_Boolean IsType (const Standard_CString atype) const
 returns True if type is defined, False otherwise

Standard_EXPORT Handle_WOKernel_FileType Type (const Handle(TCollection_HAsciiString)&atype) const
 returns the file type if known in the map

Standard_EXPORT Handle_WOKernel_FileType Type (const Standard_CString atype) const
 returns the file type if known in the map

Standard_EXPORT Handle_TCollection_HAsciiString TypeName (const Handle(WOKernel_FileType)&atype) const
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString GetNeededArguments (const WOKUtils_Param &params)
 Gets (calculates the list of templates args
.
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString GetNeededParameters (const Handle(TCollection_HAsciiString)&entity, const Handle(TCollection_HAsciiString)&anesting, const Handle(WOKernel_HSequenceOfDBMSID)&dbmss, const Handle(WOKernel_HSequenceOfStationID)&stations)
 Returns the list of needed parameters in a particular context
.
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString NeededArguments () const
 Returns the list of needed template arguments
.
Standard_EXPORT void SetNeededArguments (const Handle(WOKernel_Entity)&entity, const WOKernel_DBMSID adbms, const WOKernel_StationID astation) const
 Sets Parameters used by templates for a particular Context

.
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString GetDirectories (const Handle(WOKernel_Entity)&entity, const Handle(WOKernel_HSequenceOfDBMSID)&dbmss, const Handle(WOKernel_HSequenceOfStationID)&stations, const Standard_Boolean hasentity) const
 Calculates All Directories possibilities for a FileTypeBase in a Context.

.
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString GetDirectories (const Handle(WOKernel_Entity)&Theentity, const Handle(WOKernel_HSequenceOfDBMSID)&dbmss, const Handle(WOKernel_HSequenceOfStationID)&stations, const Standard_Boolean getNestingdir, const Standard_Boolean getEntitydir, const Standard_Boolean getNestingAndEntitydir, const Standard_Boolean getDbmsdir, const Standard_Boolean getStationsdir, const Standard_Boolean getStationsAndDbmsdir, const Standard_Boolean getIndependentdir) const
 Calculates All Directories possibilities for a FileTypeBase in a Context.
.
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString GetFiles (const Handle(WOKernel_Entity)&theentity, const Handle(WOKernel_HSequenceOfDBMSID)&dbmss, const Handle(WOKernel_HSequenceOfStationID)&stations, const Standard_Boolean hasentity) const
 Calculates All Files possibilities for a FileTypeBase in a Context.

.
Standard_EXPORT WOKernel_FileTypeIterator TypeIterator () const
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

WOKernel_DataMapOfFileType mytypes
Handle_TColStd_HSequenceOfHAsciiString myneededargs


Constructor & Destructor Documentation

Standard_EXPORT WOKernel_FileTypeBase::WOKernel_FileTypeBase  ) 
 


Member Function Documentation

Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString WOKernel_FileTypeBase::GetDirectories const Handle(WOKernel_Entity)&  Theentity,
const Handle(WOKernel_HSequenceOfDBMSID)&  dbmss,
const Handle(WOKernel_HSequenceOfStationID)&  stations,
const Standard_Boolean  getNestingdir,
const Standard_Boolean  getEntitydir,
const Standard_Boolean  getNestingAndEntitydir,
const Standard_Boolean  getDbmsdir,
const Standard_Boolean  getStationsdir,
const Standard_Boolean  getStationsAndDbmsdir,
const Standard_Boolean  getIndependentdir
const
 

Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString WOKernel_FileTypeBase::GetDirectories const Handle(WOKernel_Entity)&  entity,
const Handle(WOKernel_HSequenceOfDBMSID)&  dbmss,
const Handle(WOKernel_HSequenceOfStationID)&  stations,
const Standard_Boolean  hasentity
const
 

Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString WOKernel_FileTypeBase::GetFiles const Handle(WOKernel_Entity)&  theentity,
const Handle(WOKernel_HSequenceOfDBMSID)&  dbmss,
const Handle(WOKernel_HSequenceOfStationID)&  stations,
const Standard_Boolean  hasentity
const
 

Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString WOKernel_FileTypeBase::GetNeededArguments const WOKUtils_Param params  ) 
 

Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString WOKernel_FileTypeBase::GetNeededParameters const Handle(TCollection_HAsciiString)&  entity,
const Handle(TCollection_HAsciiString)&  anesting,
const Handle(WOKernel_HSequenceOfDBMSID)&  dbmss,
const Handle(WOKernel_HSequenceOfStationID)&  stations
 

Standard_EXPORT const WOKernel_FileTypeBase::Handle Standard_Type   )  const
 

Standard_EXPORT Standard_Boolean WOKernel_FileTypeBase::IsType const Standard_CString  atype  )  const
 

Standard_EXPORT Standard_Boolean WOKernel_FileTypeBase::IsType const Handle(TCollection_HAsciiString)&  atype  )  const
 

Standard_EXPORT void WOKernel_FileTypeBase::Load const WOKUtils_Param parms  ) 
 

Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString WOKernel_FileTypeBase::NeededArguments  )  const
 

Standard_EXPORT void WOKernel_FileTypeBase::SetNeededArguments const Handle(WOKernel_Entity)&  entity,
const WOKernel_DBMSID  adbms,
const WOKernel_StationID  astation
const
 

Standard_EXPORT void WOKernel_FileTypeBase::SetParams const WOKUtils_Param parms  ) 
 

Standard_EXPORT Handle_WOKernel_FileType WOKernel_FileTypeBase::Type const Standard_CString  atype  )  const
 

Standard_EXPORT Handle_WOKernel_FileType WOKernel_FileTypeBase::Type const Handle(TCollection_HAsciiString)&  atype  )  const
 

Standard_EXPORT WOKernel_FileTypeIterator WOKernel_FileTypeBase::TypeIterator  )  const
 

Standard_EXPORT Handle_TCollection_HAsciiString WOKernel_FileTypeBase::TypeName const Handle(WOKernel_FileType)&  atype  )  const
 


Field Documentation

Handle_TColStd_HSequenceOfHAsciiString WOKernel_FileTypeBase::myneededargs [private]
 

WOKernel_DataMapOfFileType WOKernel_FileTypeBase::mytypes [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 15:00:02 2008 for OpenCASCADE by  doxygen 1.4.1