亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? hello.cpp

?? 用ICE+MFC開發的一個示例程序.以向用戶演示ICE的初步應用.
?? CPP
字號:
// **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

// Ice version 3.2.1
// Generated from file `Hello.ice'

#include <Hello.h>
#include <Ice/LocalException.h>
#include <Ice/ObjectFactory.h>
#include <Ice/BasicStream.h>
#include <Ice/Object.h>
#include <IceUtil/Iterator.h>
#include <IceUtil/ScopedArray.h>

#ifndef ICE_IGNORE_VERSION
#   if ICE_INT_VERSION / 100 != 302
#       error Ice version mismatch!
#   endif
#   if ICE_INT_VERSION % 100 > 50
#       error Beta header file detected
#   endif
#   if ICE_INT_VERSION % 100 < 1
#       error Ice patch level mismatch!
#   endif
#endif

static const ::std::string __Demo__Hello__sayHello_name = "sayHello";

static const ::std::string __Demo__Hello__shutdown_name = "shutdown";

void
IceInternal::incRef(::Demo::Hello* p)
{
    p->__incRef();
}

void
IceInternal::decRef(::Demo::Hello* p)
{
    p->__decRef();
}

void
IceInternal::incRef(::IceProxy::Demo::Hello* p)
{
    p->__incRef();
}

void
IceInternal::decRef(::IceProxy::Demo::Hello* p)
{
    p->__decRef();
}

void
Demo::__write(::IceInternal::BasicStream* __os, const ::Demo::HelloPrx& v)
{
    __os->write(::Ice::ObjectPrx(v));
}

void
Demo::__read(::IceInternal::BasicStream* __is, ::Demo::HelloPrx& v)
{
    ::Ice::ObjectPrx proxy;
    __is->read(proxy);
    if(!proxy)
    {
        v = 0;
    }
    else
    {
        v = new ::IceProxy::Demo::Hello;
        v->__copyFrom(proxy);
    }
}

void
Demo::__write(::IceInternal::BasicStream* __os, const ::Demo::HelloPtr& v)
{
    __os->write(::Ice::ObjectPtr(v));
}

void
Demo::__addObject(const HelloPtr& p, ::IceInternal::GCCountMap& c)
{
    p->__addObject(c);
}

bool
Demo::__usesClasses(const HelloPtr& p)
{
    return p->__usesClasses();
}

void
Demo::__decRefUnsafe(const HelloPtr& p)
{
    p->__decRefUnsafe();
}

void
Demo::__clearHandleUnsafe(HelloPtr& p)
{
    p.__clearHandleUnsafe();
}

void
IceProxy::Demo::Hello::sayHello(::Ice::Int delay, const ::Ice::Context* __ctx)
{
    int __cnt = 0;
    while(true)
    {
        ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase;
        try
        {
            __delBase = __getDelegate();
            ::IceDelegate::Demo::Hello* __del = dynamic_cast< ::IceDelegate::Demo::Hello*>(__delBase.get());
            __del->sayHello(delay, __ctx);
            return;
        }
        catch(const ::IceInternal::LocalExceptionWrapper& __ex)
        {
            __handleExceptionWrapperRelaxed(__delBase, __ex, __cnt);
        }
        catch(const ::Ice::LocalException& __ex)
        {
            __handleException(__delBase, __ex, __cnt);
        }
    }
}

void
IceProxy::Demo::Hello::shutdown(const ::Ice::Context* __ctx)
{
    int __cnt = 0;
    while(true)
    {
        ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase;
        try
        {
            __delBase = __getDelegate();
            ::IceDelegate::Demo::Hello* __del = dynamic_cast< ::IceDelegate::Demo::Hello*>(__delBase.get());
            __del->shutdown(__ctx);
            return;
        }
        catch(const ::IceInternal::LocalExceptionWrapper& __ex)
        {
            __handleExceptionWrapper(__delBase, __ex);
        }
        catch(const ::Ice::LocalException& __ex)
        {
            __handleException(__delBase, __ex, __cnt);
        }
    }
}

const ::std::string&
IceProxy::Demo::Hello::ice_staticId()
{
    return ::Demo::Hello::ice_staticId();
}

::IceInternal::Handle< ::IceDelegateM::Ice::Object>
IceProxy::Demo::Hello::__createDelegateM()
{
    return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::Demo::Hello);
}

::IceInternal::Handle< ::IceDelegateD::Ice::Object>
IceProxy::Demo::Hello::__createDelegateD()
{
    return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::Demo::Hello);
}

bool
IceProxy::Demo::operator==(const ::IceProxy::Demo::Hello& l, const ::IceProxy::Demo::Hello& r)
{
    return static_cast<const ::IceProxy::Ice::Object&>(l) == static_cast<const ::IceProxy::Ice::Object&>(r);
}

bool
IceProxy::Demo::operator!=(const ::IceProxy::Demo::Hello& l, const ::IceProxy::Demo::Hello& r)
{
    return static_cast<const ::IceProxy::Ice::Object&>(l) != static_cast<const ::IceProxy::Ice::Object&>(r);
}

bool
IceProxy::Demo::operator<(const ::IceProxy::Demo::Hello& l, const ::IceProxy::Demo::Hello& r)
{
    return static_cast<const ::IceProxy::Ice::Object&>(l) < static_cast<const ::IceProxy::Ice::Object&>(r);
}

bool
IceProxy::Demo::operator<=(const ::IceProxy::Demo::Hello& l, const ::IceProxy::Demo::Hello& r)
{
    return l < r || l == r;
}

bool
IceProxy::Demo::operator>(const ::IceProxy::Demo::Hello& l, const ::IceProxy::Demo::Hello& r)
{
    return !(l < r) && !(l == r);
}

bool
IceProxy::Demo::operator>=(const ::IceProxy::Demo::Hello& l, const ::IceProxy::Demo::Hello& r)
{
    return !(l < r);
}

void
IceDelegateM::Demo::Hello::sayHello(::Ice::Int delay, const ::Ice::Context* __context)
{
    ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __Demo__Hello__sayHello_name, ::Ice::Idempotent, __context, __compress);
    try
    {
        ::IceInternal::BasicStream* __os = __og.os();
        __os->write(delay);
    }
    catch(const ::Ice::LocalException& __ex)
    {
        __og.abort(__ex);
    }
    bool __ok = __og.invoke();
    try
    {
        ::IceInternal::BasicStream* __is = __og.is();
        if(!__ok)
        {
            try
            {
                __is->throwException();
            }
            catch(const ::Ice::UserException& __ex)
            {
                throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
            }
        }
    }
    catch(const ::Ice::LocalException& __ex)
    {
        throw ::IceInternal::LocalExceptionWrapper(__ex, false);
    }
}

void
IceDelegateM::Demo::Hello::shutdown(const ::Ice::Context* __context)
{
    ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __Demo__Hello__shutdown_name, ::Ice::Normal, __context, __compress);
    bool __ok = __og.invoke();
    try
    {
        ::IceInternal::BasicStream* __is = __og.is();
        if(!__ok)
        {
            try
            {
                __is->throwException();
            }
            catch(const ::Ice::UserException& __ex)
            {
                throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
            }
        }
    }
    catch(const ::Ice::LocalException& __ex)
    {
        throw ::IceInternal::LocalExceptionWrapper(__ex, false);
    }
}

void
IceDelegateD::Demo::Hello::sayHello(::Ice::Int delay, const ::Ice::Context* __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __Demo__Hello__sayHello_name, ::Ice::Idempotent, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        try
        {
            ::Demo::Hello* __servant = dynamic_cast< ::Demo::Hello*>(__direct.servant().get());
            if(!__servant)
            {
                ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
                __opEx.id = __current.id;
                __opEx.facet = __current.facet;
                __opEx.operation = __current.operation;
                throw __opEx;
            }
            try
            {
                __servant->sayHello(delay, __current);
            }
            catch(const ::Ice::LocalException& __ex)
            {
                throw ::IceInternal::LocalExceptionWrapper(__ex, false);
            }
        }
        catch(...)
        {
            __direct.destroy();
            throw;
        }
        __direct.destroy();
        return;
    }
}

