Open CASCADE Technology  7.4.0
Public Member Functions
StepData_FieldListD Class Reference

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>

Inheritance diagram for StepData_FieldListD:
Inheritance graph
[legend]

Public Member Functions

 StepData_FieldListD (const Standard_Integer nb)
 Creates a FieldListD of <nb> Fields. More...
 
void SetNb (const Standard_Integer nb)
 Sets a new count of Fields. Former contents are lost. More...
 
virtual Standard_Integer NbFields () const override
 Returns the count of fields. Here, returns starting <nb> More...
 
virtual const StepData_FieldField (const Standard_Integer num) const override
 Returns the field n0 <num> between 1 and NbFields (read only) More...
 
virtual StepData_FieldCField (const Standard_Integer num) override
 Returns the field n0 <num> between 1 and NbFields, in order to modify its content. More...
 
- Public Member Functions inherited from StepData_FieldList
virtual ~StepData_FieldList ()
 Destructor is virtual. More...
 
 StepData_FieldList ()
 Creates a FieldList of 0 Field. More...
 
void FillShared (Interface_EntityIterator &iter) const
 Fills an iterator with the entities shared by <me> More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ StepData_FieldListD()

StepData_FieldListD::StepData_FieldListD ( const Standard_Integer  nb)

Creates a FieldListD of <nb> Fields.

Member Function Documentation

◆ CField()

virtual StepData_Field& StepData_FieldListD::CField ( const Standard_Integer  num)
overridevirtual

Returns the field n0 <num> between 1 and NbFields, in order to modify its content.

Reimplemented from StepData_FieldList.

◆ Field()

virtual const StepData_Field& StepData_FieldListD::Field ( const Standard_Integer  num) const
overridevirtual

Returns the field n0 <num> between 1 and NbFields (read only)

Reimplemented from StepData_FieldList.

◆ NbFields()

virtual Standard_Integer StepData_FieldListD::NbFields ( ) const
overridevirtual

Returns the count of fields. Here, returns starting <nb>

Reimplemented from StepData_FieldList.

◆ SetNb()

void StepData_FieldListD::SetNb ( const Standard_Integer  nb)

Sets a new count of Fields. Former contents are lost.


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