00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef OST_IO_JPK_UTIL_HH
00022 #define OST_IO_JPK_UTIL_HH
00023
00024 namespace ost { namespace io { namespace jpk_tags {
00025
00026 const static unsigned int SLOT_COUNT=0x8080;
00027 const static unsigned int DEFAULT_SLOT=0x8081;
00028 const static unsigned int GRID_REFLECT=0x8045;
00029 const static unsigned int GRID_U_LENGTH=0x8042;
00030 const static unsigned int GRID_V_LENGTH=0x8043;
00031
00032
00033 inline unsigned int ScalingVar1(unsigned int n)
00034 {
00035 return (0x80A4+(n)*0x30);
00036 }
00037
00038 inline unsigned int ScalingVar2(unsigned int n)
00039 {
00040 return (0x80A5+(n)* 0x30);
00041 }
00042
00043 inline unsigned int ScalingMultiply(unsigned int n)
00044 {
00045 return ScalingVar1(n);
00046 }
00047
00048 inline unsigned int SlotName(unsigned n)
00049 {
00050 return (0x8090+(n)*0x30);
00051 }
00052
00053 inline unsigned int ScalingOffset(unsigned int n)
00054 {
00055 return ScalingVar2(n);
00056 }
00057 inline unsigned int EncoderUnit(unsigned int n)
00058 {
00059 return (0x80A2+(n)*0x30);
00060 }
00061
00062
00063
00064 }}}
00065
00066 #endif