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

This class is aimed to display and edit the Directory Part of
an IGESEntity

#include <IGESSelect_EditDirPart.hxx>

Inheritance diagram for IGESSelect_EditDirPart:
Inheritance graph
[legend]

Public Member Functions

 IGESSelect_EditDirPart ()
TCollection_AsciiString Label () const
 Returns the specific label

Standard_Boolean Recognize (const Handle< IFSelect_EditForm > &form) const
 Tells if this Editor can work on this EditForm and its content
(model, entity ?)

Handle_TCollection_HAsciiString StringValue (const Handle< IFSelect_EditForm > &form, const Standard_Integer num) const
 Returns the value of an EditForm, for a given item
(if not a list. for a list, a Null String may be returned)

Standard_Boolean Load (const Handle< IFSelect_EditForm > &form, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const
 Loads original values from some data, to an EditForm
Remark: <ent> may be Null, this means all <model> is concerned
Also <model> may be Null, if no context applies for <ent>
And both <ent> and <model> may be Null, for a full static
editor

virtual Standard_Boolean Update (const Handle< IFSelect_EditForm > &form, const Standard_Integer num, const Handle< TCollection_HAsciiString > &newval, const Standard_Boolean enforce) const
 Updates the EditForm when a parameter is modified
I.E. default does nothing, can be redefined, as follows :
Returns True when done (even if does nothing), False in case
of refuse (for instance, if the new value is not suitable)
<num> is the rank of the parameter for the EDITOR itself
<enforce> True means that protected parameters can be touched

If a parameter commands the value of other ones, when it is
modified, it is necessary to touch them by Touch from EditForm

Standard_Boolean Apply (const Handle< IFSelect_EditForm > &form, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const
 Applies modified values of the EditForm with some data
Remark: <ent> may be Null, this means all <model> is concerned
Also <model> may be Null, if no context applies for <ent>
And both <ent> and <model> may be Null, for a full static
editor


Constructor & Destructor Documentation


Member Function Documentation

Implements IFSelect_Editor.

Implements IFSelect_Editor.

Implements IFSelect_Editor.

Implements IFSelect_Editor.

Handle_TCollection_HAsciiString IGESSelect_EditDirPart::StringValue ( const Handle< IFSelect_EditForm > &  form,
const Standard_Integer  num 
) const [virtual]

Implements IFSelect_Editor.

Reimplemented from IFSelect_Editor.


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