Class DBR

    • Field Detail

      • TYPE

        public static final DBRType TYPE
      • _count

        protected int _count
      • _value

        protected Object _value
    • Constructor Detail

      • DBR

        protected DBR​(Object value)
    • Method Detail

      • setValue

        protected void setValue​(Object value)
      • getType

        public DBRType getType()
      • getCount

        public int getCount()
      • getValue

        public Object getValue()
      • printInfo

        public void printInfo()
      • printInfo

        public void printInfo​(PrintStream out)
      • isBYTE

        public boolean isBYTE()
      • isSHORT

        public boolean isSHORT()
      • isINT

        public boolean isINT()
      • isFLOAT

        public boolean isFLOAT()
      • isDOUBLE

        public boolean isDOUBLE()
      • isSTRING

        public boolean isSTRING()
      • isENUM

        public boolean isENUM()
      • isSTS

        public boolean isSTS()
      • isGR

        public boolean isGR()
      • isCTRL

        public boolean isCTRL()
      • isLABELS

        public boolean isLABELS()
      • isTIME

        public boolean isTIME()
      • isPRECSION

        public boolean isPRECSION()
      • isBYTE

        public static boolean isBYTE​(DBR dbr)
      • isSHORT

        public static boolean isSHORT​(DBR dbr)
      • isINT

        public static boolean isINT​(DBR dbr)
      • isFLOAT

        public static boolean isFLOAT​(DBR dbr)
      • isDOUBLE

        public static boolean isDOUBLE​(DBR dbr)
      • isSTRING

        public static boolean isSTRING​(DBR dbr)
      • isENUM

        public static boolean isENUM​(DBR dbr)
      • isSTS

        public static boolean isSTS​(DBR dbr)
      • isGR

        public static boolean isGR​(DBR dbr)
      • isCTRL

        public static boolean isCTRL​(DBR dbr)
      • isLABELS

        public static boolean isLABELS​(DBR dbr)
      • isTIME

        public static boolean isTIME​(DBR dbr)
      • isPRECISION

        public static boolean isPRECISION​(DBR dbr)
      • printValue

        public static void printValue​(byte[] value)
        Helper method to print an array of byte as a comma separated list to the standard output stream.
        Parameters:
        value - the array to print.
      • printValue

        public static void printValue​(byte[] value,
                                      PrintStream out)
        Helper method to print an array of byte as a comma separated list to the specified output stream.
        Parameters:
        value - the array to print.
        out - the output stream.
      • printValue

        public static void printValue​(short[] value)
        Helper method to print an array of short as a comma separated list to the standard output stream.
        Parameters:
        value - the array to print.
      • printValue

        public static void printValue​(short[] value,
                                      PrintStream out)
        Helper method to print an array of short as a comma separated list to the specified output stream.
        Parameters:
        value - the array to print.
        out - the output stream.
      • printValue

        public static void printValue​(int[] value)
        Helper method to print an array of int as a comma separated list to the standard output stream.
        Parameters:
        value - the array to print.
      • printValue

        public static void printValue​(int[] value,
                                      PrintStream out)
        Helper method to print an array of int as a comma separated list to the specified output stream.
        Parameters:
        value - the array to print.
        out - the output stream.
      • printValue

        public static void printValue​(long[] value)
        Helper method to print an array of long as a comma separated list to the standard output stream.
        Parameters:
        value - the array to print.
      • printValue

        public static void printValue​(long[] value,
                                      PrintStream out)
        Helper method to print an array of long as a comma separated list to the specified output stream.
        Parameters:
        value - the array to print.
        out - the output stream.
      • printValue

        public static void printValue​(float[] value)
        Helper method to print an array of float as a comma separated list to the standard output stream.
        Parameters:
        value - the array to print.
      • printValue

        public static void printValue​(float[] value,
                                      PrintStream out)
        Helper method to print an array of float as a comma separated list to the specified output stream.
        Parameters:
        value - the array to print.
        out - the output stream.
      • printValue

        public static void printValue​(double[] value)
        Helper method to print an array of double as a comma separated list to the standard output stream.
        Parameters:
        value - the array to print.
      • printValue

        public static void printValue​(double[] value,
                                      PrintStream out)
        Helper method to print an array of double as a comma separated list to the specified output stream.
        Parameters:
        value - the array to print.
        out - the output stream.
      • printValue

        public static void printValue​(String[] value)
        Helper method to print an array of String as a comma separated list to the standard output stream.
        Parameters:
        value - the array to print.
      • printValue

        public static void printValue​(String[] value,
                                      PrintStream out)
        Helper method to print an array of String as a comma separated list to the specified output stream.
        Parameters:
        value - the array to print.
        out - the output stream.