// Path: src/main/java/org/tinspin/data/hdf5/HDF5BlockSNOD.java
// 	static class SymbolTableEntry extends HDF5Block {
// 		static final int SIZE = 40;
// 		
// 		//Link Name OffsetO
// 		long l0LinkNameOffsetO;
// 
// 		//Object Header AddressO
// 		int l8ObjectHeaderAddressO;
// 
// 		//Cache Type
// 		long i16CachedType;
// 		
// 		//Reserved (zero)
// 		long i20Zero;
// 
// 		//Scratch-pad Space (16 bytes)
// 		
// 		//CT 1: Address of B-treeO
// 		long l24ct1addressBTreeO;
// 
// 		//CT 1: Address of Name HeapO
// 		long l32ct1addressNameHeapO;
// 
// 		//CT 2: Offset to Link Value (4 bytes)
// 		long i24ct2offsetToLink;
// 		
// 		public SymbolTableEntry(int offset, int version) {
// 			super(offset, version);
// 		}
// 		
// 		@Override
// 		public String toString() {
// 			String ret =  
// 					"SymTE(" + getOffset() + ")" + Reader.L + 
// 					//Link Name OffsetO
// 					"LinkNameOffset=" + l0LinkNameOffsetO + Reader.L +
// 
// 					//Object Header AddressO
// 					"ObjectHeaderAddress=" + l8ObjectHeaderAddressO + Reader.L +
// 
// 					//Cache Type
// 					"CachedType=" + i16CachedType + Reader.L;
// 
// 			//Reserved (zero)
// 			//"Zero=" + i12Zero + Reader.L;
// 
// 			//Scratch-pad Space (16 bytes)
// 
// 			if (i16CachedType == 1) {
// 				ret +=
// 						//CT 1: Address of B-treeO
// 						"ct1addressBTreeO=" + l24ct1addressBTreeO + Reader.L + 
// 
// 						//CT 1: Address of Name HeapO
// 						"ct1addressNameHeapO=" + l32ct1addressNameHeapO;
// 			} else if (i16CachedType == 2) {
// 				ret +=
// 						//CT 2: Offset to Link Value (4 bytes)
// 						"ct2offsetToLink=" + i24ct2offsetToLink;
// 			}
// 			return ret;
// 		}
// 
// 		public int getOffsetTREE() {
// 			if (i16CachedType == 1) {
// 				return (int) l24ct1addressBTreeO;
// 			} else if (i16CachedType == 2) {
// //				ret +=
// //						//CT 2: Offset to Link Value (4 bytes)
// //						"ct2offsetToLink=" + i24ct2offsetToLink;
// 			}
// 			throw new UnsupportedOperationException();
// 		}
// 
// 		public int getOffsetHEAP() {
// 			if (i16CachedType == 1) {
// 				return (int) l32ct1addressNameHeapO;
// 			} else if (i16CachedType == 2) {
// //				ret +=
// //						//CT 2: Offset to Link Value (4 bytes)
// //						"ct2offsetToLink=" + i24ct2offsetToLink;
// 			}
// 			throw new UnsupportedOperationException();
// 		}
// 	}


import org.tinspin.data.hdf5.HDF5BlockSNOD.SymbolTableEntry;
/*
 * Copyright 2018 Tilmann Zäschke. All Rights Reserved.
 *
 * This software is the proprietary information of Tilmann Zäschke.
 * Use is subject to license terms.
 */
package org.tinspin.data.hdf5;


/**
 */
