~ubuntu-branches/ubuntu/utopic/adios/utopic

« back to all changes in this revision

Viewing changes to wrappers/java/gov/ornl/ccs/AdiosDatatype.java

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2013-12-09 15:21:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20131209152131-jtd4fpmdv3xnunnm
Tags: 1.5.0-1
* New upstream.
* Standards-Version: 3.9.5
* Include latest config.{sub,guess} 
* New watch file.
* Create libadios-bin for binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package gov.ornl.ccs;
 
2
 
 
3
public enum AdiosDatatype {
 
4
    UNKNOWN(-1)             /* (SIZE) */
 
5
    ,BYTE(0)                 /* (1) */
 
6
    ,SHORT(1)                /* (2) */
 
7
    ,INTEGER(2)              /* (4) */
 
8
    ,LONG(4)                 /* (8) */
 
9
    
 
10
    ,UNSIGNED_BYTE(50)       /* (1) */
 
11
    ,UNSIGNED_SHORT(51)      /* (2) */
 
12
    ,UNSIGNED_INTEGER(52)    /* (4) */
 
13
    ,UNSIGNED_LONG(54)       /* (8) */
 
14
    
 
15
    ,REAL(5)                 /* (4) */
 
16
    ,DOUBLE(6)               /* (8) */
 
17
    ,LONG_DOUBLE(7)          /* (16) */
 
18
    
 
19
    ,STRING(9)               /* (?) */
 
20
    ,COMPLEX(10)             /* (8) */
 
21
    ,DOUBLE_COMPLEX(11)      /* (16) */;
 
22
        
 
23
    private int code;
 
24
 
 
25
    AdiosDatatype(int code) {
 
26
        this.code = code;
 
27
    }
 
28
 
 
29
    public int getCode() {
 
30
        return this.code;
 
31
    }
 
32
}
 
33