?? pbasic.tli
字號:
// interface _DGMPolylineGeometry wrapper method implementations
//
inline _DGMPointsPtr _DGMPolylineGeometry::GetPoints ( ) {
struct _DGMPoints * _result;
HRESULT _hr = get_Points(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMPointsPtr(_result, false);
}
//
// interface _DGMBoundaryGeometry wrapper method implementations
//
inline IDispatchPtr _DGMBoundaryGeometry::GetExterior ( ) {
IDispatch * _result;
HRESULT _hr = get_Exterior(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
inline void _DGMBoundaryGeometry::PutRefExterior ( IDispatch * Exterior ) {
HRESULT _hr = putref_Exterior(Exterior);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMGeometryCollectionPtr _DGMBoundaryGeometry::GetHoles ( ) {
struct _DGMGeometryCollection * _result;
HRESULT _hr = get_Holes(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMGeometryCollectionPtr(_result, false);
}
//
// interface _DGMGeometryCollection wrapper method implementations
//
inline long _DGMGeometryCollection::GetCount ( ) {
long _result;
HRESULT _hr = get_Count(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline IUnknownPtr _DGMGeometryCollection::GetNewEnum ( ) {
IUnknown * _result;
HRESULT _hr = get_NewEnum(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
inline IDispatchPtr _DGMGeometryCollection::Item ( const _variant_t & index ) {
IDispatch * _result;
HRESULT _hr = raw_Item(index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
inline HRESULT _DGMGeometryCollection::Add ( IDispatch * geometry, const _variant_t & index ) {
HRESULT _hr = raw_Add(geometry, index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _DGMGeometryCollection::Remove ( const _variant_t & index ) {
HRESULT _hr = raw_Remove(index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _DGMRectangleGeometry wrapper method implementations
//
inline double _DGMRectangleGeometry::GetWidth ( ) {
double _result;
HRESULT _hr = get_Width(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMRectangleGeometry::PutWidth ( double returnValue ) {
HRESULT _hr = put_Width(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline double _DGMRectangleGeometry::GetHeight ( ) {
double _result;
HRESULT _hr = get_Height(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMRectangleGeometry::PutHeight ( double returnValue ) {
HRESULT _hr = put_Height(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline double _DGMRectangleGeometry::GetRotation ( ) {
double _result;
HRESULT _hr = get_Rotation(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMRectangleGeometry::PutRotation ( double returnValue ) {
HRESULT _hr = put_Rotation(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMPointPtr _DGMRectangleGeometry::GetOrigin ( ) {
struct _DGMPoint * _result;
HRESULT _hr = get_Origin(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMPointPtr(_result, false);
}
inline void _DGMRectangleGeometry::PutRefOrigin ( struct _DGMPoint * returnValue ) {
HRESULT _hr = putref_Origin(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMVectorPtr _DGMRectangleGeometry::GetNormal ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Normal(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMRectangleGeometry::PutRefNormal ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Normal(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface _DGMOrientedPointGeometry wrapper method implementations
//
inline _DGMVectorPtr _DGMOrientedPointGeometry::GetOrientation ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Orientation(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMOrientedPointGeometry::PutRefOrientation ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Orientation(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface _DGMTextPointGeometry wrapper method implementations
//
inline double _DGMTextPointGeometry::GetRotation ( ) {
double _result;
HRESULT _hr = get_Rotation(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMTextPointGeometry::PutRotation ( double returnValue ) {
HRESULT _hr = put_Rotation(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline long _DGMTextPointGeometry::GetAlignment ( ) {
long _result;
HRESULT _hr = get_Alignment(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMTextPointGeometry::PutAlignment ( long returnValue ) {
HRESULT _hr = put_Alignment(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t _DGMTextPointGeometry::GetRichText ( ) {
BSTR _result;
HRESULT _hr = get_RichText(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void _DGMTextPointGeometry::PutRichText ( _bstr_t text ) {
HRESULT _hr = put_RichText(text);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t _DGMTextPointGeometry::Gettext ( ) {
BSTR _result;
HRESULT _hr = get_text(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void _DGMTextPointGeometry::Puttext ( _bstr_t text ) {
HRESULT _hr = put_text(text);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline short _DGMTextPointGeometry::GetFormat ( ) {
short _result;
HRESULT _hr = get_Format(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _DGMVectorPtr _DGMTextPointGeometry::GetNormal ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Normal(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMTextPointGeometry::PutRefNormal ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Normal(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline VARIANT_BOOL _DGMTextPointGeometry::GetIsCompositeText ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_IsCompositeText(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMTextPointGeometry::PutIsCompositeText ( VARIANT_BOOL pvbIsCompositeText ) {
HRESULT _hr = put_IsCompositeText(pvbIsCompositeText);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface _DGMArcGeometry wrapper method implementations
//
inline _DGMPointPtr _DGMArcGeometry::GetStart ( ) {
struct _DGMPoint * _result;
HRESULT _hr = get_Start(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMPointPtr(_result, false);
}
inline void _DGMArcGeometry::PutRefStart ( struct _DGMPoint * returnValue ) {
HRESULT _hr = putref_Start(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMPointPtr _DGMArcGeometry::GetEnd ( ) {
struct _DGMPoint * _result;
HRESULT _hr = get_End(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMPointPtr(_result, false);
}
inline void _DGMArcGeometry::PutRefEnd ( struct _DGMPoint * returnValue ) {
HRESULT _hr = putref_End(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMVectorPtr _DGMArcGeometry::GetNormal ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Normal(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMArcGeometry::PutRefNormal ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Normal(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline double _DGMArcGeometry::GetRadius ( ) {
double _result;
HRESULT _hr = get_Radius(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMArcGeometry::PutRadius ( double returnValue ) {
HRESULT _hr = put_Radius(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline VARIANT_BOOL _DGMArcGeometry::GetGreaterThanPi ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_GreaterThanPi(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMArcGeometry::PutGreaterThanPi ( VARIANT_BOOL returnValue ) {
HRESULT _hr = put_GreaterThanPi(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMPointPtr _DGMArcGeometry::GetOrigin ( ) {
struct _DGMPoint * _result;
HRESULT _hr = get_Origin(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMPointPtr(_result, false);
}
//
// interface IGMError wrapper method implementations
//
inline long IGMError::GetResourceHandle ( ) {
long _result;
HRESULT _hr = get_ResourceHandle(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IGMError::PutResourceHandle ( long pResourceHandle ) {
HRESULT _hr = put_ResourceHandle(pResourceHandle);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -