Open CASCADE Technology 7.8.2.dev
|
Describes a list of fields, in a general way This basic class is for a null size list Subclasses are for 1, N (fixed) or Dynamic sizes. More...
#include <StepData_FieldListD.hxx>
Public Member Functions | |
StepData_FieldListD (const Standard_Integer nb) | |
Creates a FieldListD of <nb> Fields. | |
void | SetNb (const Standard_Integer nb) |
Sets a new count of Fields. Former contents are lost. | |
virtual Standard_Integer | NbFields () const override |
Returns the count of fields. Here, returns starting <nb> | |
virtual const StepData_Field & | Field (const Standard_Integer num) const override |
Returns the field n0 <num> between 1 and NbFields (read only) | |
virtual StepData_Field & | CField (const Standard_Integer num) override |
Returns the field n0 <num> between 1 and NbFields, in order to modify its content. | |
Public Member Functions inherited from StepData_FieldList | |
virtual | ~StepData_FieldList () |
Destructor is virtual. | |
StepData_FieldList () | |
Creates a FieldList of 0 Field. | |
void | FillShared (Interface_EntityIterator &iter) const |
Fills an iterator with the entities shared by <me> | |
Describes a list of fields, in a general way This basic class is for a null size list Subclasses are for 1, N (fixed) or Dynamic sizes.
StepData_FieldListD::StepData_FieldListD | ( | const Standard_Integer | nb | ) |
Creates a FieldListD of <nb> Fields.
|
overridevirtual |
Returns the field n0 <num> between 1 and NbFields, in order to modify its content.
Reimplemented from StepData_FieldList.
|
overridevirtual |
Returns the field n0 <num> between 1 and NbFields (read only)
Reimplemented from StepData_FieldList.
|
overridevirtual |
Returns the count of fields. Here, returns starting <nb>
Reimplemented from StepData_FieldList.
void StepData_FieldListD::SetNb | ( | const Standard_Integer | nb | ) |
Sets a new count of Fields. Former contents are lost.