return Read(thePath, theDocument, theProgress);
}
Handle(DE_Provider) aProvider;
- if (!findProvider(thePath, Standard_True, aProvider))
+ if (!FindProvider(thePath, Standard_True, aProvider))
{
return Standard_False;
}
return Write(thePath, theDocument, theProgress);
}
Handle(DE_Provider) aProvider;
- if (!findProvider(thePath, Standard_False, aProvider))
+ if (!FindProvider(thePath, Standard_False, aProvider))
{
return Standard_False;
}
return Standard_False;
}
Handle(DE_Provider) aProvider;
- if (!findProvider(thePath, Standard_True, aProvider))
+ if (!FindProvider(thePath, Standard_True, aProvider))
{
return Standard_False;
}
return Standard_False;
}
Handle(DE_Provider) aProvider;
- if (!findProvider(thePath, Standard_False, aProvider))
+ if (!FindProvider(thePath, Standard_False, aProvider))
{
return Standard_False;
}
return Read(thePath, theShape, theProgress);
}
Handle(DE_Provider) aProvider;
- if (!findProvider(thePath, Standard_True, aProvider))
+ if (!FindProvider(thePath, Standard_True, aProvider))
{
return Standard_False;
}
return Write(thePath, theShape, theProgress);
}
Handle(DE_Provider) aProvider;
- if (!findProvider(thePath, Standard_False, aProvider))
+ if (!FindProvider(thePath, Standard_False, aProvider))
{
return Standard_False;
}
{
Handle(DE_Provider) aProvider;
- if (!findProvider(thePath, Standard_True, aProvider))
+ if (!FindProvider(thePath, Standard_True, aProvider))
{
return Standard_False;
}
const Message_ProgressRange& theProgress)
{
Handle(DE_Provider) aProvider;
- if (!findProvider(thePath, Standard_False, aProvider))
+ if (!FindProvider(thePath, Standard_False, aProvider))
{
return Standard_False;
}
}
//=======================================================================
-// function : findProvider
+// function : FindProvider
// purpose :
//=======================================================================
-Standard_Boolean DE_Wrapper::findProvider(const TCollection_AsciiString& thePath,
+Standard_Boolean DE_Wrapper::FindProvider(const TCollection_AsciiString& thePath,
const Standard_Boolean theToImport,
Handle(DE_Provider)& theProvider) const
{
Standard_EXPORT void ChangePriority(const TColStd_ListOfAsciiString& theVendorPriority,
const Standard_Boolean theToDisable = Standard_False);
+ //! Find available provider from the configuration.
+ //! If there are several providers, choose the one with the highest priority.
+ //! @param[in] thePath path to the CAD file
+ //! @param[in] theToImport flag to finds for import. Standard_True-import, Standard_False-export
+ //! @param[out] theProvider created new provider
+ //! @return Standard_True if provider found and created
+ Standard_EXPORT virtual Standard_Boolean FindProvider(const TCollection_AsciiString& thePath,
+ const Standard_Boolean theToImport,
+ Handle(DE_Provider)& theProvider) const;
+
//! Gets format map, contains vendor map with nodes
//! @return internal map of formats
Standard_EXPORT const DE_ConfigurationFormatMap& Nodes() const;
//! @param[in] theResource resource to get priority
void sort(const Handle(DE_ConfigurationContext)& theResource);
- //! Find available provider from the configuration.
- //! If there are several providers, choose the one with the highest priority.
- //! @param[in] thePath path to the CAD file
- //! @param[in] theToImport flag to finds for import. Standard_True-import, Standard_False-export
- //! @param[out] theProvider created new provider
- //! @return Standard_True if provider found and created
- Standard_Boolean findProvider(const TCollection_AsciiString& thePath,
- const Standard_Boolean theToImport,
- Handle(DE_Provider)& theProvider) const;
-
public:
DE_ConfigurationNode::DE_SectionGlobal GlobalParameters; //!< Internal parameters for the all translators