Package | Description |
---|---|
org.acplt.oncrpc.apps.jrpcgen |
jrpcgen for ONC/RPC Java package.
|
Modifier and Type | Field and Description |
---|---|
JrpcgenDeclaration |
JrpcgenUnion.descriminant
JrpcgenDeclaration of descriminant element (containing its
identifier and data type). |
JrpcgenDeclaration |
JrpcgenUnionArm.element
Attribute element of descriminated arm (of class
JrpcgenDeclaration ). |
Modifier and Type | Method and Description |
---|---|
static org.acplt.oncrpc.apps.jrpcgen.JrpcgenEnDecodingInfo |
jrpcgen.baseEnDecodingSyllable(JrpcgenDeclaration decl)
Return the en-/decoding syllable XXX appropriate for a base data
type including arrays of base data types.
|
static String |
jrpcgen.codingMethod(JrpcgenDeclaration decl,
boolean encode)
Return en- or decoding method appropriate for a struct or union member.
|
static String |
jrpcgen.codingMethod(JrpcgenDeclaration decl,
boolean encode,
String oref)
Return en- or decoding method appropriate for a struct or union member.
|
static void |
jrpcgen.dumpTypedef(JrpcgenDeclaration d)
Generate a source code file containing a wrapper class for a typedef
defined in a x-file.
|
Constructor and Description |
---|
JrpcgenUnion(String identifier,
JrpcgenDeclaration descriminant,
Vector elements)
Constructs a
JrpcgenUnion and sets the identifier, the
descrimant element as well as all attribute elements. |
JrpcgenUnionArm(String value,
JrpcgenDeclaration element)
Constructs a
JrpcgenUnionArm and sets decrimated arm's
value and the associated attribute element. |
Copyright © 2015. All rights reserved.