class HDF5BlockSBHeader extends HDF5Block {
	//Version # of Superblock
	//int b8sbVersion;
	//Version # of File's Free Space Storage
	int b9ffssVersion;
	//Version # of Root Group Symbol Table Entry 	
	int b10rgsteVersion;
	//Reserved (zero)
	int b11zero;
	//Version Number of Shared Header Message Format
	int b12nshmfVersion;
	//Size of Offsets 	
	int b13sizeOfOffsets;
	//Size of Lengths 	
	int b14sizeOfLength;
	//Reserved (zero)
	int b15zero;
	//b2 Group Leaf Node K
	int s16gLeafNodeK;
	//b2 Group Internal Node K
	int s18gIntNodeK;
	//b4 File Consistency Flags
	int i20fcf;
	//b2 Indexed Storage Internal Node K1
	int s24isIntNodeK;
	//b2 Reserved (zero)1
	int s26zero;
	//b8 Base AddressO
	long l28baseAddrO;
	//b8 Address of File Free space InfoO
	long l36addrFFSIO;
	//b8 End of File AddressO
	long l44eofAddrO;
	//b8 Driver Information Block AddressO
	long l52dibAddrO;
	//b4 Root Group Symbol Table Entry
	//int i60rootGSTE;
	//Root Group Symbol Table Entry
// Path: src/main/java/org/tinspin/data/hdf5/HDF5BlockSNOD.java
// 	static class SymbolTableEntry extends HDF5Block {
// 		static final int SIZE = 40;
// 		
// 		//Link Name OffsetO
// 		long l0LinkNameOffsetO;
// 
// 		//Object Header AddressO
// 		int l8ObjectHeaderAddressO;
// 
// 		//Cache Type
// 		long i16CachedType;
// 		
// 		//Reserved (zero)
// 		long i20Zero;
// 
// 		//Scratch-pad Space (16 bytes)
// 		
// 		//CT 1: Address of B-treeO
// 		long l24ct1addressBTreeO;
// 
// 		//CT 1: Address of Name HeapO
// 		long l32ct1addressNameHeapO;
// 
// 		//CT 2: Offset to Link Value (4 bytes)
// 		long i24ct2offsetToLink;
// 		
// 		public SymbolTableEntry(int offset, int version) {
// 			super(offset, version);
// 		}
// 		
// 		@Override
// 		public String toString() {
// 			String ret =  
// 					"SymTE(" + getOffset() + ")" + Reader.L + 
// 					//Link Name OffsetO
// 					"LinkNameOffset=" + l0LinkNameOffsetO + Reader.L +
// 
// 					//Object Header AddressO
// 					"ObjectHeaderAddress=" + l8ObjectHeaderAddressO + Reader.L +
// 
// 					//Cache Type
// 					"CachedType=" + i16CachedType + Reader.L;
// 
// 			//Reserved (zero)
// 			//"Zero=" + i12Zero + Reader.L;
// 
// 			//Scratch-pad Space (16 bytes)
// 
// 			if (i16CachedType == 1) {
// 				ret +=
// 						//CT 1: Address of B-treeO
// 						"ct1addressBTreeO=" + l24ct1addressBTreeO + Reader.L + 
// 
// 						//CT 1: Address of Name HeapO
// 						"ct1addressNameHeapO=" + l32ct1addressNameHeapO;
// 			} else if (i16CachedType == 2) {
// 				ret +=
// 						//CT 2: Offset to Link Value (4 bytes)
// 						"ct2offsetToLink=" + i24ct2offsetToLink;
// 			}
// 			return ret;
// 		}
// 
// 		public int getOffsetTREE() {
// 			if (i16CachedType == 1) {
// 				return (int) l24ct1addressBTreeO;
// 			} else if (i16CachedType == 2) {
// //				ret +=
// //						//CT 2: Offset to Link Value (4 bytes)
// //						"ct2offsetToLink=" + i24ct2offsetToLink;
// 			}
// 			throw new UnsupportedOperationException();
// 		}
// 
// 		public int getOffsetHEAP() {
// 			if (i16CachedType == 1) {
// 				return (int) l32ct1addressNameHeapO;
// 			} else if (i16CachedType == 2) {
// //				ret +=
// //						//CT 2: Offset to Link Value (4 bytes)
// //						"ct2offsetToLink=" + i24ct2offsetToLink;
// 			}
// 			throw new UnsupportedOperationException();
// 		}
// 	}


// Path: src/main/java/org/tinspin/data/hdf5/HDF5BlockSBHeader.java
import org.tinspin.data.hdf5.HDF5BlockSNOD.SymbolTableEntry;

/*
 * Copyright 2018 Tilmann Zäschke. All Rights Reserved.
 *
 * This software is the proprietary information of Tilmann Zäschke.
 * Use is subject to license terms.
 */
package org.tinspin.data.hdf5;


/**
 */
class HDF5BlockSBHeader extends HDF5Block {
	//Version # of Superblock
	//int b8sbVersion;
	//Version # of File's Free Space Storage
	int b9ffssVersion;
	//Version # of Root Group Symbol Table Entry 	
	int b10rgsteVersion;
	//Reserved (zero)
	int b11zero;
	//Version Number of Shared Header Message Format
	int b12nshmfVersion;
	//Size of Offsets 	
	int b13sizeOfOffsets;
	//Size of Lengths 	
	int b14sizeOfLength;
	//Reserved (zero)
	int b15zero;
	//b2 Group Leaf Node K
	int s16gLeafNodeK;
	//b2 Group Internal Node K
	int s18gIntNodeK;
	//b4 File Consistency Flags
	int i20fcf;
	//b2 Indexed Storage Internal Node K1
	int s24isIntNodeK;
	//b2 Reserved (zero)1
	int s26zero;
	//b8 Base AddressO
	long l28baseAddrO;
	//b8 Address of File Free space InfoO
	long l36addrFFSIO;
	//b8 End of File AddressO
	long l44eofAddrO;
	//b8 Driver Information Block AddressO
	long l52dibAddrO;
	//b4 Root Group Symbol Table Entry
	//int i60rootGSTE;
	//Root Group Symbol Table Entry
	SymbolTableEntry rootGroupSymbolTableEntry;