Open CASCADE Technology
6.5.4
|
In the graph, explore the sharings of the input entities,
until it encounters some which match a given Signature
(for a limited level, filters the returned list)
By default, fitted for any level
#include <IFSelect_SelectSignedSharing.hxx>
Public Member Functions | |
IFSelect_SelectSignedSharing (const Handle< IFSelect_Signature > &matcher, const Standard_CString signtext, const Standard_Boolean exact=Standard_True, const Standard_Integer level=0) | |
Creates a SelectSignedSharing, defaulted for any level with a given Signature and text to match | |
Handle_IFSelect_Signature | Signature () const |
Returns the used Signature, then it is possible to access it, modify it as required | |
const TCollection_AsciiString & | SignatureText () const |
Returns Text used to Sort Entity on its Signature | |
Standard_Boolean | IsExact () const |
Returns True if match must be exact | |
Standard_Boolean | Explore (const Standard_Integer level, const Handle< Standard_Transient > &ent, const Interface_Graph &G, Interface_EntityIterator &explored) const |
Explores an entity : its sharing entities <ent> to take if it matches the Signature At level max, filters the result. Else gives all sharings | |
TCollection_AsciiString | ExploreLabel () const |
Returns a text defining the criterium. (it refers to the text and exact flag to be matched, and is qualified by the Name provided by the Signature) |
IFSelect_SelectSignedSharing::IFSelect_SelectSignedSharing | ( | const Handle< IFSelect_Signature > & | matcher, |
const Standard_CString | signtext, | ||
const Standard_Boolean | exact = Standard_True , |
||
const Standard_Integer | level = 0 |
||
) |
Standard_Boolean IFSelect_SelectSignedSharing::Explore | ( | const Standard_Integer | level, |
const Handle< Standard_Transient > & | ent, | ||
const Interface_Graph & | G, | ||
Interface_EntityIterator & | explored | ||
) | const [virtual] |
Implements IFSelect_SelectExplore.
TCollection_AsciiString IFSelect_SelectSignedSharing::ExploreLabel | ( | ) | const [virtual] |
Implements IFSelect_SelectExplore.
Handle_IFSelect_Signature IFSelect_SelectSignedSharing::Signature | ( | ) | const |