|
CFx SDK Documentation
2023 SP0
|
#include <Ifc4SelectTypes.h>
Public Types | |
| enum | eIfcShell { kIfcShell_unset , kIfcShell_handle } |
Public Types inherited from OdDAI::OdSelect | |
| enum | OdSelectKind { kUnset = 0 , kObjectId = 1 , kInt32 = 2 , kBoolean = 3 , kDouble = 4 , kBinary = 5 , kLogical = 6 , kObjectIdArray = 7 , kInt32Array = 8 , kDoubleArray = 9 , kAnsiString = 10 } |
Public Member Functions | |
| IfcShell () | |
| void | _d (eIfcShell determinant) |
| virtual long | _d () const |
| virtual const OdAnsiString | underlyingTypeName () const |
| virtual bool | underlyingTypeName (OdAnsiString typeName) |
| virtual eIfcShell | underlyingTypeByName (OdAnsiString typeName) |
| virtual int | exists () const |
Public Member Functions inherited from OdDAI::OdSelect | |
| OdSelect (const OdSelect &other) | |
| OdSelect () | |
| virtual | ~OdSelect () |
| OdSelect & | operator= (const OdSelect &other) |
| virtual void | nullify () |
| OdSelectKind | kind () const |
| void | setHandle (OdDAIObjectId val) |
| void | setInt32 (int val) |
| void | setBool (bool val) |
| void | setDouble (double val) |
| void | setString (OdAnsiString &val) |
| void | setBINARY (BINARY &val) |
| void | setLogical (OdLogical &val) |
| void | setInt32Array (OdArray< int > &val) |
| void | setHandleArray (OdArray< OdDAIObjectId > &val) |
| void | setDoubleArray (OdArray< double > &val) |
| bool | getInt32 (int &ret) const |
| bool | getDouble (double &ret) const |
| bool | getBool (bool &ret) const |
| bool | getString (OdAnsiString &ret) const |
| bool | getHandle (OdDAIObjectId &res) const |
| OdDAIObjectId | getHandle () const |
| bool | getLogical (OdLogical &ret) const |
| bool | getBINARY (OdAnsiString &res) const |
| bool | getInt32Array (OdArray< int > &res) const |
| bool | getHandleArray (OdArray< OdDAIObjectId > &res) const |
| bool | getDoubleArray (OdArray< double > &res) const |
| bool | getBINARY (char *&res) const |
| OdResult | in (OdSpfFilerBase *rdFiler, bool opt=false, bool comma_needed=true) |
| void | out (OdSpfFilerBase *wrFiler, bool opt=false, bool comma_needed=true) |
Protected Member Functions | |
| virtual void | setHandleD () |
| virtual void | unset () |
Protected Member Functions inherited from OdDAI::OdSelect | |
| virtual OdResult | readTypedField (const OdAnsiString &typeDef, OdSpfFilerBase *rdFiler) |
| virtual OdResult | writeTypedField (OdSpfFilerBase *wrFiler) const |
Protected Attributes | |
| eIfcShell | m_determinant |
Protected Attributes inherited from OdDAI::OdSelect | |
| OdSelectKind | m_kind |
| union { | |
| OdUInt64 m_hndl | |
| int m_int | |
| bool m_bool | |
| double m_dbl | |
| void * m_ptr | |
| }; | |
Definition at line 1859 of file Ifc4SelectTypes.h.
| Enumerator | |
|---|---|
| kIfcShell_unset | |
| kIfcShell_handle | |
Definition at line 1865 of file Ifc4SelectTypes.h.
|
inline |
Definition at line 1863 of file Ifc4SelectTypes.h.
|
inlinevirtual |
Retrieves the "Select" data type determinant.
Implements OdDAI::OdSelect.
Definition at line 1871 of file Ifc4SelectTypes.h.
Definition at line 1870 of file Ifc4SelectTypes.h.
|
inlinevirtual |
Determines whether the value is set for the "Select" datatype instance.
Implements OdDAI::OdSelect.
Definition at line 1877 of file Ifc4SelectTypes.h.
|
inlineprotectedvirtual |
Sets the specific underlying type enum for the stored handle.
Implements OdDAI::OdSelect.
Definition at line 1881 of file Ifc4SelectTypes.h.
|
virtual |
|
virtual |
Retrieves the name of the current underlying type.
Implements OdDAI::OdSelect.
|
virtual |
Sets a new name of the underlying type.
| typeName | [in] An ANSI string that contains the new name. |
Implements OdDAI::OdSelect.
|
inlineprotectedvirtual |
Unsets the discriminant of the derived type.
Implements OdDAI::OdSelect.
Definition at line 1883 of file Ifc4SelectTypes.h.
|
protected |
Definition at line 1880 of file Ifc4SelectTypes.h.