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

# DataExchange
TKIGES
IGESSelect

# IGESSelect_EditHeader Class Reference

This class is aimed to display and edit the Header of an
IGES Model : Start Section and Global Section
.

`#include <IGESSelect_EditHeader.hxx>`

Inheritance diagram for IGESSelect_EditHeader:

[legend]

## Public Member Functions
Standard_EXPORT | IGESSelect_EditHeader ()
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_EditHeader::IGESSelect_EditHeader | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Standard_Boolean IGESSelect_EditHeader::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_EditHeader::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from IFSelect_Editor.

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

| Implements IFSelect_Editor.

Standard_EXPORT Standard_Boolean IGESSelect_EditHeader::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_EditHeader::Recognize | ( | const Handle(IFSelect_EditForm)& | form | ) | const`[virtual]`

| Implements IFSelect_Editor.

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

| Implements IFSelect_Editor.

virtual Standard_EXPORT Standard_Boolean IGESSelect_EditHeader::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_EditHeader.hxx