VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dfadUtilities.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2002 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: dfad_util.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef __DFADUITL
10 #define __DFADUTIL
11 
12 // Class to read 36 bits words coming from dfad format.
13 #include "dted/dtedDefines.h"
14 #include <vlutil/vlMachineTypes.h>
15 
17 {
18 
19 public:
20 
21  DtBitData();
22 
23  void set(unsigned char value);
24  bool sign(int bit);
25  int val(int from, int to, int acum);
26 
27 protected:
28 
29  struct stByte
30  {
31  unsigned char b1 : 1;
32  unsigned char b2 : 1;
33  unsigned char b3 : 1;
34  unsigned char b4 : 1;
35  unsigned char b5 : 1;
36  unsigned char b6 : 1;
37  unsigned char b7 : 1;
38  unsigned char b8 : 1;
39  };
40 
42 };
43 
44 #endif
Definition: dfadUtilities.h:16
#define DT_DLL_dted
Definition: dtedDefines.h:23
stByte myByte
Definition: dfadUtilities.h:41
Definition: dfadUtilities.h:29

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)