# DataExchange
TKIGES
IGESSelect

# 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:

[legend]

## Public Member Functions

Standard_EXPORT | IGESSelect_EditDirPart ()
Standard_EXPORT TCollection_AsciiString | Label () const
| Returns the specific label .
Standard_EXPORT Standard_Boolean | Recognize (const Handle(IFSelect_EditForm)&form) const
| Tells if this Editor can work on this EditForm and its content (model, entity ?) .
Standard_EXPORT 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_EXPORT 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_EXPORT 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_EXPORT 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 .
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Constructor & Destructor Documentation

Standard_EXPORT IGESSelect_EditDirPart::IGESSelect_EditDirPart | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Standard_Boolean IGESSelect_EditDirPart::Apply | ( | const Handle(IFSelect_EditForm)& | form,
|  | const Handle(Standard_Transient)& | ent,
|  | const Handle(Interface_InterfaceModel)& | model
| ) | const`[virtual]`

| Implements IFSelect_Editor.

Standard_EXPORT const IGESSelect_EditDirPart::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from IFSelect_Editor.

Standard_EXPORT TCollection_AsciiString IGESSelect_EditDirPart::Label | ( |  | ) | const`[virtual]`

| Implements IFSelect_Editor.

Standard_EXPORT Standard_Boolean IGESSelect_EditDirPart::Load | ( | const Handle(IFSelect_EditForm)& | form,
|  | const Handle(Standard_Transient)& | ent,
|  | const Handle(Interface_InterfaceModel)& | model
| ) | const`[virtual]`

| Implements IFSelect_Editor.

Standard_EXPORT Standard_Boolean IGESSelect_EditDirPart::Recognize | ( | const Handle(IFSelect_EditForm)& | form | ) | const`[virtual]`

| Implements IFSelect_Editor.

Standard_EXPORT Handle_TCollection_HAsciiString IGESSelect_EditDirPart::StringValue | ( | const Handle(IFSelect_EditForm)& | form,
|  | const Standard_Integer | num
| ) | const`[virtual]`

| Implements IFSelect_Editor.

virtual Standard_EXPORT Standard_Boolean IGESSelect_EditDirPart::Update | ( | const Handle(IFSelect_EditForm)& | form,
|  | const Standard_Integer | num,
|  | const Handle(TCollection_HAsciiString)& | newval,
|  | const Standard_Boolean | enforce
| ) | const`[virtual]`

| Reimplemented from IFSelect_Editor.

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

- IGESSelect_EditDirPart.hxx