Open CASCADE Technology 6.6.0
|
A DispPerSignature sorts input Entities according to a
Signature : it works with a SignCounter to do this.
#include <IFSelect_DispPerSignature.hxx>
Public Member Functions | |
IFSelect_DispPerSignature () | |
Creates a DispPerSignature with no SignCounter (by default, produces only one packet) | |
Handle_IFSelect_SignCounter | SignCounter () const |
Returns the SignCounter used for splitting | |
void | SetSignCounter (const Handle< IFSelect_SignCounter > &sign) |
Sets a SignCounter for sort Remark : it is set to record lists of entities, not only counts | |
Standard_CString | SignName () const |
Returns the name of the SignCounter, which caracterises the sorting criterium for this Dispatch | |
TCollection_AsciiString | Label () const |
Returns as Label, "One File per Signature <name>" | |
virtual Standard_Boolean | LimitedMax (const Standard_Integer nbent, Standard_Integer &max) const |
Returns True, maximum count is given as <nbent> | |
void | Packets (const Interface_Graph &G, IFGraph_SubPartsIterator &packs) const |
Computes the list of produced Packets. It defines Packets from the SignCounter, which sirts the input Entities per Signature (specific of the SignCounter). |
IFSelect_DispPerSignature::IFSelect_DispPerSignature | ( | ) |
TCollection_AsciiString IFSelect_DispPerSignature::Label | ( | ) | const [virtual] |
Implements IFSelect_Dispatch.
virtual Standard_Boolean IFSelect_DispPerSignature::LimitedMax | ( | const Standard_Integer | nbent, |
Standard_Integer & | max | ||
) | const [virtual] |
Reimplemented from IFSelect_Dispatch.
void IFSelect_DispPerSignature::Packets | ( | const Interface_Graph & | G, |
IFGraph_SubPartsIterator & | packs | ||
) | const [virtual] |
Implements IFSelect_Dispatch.
void IFSelect_DispPerSignature::SetSignCounter | ( | const Handle< IFSelect_SignCounter > & | sign | ) |
Handle_IFSelect_SignCounter IFSelect_DispPerSignature::SignCounter | ( | ) | const |
Standard_CString IFSelect_DispPerSignature::SignName | ( | ) | const |