Ice 3.7 Slice API Reference
FileParser.ice
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #pragma once
6 
7 [["cpp:dll-export:ICEGRID_API"]]
8 [["cpp:doxygen:include:IceGrid/IceGrid.h"]]
9 [["cpp:header-ext:h"]]
10 [["cpp:include:IceGrid/Config.h"]]
11 
12 [["ice-prefix"]]
13 
14 [["js:module:ice"]]
15 [["js:cjs-module"]]
16 
17 [["objc:dll-export:ICEGRID_API"]]
18 [["objc:header-dir:objc"]]
19 
20 [["python:pkgdir:IceGrid"]]
21 
22 #include <IceGrid/Admin.ice>
23 
24 #ifndef __SLICE2JAVA_COMPAT__
25 [["java:package:com.zeroc"]]
26 #endif
27 
28 ["objc:prefix:ICEGRID"]
29 module IceGrid
30 {
31 
37 exception ParseException
38 {
40  string reason;
41 }
42 
50 interface FileParser
51 {
52 
68  idempotent ApplicationDescriptor parse(string xmlFile, Admin* adminProxy)
69  throws ParseException;
70 }
71 
72 }
IceGrid::Admin
The IceGrid administrative interface.
Definition: Admin.ice:403
IceGrid::FileParser
icegridadmin provides a FileParser object to transform XML files into ApplicationDescriptor objects.
Definition: FileParser.ice:51
IceGrid::ParseException::reason
string reason
The reason for the failure.
Definition: FileParser.ice:40
IceGrid::ParseException
This exception is raised if an error occurs during parsing.
Definition: FileParser.ice:38
Admin.ice
IceGrid::ApplicationDescriptor
An application descriptor.
Definition: Descriptor.ice:797
IceGrid
Definition: Admin.ice:36
IceGrid::FileParser::parse
idempotent ApplicationDescriptor parse(string xmlFile, Admin *adminProxy)
Parse a file.