Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ parse()

ApplicationDescriptor IceGrid::FileParserPrx::parse ( std::string_view xmlFile,
const std::optional< AdminPrx > & adminProxy,
const Ice::Context & context = Ice::noExplicitContext ) const

Parses a file.

Parameters
xmlFileThe full path to the file.
adminProxyAn IceGrid::AdminPrx proxy, used only to retrieve default templates when needed. May be null.
contextThe request context.
Returns
The application descriptor.
Exceptions
IceGrid::ParseExceptionThrown when an error occurs during parsing.