/usr/lib/ruby/vendor_ruby/IceGrid/FileParser.rb is in ruby-zeroc-ice 3.5.1-6.4ubuntu1.
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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | # **********************************************************************
#
# Copyright (c) 2003-2013 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.5.1
#
# <auto-generated>
#
# Generated from file `FileParser.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#
require 'Ice'
require 'IceGrid/Admin.rb'
module IceGrid
if not defined?(::IceGrid::ParseException)
class ParseException < Ice::UserException
def initialize(reason='')
@reason = reason
end
def to_s
'IceGrid::ParseException'
end
attr_accessor :reason
end
T_ParseException = ::Ice::__defineException('::IceGrid::ParseException', ParseException, false, nil, [["reason", ::Ice::T_string, false, 0]])
ParseException::ICE_TYPE = T_ParseException
end
if not defined?(::IceGrid::FileParser_mixin)
module FileParser_mixin
include ::Ice::Object_mixin
def ice_ids(current=nil)
['::Ice::Object', '::IceGrid::FileParser']
end
def ice_id(current=nil)
'::IceGrid::FileParser'
end
#
# Operation signatures.
#
# def parse(xmlFile, adminProxy, current=nil)
def inspect
::Ice::__stringify(self, T_FileParser)
end
end
class FileParser
include FileParser_mixin
def FileParser.ice_staticId()
'::IceGrid::FileParser'
end
end
module FileParserPrx_mixin
def parse(xmlFile, adminProxy, _ctx=nil)
FileParser_mixin::OP_parse.invoke(self, [xmlFile, adminProxy], _ctx)
end
end
class FileParserPrx < ::Ice::ObjectPrx
include FileParserPrx_mixin
def FileParserPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
ice_checkedCast(proxy, '::IceGrid::FileParser', facetOrCtx, _ctx)
end
def FileParserPrx.uncheckedCast(proxy, facet=nil)
ice_uncheckedCast(proxy, facet)
end
end
if not defined?(::IceGrid::T_FileParser)
T_FileParser = ::Ice::__declareClass('::IceGrid::FileParser')
T_FileParserPrx = ::Ice::__declareProxy('::IceGrid::FileParser')
end
T_FileParser.defineClass(FileParser, -1, true, false, nil, [], [])
FileParser_mixin::ICE_TYPE = T_FileParser
T_FileParserPrx.defineProxy(FileParserPrx, T_FileParser)
FileParserPrx::ICE_TYPE = T_FileParserPrx
FileParser_mixin::OP_parse = ::Ice::__defineOperation('parse', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0], [::IceGrid::T_AdminPrx, false, 0]], [], [::IceGrid::T_ApplicationDescriptor, false, 0], [::IceGrid::T_ParseException])
end
end
|