void
IceDelegateD::Demo::Hello::shutdown(const ::Ice::Context* __context)
{
    ::Ice::Current __current;
    __initCurrent(__current, __Demo__Hello__shutdown_name, ::Ice::Normal, __context);
    while(true)
    {
        ::IceInternal::Direct __direct(__current);
        try
        {
            ::Demo::Hello* __servant = dynamic_cast< ::Demo::Hello*>(__direct.servant().get());
            if(!__servant)
            {
                ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__);
                __opEx.id = __current.id;
                __opEx.facet = __current.facet;
                __opEx.operation = __current.operation;
                throw __opEx;
            }
            try
            {
                __servant->shutdown(__current);
            }
            catch(const ::Ice::LocalException& __ex)
            {
                throw ::IceInternal::LocalExceptionWrapper(__ex, false);
            }
        }
        catch(...)
        {
            __direct.destroy();
            throw;
        }
        __direct.destroy();
        return;
    }
}

::Ice::ObjectPtr
Demo::Hello::ice_clone() const
{
    throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
    return 0; // to avoid a warning with some compilers
}

static const ::std::string __Demo__Hello_ids[2] =
{
    "::Demo::Hello",
    "::Ice::Object"
};

bool
Demo::Hello::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
{
    return ::std::binary_search(__Demo__Hello_ids, __Demo__Hello_ids + 2, _s);
}

::std::vector< ::std::string>
Demo::Hello::ice_ids(const ::Ice::Current&) const
{
    return ::std::vector< ::std::string>(&__Demo__Hello_ids[0], &__Demo__Hello_ids[2]);
}

const ::std::string&
Demo::Hello::ice_id(const ::Ice::Current&) const
{
    return __Demo__Hello_ids[0];
}

const ::std::string&
Demo::Hello::ice_staticId()
{
    return __Demo__Hello_ids[0];
}

::IceInternal::DispatchStatus
Demo::Hello::___sayHello(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) const
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::Ice::Int delay;
    __is->read(delay);
    sayHello(delay, __current);
    return ::IceInternal::DispatchOK;
}

::IceInternal::DispatchStatus
Demo::Hello::___shutdown(::IceInternal::Incoming&, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    shutdown(__current);
    return ::IceInternal::DispatchOK;
}

static ::std::string __Demo__Hello_all[] =
{
    "ice_id",
    "ice_ids",
    "ice_isA",
    "ice_ping",
    "sayHello",
    "shutdown"
};

::IceInternal::DispatchStatus
Demo::Hello::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
{
    ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__Demo__Hello_all, __Demo__Hello_all + 6, current.operation);
    if(r.first == r.second)
    {
        return ::IceInternal::DispatchOperationNotExist;
    }

    switch(r.first - __Demo__Hello_all)
    {
        case 0:
        {
            return ___ice_id(in, current);
        }
        case 1:
        {
            return ___ice_ids(in, current);
        }
        case 2:
        {
            return ___ice_isA(in, current);
        }
        case 3:
        {
            return ___ice_ping(in, current);
        }
        case 4:
        {
            return ___sayHello(in, current);
        }
        case 5:
        {
            return ___shutdown(in, current);
        }
    }

    assert(false);
    return ::IceInternal::DispatchOperationNotExist;
}

void
Demo::Hello::__write(::IceInternal::BasicStream* __os) const
{
    __os->writeTypeId(ice_staticId());
    __os->startWriteSlice();
    __os->endWriteSlice();
#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
    Object::__write(__os);
#else
    ::Ice::Object::__write(__os);
#endif
}

void
Demo::Hello::__read(::IceInternal::BasicStream* __is, bool __rid)
{
    if(__rid)
    {
        ::std::string myId;
        __is->readTypeId(myId);
    }
    __is->startReadSlice();
    __is->endReadSlice();
#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
    Object::__read(__is, true);
#else
    ::Ice::Object::__read(__is, true);
#endif
}

void
Demo::Hello::__write(const ::Ice::OutputStreamPtr&) const
{
    Ice::MarshalException ex(__FILE__, __LINE__);
    ex.reason = "type Demo::Hello was not generated with stream support";
    throw ex;
}

