VR-Exchange 2.1 API Documentation
vrxRecordSetList.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #pragma once
11 
12 #include <vl/hostStructs.h>
13 #include <portal/vrxRecordSet.h>
14 
15 namespace MAKVrExchange {
16 
17 
18 
22 #define DtSUPPLY_VALID 1
23 #define DtSUPPLY_BAD_INDEX 0
24 
27  typedef struct
28  {
29  DtNetEntityType DtSupply;
30  DtNetFloat32 DtQuantity;
32 
37 {
38 
39  public:
40 
43 
46 
48  virtual ~DtVrxRecordSetList();
49 
51  DtVrxRecordSetList &operator=(const DtVrxRecordSetList &orig);
52 
54  int operator==(const DtVrxRecordSetList &other) const;
55  int operator!=(const DtVrxRecordSetList &other) const;
56 
59  virtual void setNumRecordSets(int num);
60  virtual int numRecordSets() const;
61 
63  virtual bool setRecordSet(int index,
64  const DtVrxRecordSet &des);
65 
68  virtual const DtVrxRecordSet &recordSet(
69  int index, bool *valid = NULL) const;
70 
72  virtual void print() const;
73 
74  virtual void printDataToStream(std::ostream& stream) const;
75 
77  virtual int netSize() const;
78 
82  virtual const void *netRep() const;
83 
85  virtual void setFromNet(const void *netRep, int length);
86 
87 
88 
89  protected:
90 
91  int myNum;
95 
96 };
97 
98 inline int
100 {
101  return myNum;
102 }
103 
104 }
105 
106 
107 

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)