?? pbasic.tli
字號:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (1d4e498b).
//
// PBasic.tli
//
// Wrapper implementations for Win32 type library D:\\program files\\GeoMedia Professional\\Program\\PBasic.tlb
// compiler-generated file created 12/05/06 at 15:52:35 - DO NOT EDIT!
#pragma once
//
// interface _DGMPoint wrapper method implementations
//
inline double _DGMPoint::GetX ( ) {
double _result;
HRESULT _hr = get_X(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMPoint::PutX ( double returnValue ) {
HRESULT _hr = put_X(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline double _DGMPoint::GetY ( ) {
double _result;
HRESULT _hr = get_Y(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMPoint::PutY ( double returnValue ) {
HRESULT _hr = put_Y(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline double _DGMPoint::GetZ ( ) {
double _result;
HRESULT _hr = get_Z(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMPoint::PutZ ( double returnValue ) {
HRESULT _hr = put_Z(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline HRESULT _DGMPoint::GetPoint ( double * point ) {
HRESULT _hr = raw_GetPoint(point);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _DGMPoint::SetPoint ( double * point ) {
HRESULT _hr = raw_SetPoint(point);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _DGMVector wrapper method implementations
//
inline double _DGMVector::GetI ( ) {
double _result;
HRESULT _hr = get_I(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMVector::PutI ( double returnValue ) {
HRESULT _hr = put_I(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline double _DGMVector::GetJ ( ) {
double _result;
HRESULT _hr = get_J(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMVector::PutJ ( double returnValue ) {
HRESULT _hr = put_J(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline double _DGMVector::GetK ( ) {
double _result;
HRESULT _hr = get_K(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void _DGMVector::PutK ( double returnValue ) {
HRESULT _hr = put_K(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline HRESULT _DGMVector::GetVector ( double * v ) {
HRESULT _hr = raw_GetVector(v);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _DGMVector::SetVector ( double * v ) {
HRESULT _hr = raw_SetVector(v);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _DGMMatrix wrapper method implementations
//
inline _DGMVectorPtr _DGMMatrix::GetRow0 ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Row0(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMMatrix::PutRefRow0 ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Row0(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMVectorPtr _DGMMatrix::GetRow1 ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Row1(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMMatrix::PutRefRow1 ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Row1(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMVectorPtr _DGMMatrix::GetRow2 ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Row2(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMMatrix::PutRefRow2 ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Row2(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMVectorPtr _DGMMatrix::GetColumn0 ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Column0(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMMatrix::PutRefColumn0 ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Column0(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMVectorPtr _DGMMatrix::GetColumn1 ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Column1(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMMatrix::PutRefColumn1 ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Column1(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMVectorPtr _DGMMatrix::GetColumn2 ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Column2(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMMatrix::PutRefColumn2 ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Column2(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMVectorPtr _DGMMatrix::GetTranslation ( ) {
struct _DGMVector * _result;
HRESULT _hr = get_Translation(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMVectorPtr(_result, false);
}
inline void _DGMMatrix::PutRefTranslation ( struct _DGMVector * returnValue ) {
HRESULT _hr = putref_Translation(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline double _DGMMatrix::GetElement ( long row, long column ) {
double _result;
HRESULT _hr = raw_GetElement(row, column, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT _DGMMatrix::SetElement ( long row, long column, double value ) {
HRESULT _hr = raw_SetElement(row, column, value);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _DGMPoints wrapper method implementations
//
inline long _DGMPoints::GetCount ( ) {
long _result;
HRESULT _hr = get_Count(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline IUnknownPtr _DGMPoints::GetNewEnum ( ) {
IUnknown * _result;
HRESULT _hr = get_NewEnum(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
inline _DGMPointPtr _DGMPoints::Item ( const _variant_t & index ) {
struct _DGMPoint * _result;
HRESULT _hr = raw_Item(index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _DGMPointPtr(_result, false);
}
inline HRESULT _DGMPoints::Add ( struct _DGMPoint * point, const _variant_t & index ) {
HRESULT _hr = raw_Add(point, index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _DGMPoints::Remove ( const _variant_t & index ) {
HRESULT _hr = raw_Remove(index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _DGMPoints::GetPoint ( long index, double * point ) {
HRESULT _hr = raw_GetPoint(index, point);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _DGMPoints::SetPoint ( long index, double * point ) {
HRESULT _hr = raw_SetPoint(index, point);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _DGMGeometry wrapper method implementations
//
inline _bstr_t _DGMGeometry::GetType ( ) {
BSTR _result;
HRESULT _hr = get_Type(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
//
// interface _DGMPointGeometry wrapper method implementations
//
inline _DGMPointPtr _DGMPointGeometry::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 _DGMPointGeometry::PutRefOrigin ( struct _DGMPoint * returnValue ) {
HRESULT _hr = putref_Origin(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface _DGMLineGeometry wrapper method implementations
//
inline _DGMPointPtr _DGMLineGeometry::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 _DGMLineGeometry::PutRefStart ( struct _DGMPoint * returnValue ) {
HRESULT _hr = putref_Start(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _DGMPointPtr _DGMLineGeometry::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 _DGMLineGeometry::PutRefEnd ( struct _DGMPoint * returnValue ) {
HRESULT _hr = putref_End(returnValue);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -