CFx SDK Documentation  2022 SP0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdIfc2x3::IfcDraughtingCalloutElement Class Reference

#include <Ifc2x3SelectTypes.h>

Inheritance diagram for OdIfc2x3::IfcDraughtingCalloutElement:
OdDAI::OdSelect

Public Types

enum  eIfcDraughtingCalloutElement { kIfcDraughtingCalloutElement_unset , kIfcDraughtingCalloutElement_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

 IfcDraughtingCalloutElement ()
 
void _d (eIfcDraughtingCalloutElement determinant)
 
virtual long _d () const
 
virtual const OdAnsiString underlyingTypeName () const
 
virtual bool underlyingTypeName (OdAnsiString typeName)
 
virtual eIfcDraughtingCalloutElement underlyingTypeByName (OdAnsiString typeName)
 
virtual int exists () const
 
- Public Member Functions inherited from OdDAI::OdSelect
 OdSelect (const OdSelect &other)
 
 OdSelect ()
 
virtual ~OdSelect ()
 
OdSelectoperator= (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

eIfcDraughtingCalloutElement 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
 
}; 
 

Detailed Description

Definition at line 648 of file Ifc2x3SelectTypes.h.

Member Enumeration Documentation

◆ eIfcDraughtingCalloutElement

Enumerator
kIfcDraughtingCalloutElement_unset 
kIfcDraughtingCalloutElement_handle 

Definition at line 654 of file Ifc2x3SelectTypes.h.

Constructor & Destructor Documentation

◆ IfcDraughtingCalloutElement()

OdIfc2x3::IfcDraughtingCalloutElement::IfcDraughtingCalloutElement ( )
inline

Definition at line 652 of file Ifc2x3SelectTypes.h.

Member Function Documentation

◆ _d() [1/2]

virtual long OdIfc2x3::IfcDraughtingCalloutElement::_d ( ) const
inlinevirtual

Retrieves the "Select" data type determinant.

Returns
Returns a long value that represents the type determinant.

Implements OdDAI::OdSelect.

Definition at line 660 of file Ifc2x3SelectTypes.h.

◆ _d() [2/2]

void OdIfc2x3::IfcDraughtingCalloutElement::_d ( eIfcDraughtingCalloutElement  determinant)
inline

Definition at line 659 of file Ifc2x3SelectTypes.h.

◆ exists()

virtual int OdIfc2x3::IfcDraughtingCalloutElement::exists ( ) const
inlinevirtual

Determines whether the value is set for the "Select" datatype instance.

Returns
Returns 1 if the value is set.

Implements OdDAI::OdSelect.

Definition at line 666 of file Ifc2x3SelectTypes.h.

◆ setHandleD()

virtual void OdIfc2x3::IfcDraughtingCalloutElement::setHandleD ( )
inlineprotectedvirtual

Sets the specific underlying type enum for the stored handle.

Implements OdDAI::OdSelect.

Definition at line 670 of file Ifc2x3SelectTypes.h.

◆ underlyingTypeByName()

virtual eIfcDraughtingCalloutElement OdIfc2x3::IfcDraughtingCalloutElement::underlyingTypeByName ( OdAnsiString  typeName)
virtual

◆ underlyingTypeName() [1/2]

virtual const OdAnsiString OdIfc2x3::IfcDraughtingCalloutElement::underlyingTypeName ( ) const
virtual

Retrieves the name of the current underlying type.

Returns
Returns an ANSI string that contains the name of the underlying type.

Implements OdDAI::OdSelect.

◆ underlyingTypeName() [2/2]

virtual bool OdIfc2x3::IfcDraughtingCalloutElement::underlyingTypeName ( OdAnsiString  typeName)
virtual

Sets a new name of the underlying type.

Parameters
typeName[in] An ANSI string that contains the new name.
Returns
Returns false if the new type name is incorrect for the "Select" data type.

Implements OdDAI::OdSelect.

◆ unset()

virtual void OdIfc2x3::IfcDraughtingCalloutElement::unset ( )
inlineprotectedvirtual

Unsets the discriminant of the derived type.

Implements OdDAI::OdSelect.

Definition at line 672 of file Ifc2x3SelectTypes.h.

Member Data Documentation

◆ m_determinant

eIfcDraughtingCalloutElement OdIfc2x3::IfcDraughtingCalloutElement::m_determinant
protected

Definition at line 669 of file Ifc2x3SelectTypes.h.


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