// File name: $Workfile: el_scal.h $ // Last modified: $Modtime: 11/13/00 2:41p $ // Last modified by: $Author: Bill $ // // VCS archive path: $Archive: /Hank/DMM/FirmWare/Level3/ObDatMgr/el_scal.h $ // VCS revision: $Revision: 8 $ class CPQDIF_E_Scalar : public CPQDIF_Element { public: CPQDIF_E_Scalar(); virtual ~CPQDIF_E_Scalar(); // Operator(s) public: // Attributes public: virtual long GetElementType( void ) const { return ID_ELEMENT_TYPE_SCALAR; } // Operations public: #ifdef PQDIF_USE_COM bool SetValue( long typePhysical, VARIANT & value ); bool GetValue( VARIANT& value ); #endif bool SetValue( long typePhysical, PQDIFValue& value ); bool GetValue( long& typePhysical, PQDIFValue& value ) const; // Specific physical types bool SetValueUINT2( UINT2 value ); bool GetValueUINT2( UINT2& value ) const; bool SetValueINT2( INT2 value ); bool GetValueINT2( INT2& value ) const; bool SetValueUINT4( UINT4 value ); bool GetValueUINT4( UINT4& value ) const; bool SetValueINT4( INT4 value ); bool GetValueINT4( INT4& value ) const; bool SetValueBOOL4( bool value ); bool GetValueBOOL4( bool& value ) const; bool SetValueREAL4( REAL4 value ); bool GetValueREAL4( REAL4& value ) const; bool SetValueREAL8( REAL8 value ); bool GetValueREAL8( REAL8& value ) const; bool SetValueCOMPLEX8( COMPLEX8 value ); bool GetValueCOMPLEX8( COMPLEX8& value ) const; bool SetValueCOMPLEX16( COMPLEX16 value ); bool GetValueCOMPLEX16( COMPLEX16& value ) const; bool SetValueGUID( GUID value ); bool GetValueGUID( GUID& value ) const; bool SetValueTimeStamp( TIMESTAMPPQDIF value ); bool GetValueTimeStamp( TIMESTAMPPQDIF& value ) const; // Implementation private: // Member data private: PQDIFValue m_value; };