VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vpfIndexTable.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: vpfIndexTable.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef DtVpfIndextable_h
10 #define DtVpfIndextable_h
11 
14 
15 
16 #include <vector>
17 #include <fstream>
18 
19 #include <vlutil/vlString.h>
20 #include "vmap/vmapDefines.h"
21 
22 //forward defs
23 class DtVpfTable;
24 
26 {
27  int offset;
28  int length;
29 };
30 
32 {
33  //don't want these inadvertently copied
34  private:
35  DtVpfIndexTable(const DtVpfIndexTable& indexTable);
36  DtVpfIndexTable& operator=(const DtVpfIndexTable& indexTable);
37 
38  public:
40  ~DtVpfIndexTable();
41 
42  virtual const DtVpfIndexValue* index(const unsigned int indexNumber) const;
43  virtual int headerSize() const {return myDataTableHeaderSize;}
44  virtual int numberIndexes() const {return myNumberIndexes;}
45 
46  virtual bool readIndexFile();
47 
48  protected:
51  std::vector<DtVpfIndexValue> myIndexes;
53 
56 };
57 
58 #endif
59 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)