⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pcss.tli

📁 GemoMedia 应用 演示了其使用方法
💻 TLI
📖 第 1 页 / 共 5 页
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (9d76eb9d).
//
// PCSS.tli
//
// Wrapper implementations for Win32 type library D:\\program files\\GeoMedia Professional\\Program\\PCSS.tlb
// compiler-generated file created 12/05/06 at 15:52:35 - DO NOT EDIT!


//
// interface IGMProjAlgorithmStrings wrapper method implementations
//

#pragma implementation_key(1)
inline long IGMProjAlgorithmStrings::GetCount ( ) {
    long _result;
    HRESULT _hr = get_Count(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(2)
inline _bstr_t IGMProjAlgorithmStrings::Item ( long index ) {
    BSTR _result;
    HRESULT _hr = raw_Item(index, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(3)
inline IUnknownPtr IGMProjAlgorithmStrings::_NewEnum ( ) {
    IUnknown * _result;
    HRESULT _hr = raw__NewEnum(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IUnknownPtr(_result, false);
}

//
// dispinterface ProjAlgorithmStrings wrapper method implementations
//

#pragma implementation_key(4)
inline long ProjAlgorithmStrings::GetCount ( ) {
    long _result;
    _com_dispatch_method(this, 0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&_result, NULL);
    return _result;
}

#pragma implementation_key(5)
inline _bstr_t ProjAlgorithmStrings::Item ( long index ) {
    BSTR _result;
    _com_dispatch_method(this, 0x0, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0003", index);
    return _bstr_t(_result, false);
}

#pragma implementation_key(6)
inline IUnknownPtr ProjAlgorithmStrings::_NewEnum ( ) {
    IUnknown * _result;
    _com_dispatch_method(this, 0xfffffffc, DISPATCH_METHOD, VT_UNKNOWN, (void*)&_result, NULL);
    return IUnknownPtr(_result, false);
}

//
// interface IGMGeodeticDatumStrings wrapper method implementations
//

#pragma implementation_key(7)
inline long IGMGeodeticDatumStrings::GetCount ( ) {
    long _result;
    HRESULT _hr = get_Count(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(8)
inline _bstr_t IGMGeodeticDatumStrings::Item ( long index ) {
    BSTR _result;
    HRESULT _hr = raw_Item(index, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(9)
inline IUnknownPtr IGMGeodeticDatumStrings::_NewEnum ( ) {
    IUnknown * _result;
    HRESULT _hr = raw__NewEnum(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IUnknownPtr(_result, false);
}

//
// dispinterface GeodeticDatumStrings wrapper method implementations
//

#pragma implementation_key(10)
inline long GeodeticDatumStrings::GetCount ( ) {
    long _result;
    _com_dispatch_method(this, 0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&_result, NULL);
    return _result;
}

#pragma implementation_key(11)
inline _bstr_t GeodeticDatumStrings::Item ( long index ) {
    BSTR _result;
    _com_dispatch_method(this, 0x0, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0003", index);
    return _bstr_t(_result, false);
}

#pragma implementation_key(12)
inline IUnknownPtr GeodeticDatumStrings::_NewEnum ( ) {
    IUnknown * _result;
    _com_dispatch_method(this, 0xfffffffc, DISPATCH_METHOD, VT_UNKNOWN, (void*)&_result, NULL);
    return IUnknownPtr(_result, false);
}

//
// interface IGMEllipsoidStrings wrapper method implementations
//

#pragma implementation_key(13)
inline long IGMEllipsoidStrings::GetCount ( ) {
    long _result;
    HRESULT _hr = get_Count(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(14)
inline _bstr_t IGMEllipsoidStrings::Item ( long index ) {
    BSTR _result;
    HRESULT _hr = raw_Item(index, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(15)
inline IUnknownPtr IGMEllipsoidStrings::_NewEnum ( ) {
    IUnknown * _result;
    HRESULT _hr = raw__NewEnum(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IUnknownPtr(_result, false);
}

//
// dispinterface EllipsoidStrings wrapper method implementations
//

#pragma implementation_key(16)
inline long EllipsoidStrings::GetCount ( ) {
    long _result;
    _com_dispatch_method(this, 0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&_result, NULL);
    return _result;
}

#pragma implementation_key(17)
inline _bstr_t EllipsoidStrings::Item ( long index ) {
    BSTR _result;
    _com_dispatch_method(this, 0x0, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0003", index);
    return _bstr_t(_result, false);
}

#pragma implementation_key(18)
inline IUnknownPtr EllipsoidStrings::_NewEnum ( ) {
    IUnknown * _result;
    _com_dispatch_method(this, 0xfffffffc, DISPATCH_METHOD, VT_UNKNOWN, (void*)&_result, NULL);
    return IUnknownPtr(_result, false);
}

//
// interface IGMProjSpace wrapper method implementations
//

#pragma implementation_key(19)
inline _bstr_t IGMProjSpace::GetProjAlgorithmStr ( ) {
    BSTR _result;
    HRESULT _hr = get_ProjAlgorithmStr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(20)
inline void IGMProjSpace::PutProjAlgorithmStr ( _bstr_t pProjAlgorithmStr ) {
    HRESULT _hr = put_ProjAlgorithmStr(pProjAlgorithmStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(21)
inline enum CSProjectionAlgorithmConstants IGMProjSpace::GetProjAlgorithmVal ( ) {
    enum CSProjectionAlgorithmConstants _result;
    HRESULT _hr = get_ProjAlgorithmVal(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(22)
inline void IGMProjSpace::PutProjAlgorithmVal ( enum CSProjectionAlgorithmConstants pProjAlgorithmVal ) {
    HRESULT _hr = put_ProjAlgorithmVal(pProjAlgorithmVal);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(23)
inline _bstr_t IGMProjSpace::GetLonOfOrigStr ( ) {
    BSTR _result;
    HRESULT _hr = get_LonOfOrigStr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(24)
inline void IGMProjSpace::PutLonOfOrigStr ( _bstr_t pLonOfOrigStr ) {
    HRESULT _hr = put_LonOfOrigStr(pLonOfOrigStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(25)
inline double IGMProjSpace::GetLonOfOrig ( ) {
    double _result;
    HRESULT _hr = get_LonOfOrig(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(26)
inline void IGMProjSpace::PutLonOfOrig ( double pLonOfOrig ) {
    HRESULT _hr = put_LonOfOrig(pLonOfOrig);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(27)
inline _bstr_t IGMProjSpace::GetLatOfOrigStr ( ) {
    BSTR _result;
    HRESULT _hr = get_LatOfOrigStr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(28)
inline void IGMProjSpace::PutLatOfOrigStr ( _bstr_t pLatOfOrigStr ) {
    HRESULT _hr = put_LatOfOrigStr(pLatOfOrigStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(29)
inline double IGMProjSpace::GetLatOfOrig ( ) {
    double _result;
    HRESULT _hr = get_LatOfOrig(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(30)
inline void IGMProjSpace::PutLatOfOrig ( double pLatOfOrig ) {
    HRESULT _hr = put_LatOfOrig(pLatOfOrig);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(31)
inline _bstr_t IGMProjSpace::GetFalseXStr ( ) {
    BSTR _result;
    HRESULT _hr = get_FalseXStr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(32)
inline void IGMProjSpace::PutFalseXStr ( _bstr_t pFalseXStr ) {
    HRESULT _hr = put_FalseXStr(pFalseXStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(33)
inline double IGMProjSpace::GetFalseX ( ) {
    double _result;
    HRESULT _hr = get_FalseX(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(34)
inline void IGMProjSpace::PutFalseX ( double pFalseX ) {
    HRESULT _hr = put_FalseX(pFalseX);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(35)
inline _bstr_t IGMProjSpace::GetFalseYStr ( ) {
    BSTR _result;
    HRESULT _hr = get_FalseYStr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(36)
inline void IGMProjSpace::PutFalseYStr ( _bstr_t pFalseYStr ) {
    HRESULT _hr = put_FalseYStr(pFalseYStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(37)
inline double IGMProjSpace::GetFalseY ( ) {
    double _result;
    HRESULT _hr = get_FalseY(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(38)
inline void IGMProjSpace::PutFalseY ( double pFalseY ) {
    HRESULT _hr = put_FalseY(pFalseY);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(39)
inline _bstr_t IGMProjSpace::GetScaleReductFactStr ( ) {
    BSTR _result;
    HRESULT _hr = get_ScaleReductFactStr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(40)
inline void IGMProjSpace::PutScaleReductFactStr ( _bstr_t pScaleReductFactStr ) {
    HRESULT _hr = put_ScaleReductFactStr(pScaleReductFactStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(41)
inline double IGMProjSpace::GetScaleReductFactVal ( ) {
    double _result;
    HRESULT _hr = get_ScaleReductFactVal(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(42)
inline void IGMProjSpace::PutScaleReductFactVal ( double pScaleReductFactVal ) {
    HRESULT _hr = put_ScaleReductFactVal(pScaleReductFactVal);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(43)
inline _bstr_t IGMProjSpace::GetZoneStr ( ) {
    BSTR _result;
    HRESULT _hr = get_ZoneStr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(44)
inline void IGMProjSpace::PutZoneStr ( _bstr_t pZoneNumberStr ) {
    HRESULT _hr = put_ZoneStr(pZoneNumberStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(45)
inline long IGMProjSpace::GetZoneVal ( ) {
    long _result;
    HRESULT _hr = get_ZoneVal(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(46)
inline void IGMProjSpace::PutZoneVal ( long pZoneVal ) {
    HRESULT _hr = put_ZoneVal(pZoneVal);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(47)
inline _bstr_t IGMProjSpace::GetHemisphereStr ( ) {
    BSTR _result;
    HRESULT _hr = get_HemisphereStr(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(48)
inline void IGMProjSpace::PutHemisphereStr ( _bstr_t pHemisphereStr ) {
    HRESULT _hr = put_HemisphereStr(pHemisphereStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -