public class DataDescriptor extends Object
Constructor and Description |
---|
DataDescriptor(short fxy,
BufrTableLookup lookup) |
Modifier and Type | Method and Description |
---|---|
float |
convert(long raw) |
static float |
convert(long raw,
int scale,
int refVal,
int bitWidth) |
boolean |
equals2(Object o) |
int |
getBitWidth() |
int |
getByteWidthCDM()
Get the number of bytes the CDM datatype will take
|
String |
getDesc() |
short |
getFxy() |
String |
getFxyName() |
String |
getName() |
int |
getRefVal() |
int |
getScale() |
String |
getSource() |
List<DataDescriptor> |
getSubKeys() |
int |
getTotalBits() |
int |
getType() |
String |
getUnits() |
int |
hashCode2() |
boolean |
isLocal() |
boolean |
isLocalOverride() |
boolean |
isOkForVariable() |
boolean |
isVarLength() |
String |
toString() |
static void |
transferInfo(List<DataDescriptor> fromList,
List<DataDescriptor> toList)
Transfer info from the "proto message" to another message with the exact same structure.
|
public DataDescriptor(short fxy, BufrTableLookup lookup)
public List<DataDescriptor> getSubKeys()
public boolean isOkForVariable()
public boolean isLocal()
public boolean isLocalOverride()
public String getFxyName()
public short getFxy()
public String getName()
public String getSource()
public int getType()
public int getScale()
public int getRefVal()
public String getUnits()
public String getDesc()
public float convert(long raw)
public static float convert(long raw, int scale, int refVal, int bitWidth)
public static void transferInfo(List<DataDescriptor> fromList, List<DataDescriptor> toList)
fromList
- transfer from heretoList
- to herepublic int getBitWidth()
public int getByteWidthCDM()
public int getTotalBits()
public boolean isVarLength()
public boolean equals2(Object o)
public int hashCode2()
Copyright © 1999–2016 UCAR/Unidata. All rights reserved.