亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
一区二区三区小说| 国产成人亚洲综合色影视| 日韩在线卡一卡二| 国产98色在线|日韩| 日韩午夜三级在线| 亚洲自拍偷拍网站| 91精品福利视频| 国产精品情趣视频| 国产呦精品一区二区三区网站| 在线视频欧美精品| 1024成人网色www| 成人高清免费观看| 欧美激情资源网| 狠狠狠色丁香婷婷综合激情| 91精品国产综合久久久久久久久久| 亚洲日本在线视频观看| av动漫一区二区| 中文字幕一区二区三区视频| 国产成人av影院| 久久男人中文字幕资源站| 麻豆精品久久精品色综合| 欧美一区二区三区免费在线看| 亚洲一区在线免费观看| 色哟哟国产精品| 亚洲综合视频在线观看| 色妞www精品视频| 亚洲欧美日韩国产手机在线| 在线电影欧美成精品| 亚洲成人激情自拍| 欧美日韩美女一区二区| 亚洲高清在线视频| 欧美久久久久久久久中文字幕| 午夜精品久久久久久久| 正在播放亚洲一区| 蜜桃视频在线观看一区| 日韩欧美的一区| 国产在线日韩欧美| 久久九九99视频| av一区二区三区在线| 亚洲色图欧美偷拍| 91福利在线导航| 亚瑟在线精品视频| 欧美成人女星排名| 国产伦精品一区二区三区在线观看| 精品久久久久一区| 高清国产午夜精品久久久久久| 中文字幕成人在线观看| 99久久777色| 日日夜夜精品视频免费| 欧美精品一区二区三区很污很色的 | 91香蕉视频黄| 亚洲综合另类小说| 欧美大黄免费观看| 成人网在线免费视频| 亚洲自拍偷拍麻豆| 精品国产乱码久久久久久影片| 国产精品亚洲成人| 亚洲最快最全在线视频| 欧美成人三级在线| 91香蕉视频污在线| 麻豆精品视频在线| 亚洲免费观看高清| 精品久久久久久久久久久久包黑料| 国产激情一区二区三区四区 | 欧美吻胸吃奶大尺度电影| 日本视频免费一区| 国产精品无圣光一区二区| 91看片淫黄大片一级| 毛片不卡一区二区| 亚洲精品视频免费看| 精品粉嫩aⅴ一区二区三区四区| 91蜜桃在线观看| 麻豆精品视频在线观看免费 | 国产精品欧美极品| 欧洲激情一区二区| 91麻豆精品一区二区三区| 亚洲国产欧美另类丝袜| 精品国产污污免费网站入口| 欧美亚洲精品一区| 丰满岳乱妇一区二区三区| 日韩激情一区二区| 亚洲欧美色图小说| 日本一区二区三区高清不卡| 欧美日本不卡视频| 91在线免费视频观看| 麻豆国产欧美日韩综合精品二区 | 中文字幕av一区二区三区高| 7777精品伊人久久久大香线蕉的 | 国产高清成人在线| 免费三级欧美电影| 亚洲成人av一区二区三区| 亚洲精品视频在线看| 国产精品久久一级| 久久精品综合网| 2021国产精品久久精品| 欧美一二三区精品| 欧美一级二级三级蜜桃| 欧美日韩一区中文字幕| 欧美体内she精高潮| 91麻豆精东视频| 不卡视频在线观看| 成人av网址在线| 丁香婷婷综合色啪| 丁香激情综合五月| 国产精品中文字幕日韩精品| 经典三级视频一区| 精品亚洲国内自在自线福利| 蜜桃一区二区三区在线| 日韩电影在线观看电影| 天天影视网天天综合色在线播放| 亚洲自拍偷拍综合| 亚洲国产成人av网| 亚洲成人av福利| 丝袜亚洲精品中文字幕一区| 亚洲3atv精品一区二区三区| 亚洲国产aⅴ成人精品无吗| 亚洲一区二区三区中文字幕在线| 亚洲自拍偷拍麻豆| 日韩精品视频网| 美脚の诱脚舐め脚责91| 国产高清成人在线| 成人黄页在线观看| 成人av在线一区二区三区| 色综合久久久久| 欧美人动与zoxxxx乱| 亚洲视频中文字幕| 亚洲最新视频在线观看| 五月婷婷色综合| 久久精品国产亚洲一区二区三区| 另类小说一区二区三区| 国模冰冰炮一区二区| 国产69精品一区二区亚洲孕妇| 成人av网站在线观看| 欧美视频在线一区| 精品动漫一区二区三区在线观看| 日本一区二区高清| 一区二区在线观看免费| 日韩av一级电影| 成人午夜av电影| 欧美日韩成人在线一区| 久久人人97超碰com| 亚洲欧美另类在线| 精品一区二区免费视频| 91视频91自| 欧美一区二区免费| 国产精品的网站| 国产喂奶挤奶一区二区三区| 免费在线欧美视频| 久草这里只有精品视频| 成人丝袜18视频在线观看| 色婷婷精品久久二区二区蜜臂av| 欧美一级一级性生活免费录像| 久久久久久久综合日本| 亚洲大片精品永久免费| 国产99一区视频免费| 欧美日韩大陆一区二区| 欧美国产精品久久| 午夜精品久久久久久久99水蜜桃| 国产精品一二三| 欧美性色欧美a在线播放| 亚洲激情av在线| 国产精品一区二区久久精品爱涩| 91福利小视频| 国产精品亲子乱子伦xxxx裸| 日韩成人免费电影| 91久久国产综合久久| 亚洲国产精品t66y| 久久99国产精品麻豆| 欧美三区在线视频| 亚洲狼人国产精品| 成人听书哪个软件好| 26uuu另类欧美| 天天亚洲美女在线视频| 在线中文字幕一区| 国产精品的网站| 国产91丝袜在线18| 久久色.com| 日韩精品视频网站| 在线电影一区二区三区| 亚洲黄色av一区| 一本在线高清不卡dvd| 国产精品欧美久久久久无广告| 国产精品88888| 久久亚洲影视婷婷| 麻豆成人av在线| 69精品人人人人| 三级欧美韩日大片在线看| 欧美网站一区二区| 午夜久久久久久久久| 欧洲一区二区三区免费视频| 亚洲视频 欧洲视频| 成人av在线资源| 国产精品国产三级国产aⅴ入口| 国产乱码精品一区二区三区五月婷 | 黄网站免费久久| 精品久久久久久久久久久久久久久久久 | 三级亚洲高清视频| 欧美日韩成人综合在线一区二区| 亚洲最大的成人av| 欧美色欧美亚洲另类二区|