public class ByteDataSymbolicAccessReadConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ByteDataSymbolicAccessReadConfig.ZbnfResult |
Modifier and Type | Field and Description |
---|---|
ByteDataSymbolicAccess |
symAccess |
private static java.lang.String |
syntaxSymbolicDescrFile
This syntax describes the oam-variable-config-file.
|
static int |
versionStamp
Version, able to read as hex yyyymmdd.
|
Constructor and Description |
---|
ByteDataSymbolicAccessReadConfig() |
ByteDataSymbolicAccessReadConfig(ByteDataSymbolicAccess symAccess) |
Modifier and Type | Method and Description |
---|---|
int |
readVariableCfg(java.lang.String sFileCfg) |
int |
readVariableCfg(java.lang.String preName,
java.lang.String sFileCfg) |
public static final int versionStamp
ByteDataSymbolicAccess
because this ...ReadConfig has its own meaning. The config class need not have the "IS A" property to the ByteDataSymbolicAccess
.
It is better to have an extra organization of the access and the config.
readVariableCfg(String, String)
, supports more as one instances
with the same variable configuration, but from divergent sources. The variables should have a prefix.
public final ByteDataSymbolicAccess symAccess
private static final java.lang.String syntaxSymbolicDescrFile
binMirror/loadLock: Z @0.0x2; //a boolean value named "binMirror/loadLock" in byte 0 masked with 0x2 param/capbModulId.capId: B @734 +1 *96; //an array of bytes started from address 734, 96 * 1 byte
public ByteDataSymbolicAccessReadConfig()
public ByteDataSymbolicAccessReadConfig(ByteDataSymbolicAccess symAccess)
public int readVariableCfg(java.lang.String sFileCfg) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public int readVariableCfg(java.lang.String preName, java.lang.String sFileCfg) throws java.io.FileNotFoundException
java.io.FileNotFoundException