Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IGESSelect_SelectLevelNumber Class Reference

This selection looks at Level Number of IGES Entities :
it considers items attached, either to a single level with a
given value, or to a level list which contains this value

Level = 0 means entities not attached to any level

Remark : the class CounterOfLevelNumber gives informations
about present levels in a file.

#include <IGESSelect_SelectLevelNumber.hxx>

Inheritance diagram for IGESSelect_SelectLevelNumber:
Inheritance graph
[legend]

Public Member Functions

 IGESSelect_SelectLevelNumber ()
 Creates a SelectLevelNumber, with no Level criterium : see
SetLevelNumber. Empty, this selection filters nothing.

void SetLevelNumber (const Handle< IFSelect_IntParam > &levnum)
 Sets a Parameter as Level criterium

Handle_IFSelect_IntParam LevelNumber () const
 Returns the Level criterium. NullHandle if not yet set
(interpreted as Level = 0 : no level number attached)

Standard_Boolean Sort (const Standard_Integer rank, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const
 Returns True if <ent> is an IGES Entity with Level Number
admits the criterium (= value if single level, or one of the
attached level numbers = value if level list)

TCollection_AsciiString ExtractLabel () const
 Returns the Selection criterium :
"IGES Entity, Level Number admits <nn>" (if nn > 0) or
"IGES Entity attached to no Level" (if nn = 0)


Constructor & Destructor Documentation


Member Function Documentation

Handle_IFSelect_IntParam IGESSelect_SelectLevelNumber::LevelNumber ( ) const

The documentation for this class was generated from the following file: