public static class JrpcgenEnum.Element extends JrpcgenConst
JrpcgenConst.TableJrpcgenXdrDefinition.Typedocumentation| Constructor and Description |
|---|
Element(JrpcgenContext context,
String identifier,
String value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsCaseValue(String forEnclosure)
Delivers a case value representation of the constant.
|
String |
getAsRValue(String forEnclosure)
Delivers an r-value representation of the constant.
|
void |
writeDeclaration(JrpcgenJavaFile javaFile) |
detectIdentifier, dump, dump, getAsCaseValue, getAsRValue, getAsRValue, getContext, getEnclosure, getForEnclosure, getValue, getValueAsRValue, resolveValue, setEnclosure, setValue, toStringgetIdentifier, getXdrType, isConst, isEnum, isStruct, isTypedef, isUnionappendDeprecatedOrNothing, appendDeprecatedOrNothing, documentationIsEmpty, documentationIsProvided, emptyDocumentation, getDocumentation, getIdentedDocu, getIdentedDocu, isDeprecated, writeDocumentation, writeDocumentationpublic Element(JrpcgenContext context, String identifier, String value)
public void writeDeclaration(JrpcgenJavaFile javaFile)
writeDeclaration in class JrpcgenConstpublic String getAsRValue(String forEnclosure)
JrpcgenConstThe passed enclosure name identifies the target enclosure (namespace), where the requested constant representation is intended to be used.
getAsRValue in class JrpcgenConstforEnclosure - The name of the target enclosure.public String getAsCaseValue(String forEnclosure)
JrpcgenConstThe passed enclosure name identifies the target enclosure (namespace), where the requested constant representation is intended to be used.
getAsCaseValue in class JrpcgenConstforEnclosure - The name of the target enclosure.Copyright © 2025. All rights reserved.