defines IGES Generic Data, Type <406> Form <27>
in package IGESDefs
Used to communicate information defined by the system
operator while creating the model. The information is
system specific and does not map into one of the
predefined properties or associativities. Properties
and property values can be defined by multiple
instances of this property.
#include <IGESDefs_GenericData.hxx>
Public Member Functions |
| IGESDefs_GenericData () |
void | Init (const Standard_Integer nbPropVal, const Handle< TCollection_HAsciiString > &aName, const Handle< TColStd_HArray1OfInteger > &allTypes, const Handle< TColStd_HArray1OfTransient > &allValues) |
| This method is used to set the fields of the class
GenericData
|
Standard_Integer | NbPropertyValues () const |
| returns the number of property values
|
Handle_TCollection_HAsciiString | Name () const |
| returns property name
|
Standard_Integer | NbTypeValuePairs () const |
| returns the number of TYPE/VALUE pairs
|
Standard_Integer | Type (const Standard_Integer Index) const |
| returns the Index'th property value data type
raises exception if Index <= 0 or Index > NbTypeValuePairs()
|
Handle_Standard_Transient | Value (const Standard_Integer Index) const |
| HArray1OfInteger (length 1), HArray1OfReal (length 1) for
Integer, Real, Boolean (= Integer 0/1),
HAsciiString for String (the value itself),
IGESEntity for Entity (the value itself)
|
Standard_Integer | ValueAsInteger (const Standard_Integer ValueNum) const |
| Returns Attribute Value <AttrNum, rank ValueNum> as an Integer
//! Error if Index out of Range, or not an Integer
|
Standard_Real | ValueAsReal (const Standard_Integer ValueNum) const |
| Returns Attribute Value <AttrNum, rank ValueNum> as a Real
//! Error if Index out of Range, or not a Real
|
Handle_TCollection_HAsciiString | ValueAsString (const Standard_Integer ValueNum) const |
| Returns Attribute Value <AttrNum, rank ValueNum> as an Integer
|
Handle_IGESData_IGESEntity | ValueAsEntity (const Standard_Integer ValueNum) const |
| Returns Attribute Value <AttrNum, rank ValueNum> as an Entity
//! Error if Index out of Range, or not a Entity
|
Standard_Boolean | ValueAsLogical (const Standard_Integer ValueNum) const |
| Returns Attribute Value <AttrNum, rank ValueNum> as a Boolean
//! Error if Index out of Range, or not a Logical
|
Constructor & Destructor Documentation
IGESDefs_GenericData::IGESDefs_GenericData |
( |
| ) |
|
Member Function Documentation
- nbPropVal : Number of property values
- aName : Property Name
- allTypes : Property Types
- allValues : Property Values
Handle_TCollection_HAsciiString IGESDefs_GenericData::Name |
( |
| ) |
const |
Handle_IGESData_IGESEntity IGESDefs_GenericData::ValueAsEntity |
( |
const Standard_Integer |
ValueNum | ) |
const |
Handle_TCollection_HAsciiString IGESDefs_GenericData::ValueAsString |
( |
const Standard_Integer |
ValueNum | ) |
const |
The documentation for this class was generated from the following file: