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

A SelectFlag queries a flag noted in the bitmap of the Graph.
The Flag is designated by its Name. Flag Names are defined
by Work Session and, as necessary, other functional objects

WorkSession from IFSelect defines flag "Incorrect"
Objects which control application running define some others

#include <IFSelect_SelectFlag.hxx>

Inheritance diagram for IFSelect_SelectFlag:
Inheritance graph
[legend]

Public Member Functions

 IFSelect_SelectFlag (const Standard_CString flagname)
 Creates a Select Flag, to query a flag designated by its name

Standard_CString FlagName () const
 Returns the name of the flag

virtual Interface_EntityIterator RootResult (const Interface_Graph &G) const
 Returns the list of selected entities. It is redefined to
work on the graph itself (not queried by sort)

An entity is selected if its flag is True on Direct mode,
False on Reversed mode

If flag does not exist for the given name, returns an empty
result, whatever the Direct/Reversed sense

Standard_Boolean Sort (const Standard_Integer rank, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const
 Returns always False because RootResult has done the work

TCollection_AsciiString ExtractLabel () const
 Returns a text defining the criterium, includes the flag name


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from IFSelect_SelectExtract.


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