/usr/include/IceE/Object.h is in libicee-dev 1.2.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | // **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice-E is licensed to you under the terms described in the
// ICEE_LICENSE file included in this distribution.
//
// **********************************************************************
#ifndef ICEE_OBJECT_H
#define ICEE_OBJECT_H
#include <IceE/ObjectF.h>
#include <IceE/Current.h>
#include <IceE/DispatchStatus.h>
namespace IceInternal
{
class Incoming;
class BasicStream;
}
namespace Ice
{
class ICE_API Object : public IceUtil::Shared
{
public:
virtual bool operator==(const Object&) const;
virtual bool operator<(const Object&) const;
virtual Int ice_hash() const;
virtual bool ice_isA(const std::string&, const Current& = Current()) const;
IceInternal::DispatchStatus ___ice_isA(IceInternal::Incoming&, const Current&);
virtual void ice_ping(const Current& = Current()) const;
IceInternal::DispatchStatus ___ice_ping(IceInternal::Incoming&, const Current&);
virtual std::vector< std::string> ice_ids(const Current& = Current()) const;
IceInternal::DispatchStatus ___ice_ids(IceInternal::Incoming&, const Current&);
virtual const std::string& ice_id(const Current& = Current()) const;
IceInternal::DispatchStatus ___ice_id(IceInternal::Incoming&, const Current&);
static const std::string& ice_staticId();
virtual ObjectPtr ice_clone() const;
static std::string __all[];
virtual IceInternal::DispatchStatus __dispatch(IceInternal::Incoming&, const Current&);
protected:
Object() {};
virtual ~Object() {} // This class is abstract.
static void __checkMode(OperationMode expected, OperationMode received) // Inline for performance reasons.
{
if(expected != received)
{
__invalidMode(expected, received); // Not inlined.
}
}
static void __invalidMode(OperationMode, OperationMode);
};
class ICE_API Blobject : public Object
{
public:
// Returns true if ok, false if user exception.
virtual bool ice_invoke(const std::vector<Byte>&, std::vector<Byte>&, const Current&) = 0;
virtual IceInternal::DispatchStatus __dispatch(IceInternal::Incoming&, const Current&);
};
}
#endif
|