OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKXSBase
IFSelect


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

Standard_EXPORT IFSelect_SignMultiple (const Standard_CString name)
 Creates an empty SignMultiple with a Name
This name should take expected tabulations into account
.
Standard_EXPORT 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_EXPORT 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_EXPORT 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)
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

TColStd_SequenceOfTransient thesubs
TColStd_SequenceOfInteger thetabs

Constructor & Destructor Documentation

Standard_EXPORT IFSelect_SignMultiple::IFSelect_SignMultiple const Standard_CString  name  ) 
 


Member Function Documentation

Standard_EXPORT void IFSelect_SignMultiple::Add const Handle(IFSelect_Signature)&  subsign,
const Standard_Integer  width = 0,
const Standard_Boolean  maxi = Standard_False
 

Standard_EXPORT const IFSelect_SignMultiple::Handle Standard_Type   )  const
 

Reimplemented from IFSelect_Signature.

virtual Standard_EXPORT Standard_Boolean IFSelect_SignMultiple::Matches const Handle(Standard_Transient)&  ent,
const Handle(Interface_InterfaceModel)&  model,
const TCollection_AsciiString &  text,
const Standard_Boolean  exact
const [virtual]
 

Reimplemented from IFSelect_Signature.

Standard_EXPORT Standard_CString IFSelect_SignMultiple::Value const Handle(Standard_Transient)&  ent,
const Handle(Interface_InterfaceModel)&  model
const [virtual]
 

Implements Interface_SignType.


Field Documentation

TColStd_SequenceOfTransient IFSelect_SignMultiple::thesubs [private]
 

TColStd_SequenceOfInteger IFSelect_SignMultiple::thetabs [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:39:59 2008 for OpenCASCADE by  doxygen 1.4.1