|
Open CASCADE Technology
6.5.4
|
A DispPerCount gathers all the input Entities into one or
several Packets, each containing a defined count of Entity
This count is a Parameter of the DispPerCount, given as an
IntParam, thus allowing external control of its Value
#include <IFSelect_DispPerCount.hxx>

Public Member Functions | |
| IFSelect_DispPerCount () | |
| Creates a DispPerCount with no Count (default value 1) | |
| Handle_IFSelect_IntParam | Count () const |
| Returns the Count Parameter used for splitting | |
| void | SetCount (const Handle< IFSelect_IntParam > &count) |
| Sets a new Parameter for Count | |
| Standard_Integer | CountValue () const |
| Returns the effective value of the count parameter (if Count Parameter not Set or value not positive, returns 1) | |
| TCollection_AsciiString | Label () const |
| Returns as Label, "One File per <count> Input Entities" | |
| virtual Standard_Boolean | LimitedMax (const Standard_Integer nbent, Standard_Integer &max) const |
| Returns True, maximum count is given as <nbent> | |
| virtual Standard_Boolean | PacketsCount (const Interface_Graph &G, Standard_Integer &count) const |
| Returns True (count is easy to know) and count is computed from length of input list (RootResult from Final Selection) | |
| void | Packets (const Interface_Graph &G, IFGraph_SubPartsIterator &packs) const |
| Computes the list of produced Packets. It defines Packets in order to have at most <Count> Entities per Packet, Entities are given by RootResult from the Final Selection. | |
| Handle_IFSelect_IntParam IFSelect_DispPerCount::Count | ( | ) | const |
| TCollection_AsciiString IFSelect_DispPerCount::Label | ( | ) | const [virtual] |
Implements IFSelect_Dispatch.
| virtual Standard_Boolean IFSelect_DispPerCount::LimitedMax | ( | const Standard_Integer | nbent, |
| Standard_Integer & | max | ||
| ) | const [virtual] |
Reimplemented from IFSelect_Dispatch.
| void IFSelect_DispPerCount::Packets | ( | const Interface_Graph & | G, |
| IFGraph_SubPartsIterator & | packs | ||
| ) | const [virtual] |
Implements IFSelect_Dispatch.
| virtual Standard_Boolean IFSelect_DispPerCount::PacketsCount | ( | const Interface_Graph & | G, |
| Standard_Integer & | count | ||
| ) | const [virtual] |
Reimplemented from IFSelect_Dispatch.
| void IFSelect_DispPerCount::SetCount | ( | const Handle< IFSelect_IntParam > & | count | ) |
1.8.0