sourCEntral - mobile manpages

pdf

SLICE2FREEZEJ

NAME

slice2freezej − translate Slice to Freeze Java API

SYNOPSIS

slice2freezej [OPTIONS]... FILES...

DESCRIPTION

Slice to Freeze for Java compiler.

OPTIONS

Regardless of which Slice compiler you use, a number of command-line options are common to the compilers for any language mapping. The common command-line options are:
−h, −−help

Displays a help message.

−v, −−version

Displays the compiler version.

−DNAME

Defines the preprocessor symbol NAME.

−DNAME=DEF

Defines the preprocessor symbol NAME with the value DEF.

−UNAME

Undefines the preprocessor symbol NAME.

−IDIR

Add the directory DIR to the search path for #include directives.

The following options are specific to slice2freezej.
−−dict NAME,KEY,VALUE

Generate a Freeze dictionary (Java map) named NAME using KEY as key and VALUE as value. This option may be specified multiple times to generate several Freeze dictionaries. NAME may be a scoped Java name, such as Demo.Struct1ObjectMap.

−−dict−index DICT[,MEMBER][,case−sensitive|caseinsensitive]

Add an index to the Freeze dictionary named DICT. If MEMBER is specified, then the dictionary value type must be a structure or a class, and MEMBER must be a member of this structure or class. Otherwise, the entire value is indexed. When the indexed member (or entire value) is a string, the index can be case-sensitive (default) or case-insensitive. An index adds two methods to the generated Java map:

public Freeze.Map.Iterator findByMEMBER(MEMBER_TYPE) {...}
public int MEMBERCount(MEMBER_TYPE) {...}

When MEMBER is not specified, these functions are findbyValue and valueCount. When MEMBER is specified, its first letter is capitalized in the findBy function name. MEMBER_TYPE corresponds to an in-parameter of the type of MEMBER (or the type of the value when MEMBER is not specified). For example, if MEMBER is a string, MEMBER_TYPE is a java.lang.String.

−−index CLASS,TYPE,MEMBER[,case−sensitive|caseinsensitive]

Generate a Freeze Evictor Index (in Java). CLASS is the name of the class to be generated. TYPE denotes the type of class to be indexed (objects of different classes are not included in this index). MEMBER is the name of the data member in TYPE to index. When MEMBER has type string, it is possible to specify whether the index is case-sensitive or not. The default is case-sensitive.

COPYRIGHT

Copyright (C) 2003-2007 ZeroC, Inc.

This is free software distributed under the GNU GPL. See /usr/share/doc/slice2freezej/copyright for specific conditions.

SEE ALSO

Further information refer to Distributed Programming with Ice by Michi Henning, Mark Spruiell, et al. available as a PDF file in the non-free package zeroc-ice-manual.

pdf