void
Demo::Hello::__read(const ::Ice::InputStreamPtr&, bool)
{
    Ice::MarshalException ex(__FILE__, __LINE__);
    ex.reason = "type Demo::Hello was not generated with stream support";
    throw ex;
}

void 
Demo::__patch__HelloPtr(void* __addr, ::Ice::ObjectPtr& v)
{
    ::Demo::HelloPtr* p = static_cast< ::Demo::HelloPtr*>(__addr);
    assert(p);
    *p = ::Demo::HelloPtr::dynamicCast(v);
    if(v && !*p)
    {
        ::Ice::UnexpectedObjectException e(__FILE__, __LINE__);
        e.type = v->ice_id();
        e.expectedType = ::Demo::Hello::ice_staticId();
        throw e;
    }
}

bool
Demo::operator==(const ::Demo::Hello& l, const ::Demo::Hello& r)
{
    return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
}

bool
Demo::operator!=(const ::Demo::Hello& l, const ::Demo::Hello& r)
{
    return static_cast<const ::Ice::Object&>(l) != static_cast<const ::Ice::Object&>(r);
}

bool
Demo::operator<(const ::Demo::Hello& l, const ::Demo::Hello& r)
{
    return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
}

bool
Demo::operator<=(const ::Demo::Hello& l, const ::Demo::Hello& r)
{
    return l < r || l == r;
}

bool
Demo::operator>(const ::Demo::Hello& l, const ::Demo::Hello& r)
{
    return !(l < r) && !(l == r);
}

