Added virtual to list

This commit is contained in:
Allen Byrne 2017-02-27 14:51:20 -06:00
parent 6cd6daf8f9
commit 8d909320bf
2 changed files with 8 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class H5Ex_D_Chunk {
// Values for the status of space allocation
enum H5D_layout {
H5D_LAYOUT_ERROR(-1), H5D_COMPACT(0), H5D_CONTIGUOUS(1), H5D_CHUNKED(2), H5D_NLAYOUTS(3);
H5D_LAYOUT_ERROR(-1), H5D_COMPACT(0), H5D_CONTIGUOUS(1), H5D_CHUNKED(2), H5D_VIRTUAL(3), H5D_NLAYOUTS(4);
private static final Map<Integer, H5D_layout> lookup = new HashMap<Integer, H5D_layout>();
static {
@ -250,6 +250,9 @@ public class H5Ex_D_Chunk {
case H5D_CHUNKED:
System.out.println("H5D_CHUNKED");
break;
case H5D_VIRTUAL:
System.out.println("H5D_VIRTUAL");
break;
case H5D_LAYOUT_ERROR:
break;
case H5D_NLAYOUTS:

View File

@ -38,7 +38,7 @@ public class H5Ex_D_Compact {
// Values for the status of space allocation
enum H5D_layout {
H5D_LAYOUT_ERROR(-1), H5D_COMPACT(0), H5D_CONTIGUOUS(1), H5D_CHUNKED(2), H5D_NLAYOUTS(3);
H5D_LAYOUT_ERROR(-1), H5D_COMPACT(0), H5D_CONTIGUOUS(1), H5D_CHUNKED(2), H5D_VIRTUAL(3), H5D_NLAYOUTS(4);
private static final Map<Integer, H5D_layout> lookup = new HashMap<Integer, H5D_layout>();
static {
@ -212,6 +212,9 @@ public class H5Ex_D_Compact {
case H5D_CHUNKED:
System.out.println("H5D_CHUNKED");
break;
case H5D_VIRTUAL:
System.out.println("H5D_VIRTUAL");
break;
case H5D_LAYOUT_ERROR:
break;
case H5D_NLAYOUTS: