コード例 #1
0
 public FieldBaseMD(FieldBaseMD arg)
 //throws com.WDataSci.WDS.WDSException, Exception
 {
     this.Name            = new_String(arg.Name);
     this.DTyp            = arg.DTyp;
     this.StringMaxLength = arg.StringMaxLength;
     this.ByteMaxLength   = arg.ByteMaxLength;
     if (arg.HDF5DataType != null)
     {
         this.HDF5DataType = new WranglerHDF5().new_HDF5DataType(arg);
     }
 }
コード例 #2
0
        /* C# >>> */
        public FieldBaseMD MapToHDF5DataType(System.Int64 arg)
        /* <<< C# */

        /* Java >>> *
         * public FieldBaseMD MapToHDF5DataType(long arg)
         * throws com.WDataSci.WDS.WDSException, Exception
         * /* <<< Java */
        {
            this.HDF5DataType = new WranglerHDF5().new_HDF5DataType(arg);
            //this.HDF5DataType = new WranglerHDF5().HDF5DataType(arg);
            return(this);
        }
コード例 #3
0
 public void Copy(FieldBaseMD arg)
 //throws com.WDataSci.WDS.WDSException, Exception
 {
     this.Name            = new_String(arg.Name);
     this.DTyp            = arg.DTyp;
     this.StringMaxLength = arg.StringMaxLength;
     this.ByteMaxLength   = arg.ByteMaxLength;
     this.ByteMemLength   = arg.ByteMemLength;
     this.ByteMemOffset   = arg.ByteMemOffset;
     this.Format          = new_String(arg.Format);
     if (arg.HDF5DataType == null)
     {
         this.HDF5DataType = null;
     }
     else
     {
         this.HDF5DataType = new WranglerHDF5().new_HDF5DataType(arg);
     }
 }
コード例 #4
0
        public FieldBaseMD(String Name, int hclass, int hlength, int horder, int hsign)
        //throws com.WDataSci.WDS.WDSException, Exception
        {
            this.Name = new_String(Name);
            WranglerHDF5 tmp = new WranglerHDF5();

            this.HDF5DataType = tmp.new_HDF5DataType(hclass, hlength, horder, hsign);
            this.DTyp         = this.HDF5DataType.eDTyp();
            if (this.DTyp.equals(FieldMDEnums.eDTyp.Str))
            {
                this.StringMaxLength = hlength;
                this.ByteMaxLength   = 2 * hlength;
            }
            else if (this.DTyp.equals(FieldMDEnums.eDTyp.VLS))
            {
                this.StringMaxLength = Default.StringMaxLength;
                this.ByteMaxLength   = 2 * hlength;
            }
            else if (this.DTyp.equals(FieldMDEnums.eDTyp.Byt))
            {
                this.ByteMaxLength = hlength;
            }
        }
コード例 #5
0
 public FieldBaseMD MapToHDF5DataType(int hclass, int hlength, int horder, int hsign)
 //throws com.WDataSci.WDS.WDSException, Exception
 {
     this.HDF5DataType = new WranglerHDF5().new_HDF5DataType(hclass, hlength, horder, hsign);
     return(this);
 }
コード例 #6
0
 public FieldBaseMD MapToHDF5DataType(FieldMDEnums.eDTyp DTyp, int nStringMaxLength, Boolean anyVLen)
 //throws com.WDataSci.WDS.WDSException, Exception
 {
     this.HDF5DataType = new WranglerHDF5().new_HDF5DataType(DTyp, nStringMaxLength, anyVLen);
     return(this);
 }
コード例 #7
0
 public FieldBaseMD MapToHDF5DataType(FieldMDEnums.eDTyp DTyp)
 //throws com.WDataSci.WDS.WDSException, Exception
 {
     this.HDF5DataType = new WranglerHDF5().new_HDF5DataType(DTyp);
     return(this);
 }