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

Multiple Signature : ordered list of other Signatures
It concatenates on a same line the result of its sub-items
separated by sets of 3 blanks
It is possible to define tabulations between sub-items
Moreover, match rules are specific

#include <IFSelect_SignMultiple.hxx>

Inheritance diagram for IFSelect_SignMultiple:
Inheritance graph
[legend]

Public Member Functions

 IFSelect_SignMultiple (const Standard_CString name)
 Creates an empty SignMultiple with a Name
This name should take expected tabulations into account

void Add (const Handle< IFSelect_Signature > &subsign, const Standard_Integer width=0, const Standard_Boolean maxi=Standard_False)
 Adds a Signature. Width, if given, gives the tabulation
If <maxi> is True, it is a forced tabulation (overlength is
replaced by a final dot)
If <maxi> is False, just 3 blanks follow an overlength

Standard_CString Value (const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const
 Concatenates the values of sub-signatures, with their
tabulations

virtual Standard_Boolean Matches (const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model, const TCollection_AsciiString &text, const Standard_Boolean exact) const
 Specialized Match Rule
If <exact> is False, simply checks if at least one sub-item
matches
If <exact> is True, standard match with Value
(i.e. tabulations must be respected)


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from IFSelect_Signature.

Implements Interface_SignType.


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