bool
Demo::operator>=(const ::Demo::Hello& l, const ::Demo::Hello& r)
{
    return !(l < r);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一二三专区| 国产精品三级av在线播放| 国产电影一区二区三区| 午夜影院久久久| 亚洲综合av网| 亚洲一级不卡视频| 日本人妖一区二区| 久久国产视频网| 国产美女久久久久| 成人免费毛片高清视频| 成人久久18免费网站麻豆| 成人av免费网站| 在线欧美一区二区| 666欧美在线视频| 久久亚洲综合av| 国产精品乱码一区二区三区软件| 国产一区二区三区四| 国产精品综合一区二区三区| 国产一二三精品| 一本久久综合亚洲鲁鲁五月天 | 国产一区二区导航在线播放| 国产精品香蕉一区二区三区| 99麻豆久久久国产精品免费 | 欧美理论电影在线| 精品奇米国产一区二区三区| 国产色产综合色产在线视频| 自拍偷拍国产精品| 另类调教123区| 成人av电影免费在线播放| 欧美体内she精视频| 日韩免费性生活视频播放| 在线综合视频播放| 久久久久久免费网| 亚洲欧洲中文日韩久久av乱码| 日韩二区三区四区| 成人精品一区二区三区中文字幕| 欧美性猛交xxxx乱大交退制版| www国产亚洲精品久久麻豆| 国产精品成人免费在线| 麻豆成人综合网| 91亚洲精品久久久蜜桃| 精品国产a毛片| 亚洲综合丝袜美腿| 丁香啪啪综合成人亚洲小说| 欧美精品自拍偷拍动漫精品| 国产欧美日韩精品一区| 免费人成精品欧美精品| 色综合婷婷久久| 国产精品网站导航| 国产综合久久久久影院| 欧美日韩精品一区二区三区四区| 国产精品美女久久久久aⅴ国产馆| 日韩经典中文字幕一区| 色哟哟欧美精品| 中文一区在线播放| 国产在线视视频有精品| 91精品国产综合久久香蕉的特点 | 日本高清不卡视频| 日韩美女啊v在线免费观看| 国产真实乱偷精品视频免| 在线观看不卡一区| 亚洲激情一二三区| 色综合久久六月婷婷中文字幕| 久久久亚洲高清| 精品一区二区三区的国产在线播放| 欧美色视频一区| 亚洲精品久久嫩草网站秘色| 95精品视频在线| 中文字幕在线一区| 国产成人夜色高潮福利影视| 久久人人爽爽爽人久久久| 免费观看在线综合色| 欧美一区二区国产| 青青青伊人色综合久久| 日韩色视频在线观看| 人人超碰91尤物精品国产| 欧美一级日韩不卡播放免费| 日韩av中文字幕一区二区三区| 欧美日韩国产经典色站一区二区三区 | 中文字幕在线不卡一区二区三区| 丁香天五香天堂综合| 国产精品天干天干在观线| 国产91露脸合集magnet| 国产精品久久久久久亚洲毛片 | 亚洲欧美日韩国产手机在线| 99re在线精品| 亚洲一区二区在线视频| 欧美色图激情小说| 麻豆一区二区三区| 国产日韩av一区| 91麻豆国产香蕉久久精品| 一区二区三区精品视频在线| 欧美蜜桃一区二区三区| 久久狠狠亚洲综合| 国产精品乱子久久久久| 色乱码一区二区三区88| 日韩影视精彩在线| 久久久久久一二三区| 91亚洲午夜精品久久久久久| 五月天亚洲婷婷| 久久久精品tv| 91福利国产成人精品照片| 日韩在线一区二区| 国产精品视频在线看| 欧美天天综合网| 激情文学综合丁香| 日韩美女视频一区二区| 欧美精品少妇一区二区三区| 国产成人在线观看免费网站| 亚洲一区欧美一区| 欧美激情在线免费观看| 欧美日韩色一区| 国产成人av一区二区三区在线观看| 亚洲精品日日夜夜| 日韩欧美国产三级| 色综合 综合色| 国产精品香蕉一区二区三区| 亚洲一区二区三区四区五区中文 | 天堂av在线一区| 国产精品国产三级国产三级人妇 | 亚洲丝袜精品丝袜在线| 精品噜噜噜噜久久久久久久久试看| av高清不卡在线| 精品一区二区免费视频| 午夜精品国产更新| 亚洲欧美国产三级| 亚洲国产精品二十页| 精品国产网站在线观看| 欧美午夜电影一区| www.欧美色图| 成人永久aaa| 国产黄色精品视频| 久久99国内精品| 免费视频一区二区| 亚洲二区在线观看| 亚洲精品你懂的| 亚洲欧美自拍偷拍| 国产精品日日摸夜夜摸av| 精品日韩在线一区| 欧美一级一级性生活免费录像| 欧美亚洲高清一区二区三区不卡| 国产成人免费视| 国产精品一线二线三线| 精品一区二区免费看| 蜜臀久久99精品久久久画质超高清| 亚洲一区二区综合| 亚洲综合av网| 午夜私人影院久久久久| 亚洲综合色噜噜狠狠| 亚洲精品国产一区二区精华液 | 色88888久久久久久影院野外| 成人avav在线| av影院午夜一区| 97se亚洲国产综合自在线观| av一区二区三区四区| 色综合久久天天| 欧美视频在线观看一区二区| 欧美日韩一区国产| 欧美日韩在线亚洲一区蜜芽| 欧美视频在线播放| 欧美高清一级片在线| 3d动漫精品啪啪一区二区竹菊 | 国产福利视频一区二区三区| 国产成人午夜高潮毛片| 99精品偷自拍| 欧美亚洲一区三区| 欧美一卡二卡在线| 久久久亚洲欧洲日产国码αv| 国产女主播在线一区二区| 亚洲欧美中日韩| 午夜激情综合网| 乱一区二区av| 白白色亚洲国产精品| 精品视频一区 二区 三区| 91麻豆精品国产91久久久资源速度| 日韩三级av在线播放| 国产日韩精品视频一区| 一个色综合网站| 蜜桃久久久久久久| 懂色av一区二区三区免费看| 欧美午夜理伦三级在线观看| 日韩一区国产二区欧美三区| 国产精品亲子乱子伦xxxx裸| 亚洲精品高清在线| 九色|91porny| 欧美系列日韩一区| 久久综合九色综合欧美亚洲| 亚洲精品国产a久久久久久| 精品一区二区三区在线观看国产| 成人av资源站| 日韩免费视频一区| 亚洲男同1069视频| 精品一区二区三区在线播放| 色综合中文字幕| 久久久久国产免费免费| 亚洲国产精品麻豆| 成人小视频免费在线观看| 91.成人天堂一区| 亚洲欧美怡红院| 国产麻豆精品视频|