手册页部分 1: 用户命令

退出打印视图

更新时间: 2014 年 7 月
 
 

radadrgen(1)

名称

radadrgen - code generator

用法概要

radadrgen [-h] [-d DIRECTORY] [-k] -l {c,java,jmx,python} -s
                   {client,server}
                   adr

描述

The radadrgen command is the ADR IDL processing tool. It may be used to generate language bindings for RAD client or server implementations.

All invocations validate the given document against the ADR schema.

选项

The following options are supported:

–h, –-help

Shows the help message and exits.

–d DIRECTORY, –-directory DIRECTORY

Specifies an output directory. If none is specified, the current directory is used.

–k, –-keep

Does not overwrite the existing output. If this flag is not specified, radadrgen will over-write the existing output files.

–l {c,java,jmx,python}, –-language {c,java,jmx,python}

Specifies the language for which bindings should be generated. The list of supported languages (for both client and server side) is present in the help message.


注 -  Not all language/side options are supported. Attempting to invoke an unsupported combination will result in an error message.
–s {client,server}, –-side {client,server}

Specifies whether bindings should be generated for server side (skeleton) implementation or client side (stub).


注 -  Not all language/side options are supported. Attempting to invoke an unsupported combination will result in an error message.

操作数

The following operand must be specified on the command line:

adr

The path to the API specification for which type and interface definitions must be generated.

文件

/usr/share/lib/xml/rng/radadr.rng.1

The core ADR RelaxNG schema definition.

/usr/share/lib/xml/rng/radadr-doc.rng.1

The ADR RelaxNG schema definition for documentation elements.

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/management/rad
Interface Stability
Private

另请参见

rad(1M), attributes(5)