VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrxRecordSetList.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2012 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/dllExport.h>
13 
14 #include <vlpi/recordSet.h>
15 
16 namespace MAKVrExchange
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 
40  {
41  public:
42 
45 
48 
50  virtual ~DtVrxRecordSetList();
51 
53  DtVrxRecordSetList& operator = ( const DtVrxRecordSetList& orig );
54 
56  int operator == ( const DtVrxRecordSetList& other ) const;
57  int operator != ( const DtVrxRecordSetList& other ) const;
58 
61  virtual void setNumRecordSets( int num );
62  virtual int numRecordSets() const;
63 
65  virtual bool setRecordSet( int index, const DtRecordSet& des );
66 
69  virtual const DtRecordSet& recordSet( int index, bool* valid = 0 ) const;
70 
72  virtual void print() const;
73 
75  virtual void printDataToStream( std::ostream& stream ) const;
76 
78  virtual int netSize() const;
79 
83  virtual const void* netRep() const;
84 
86  virtual void setFromNet( const void* netRep, int length );
87 
88  protected:
89 
90  int myNum;
91  DtRecordSet* myRecordSets;
92  DtRecordSet myEmptyObj;
94 
95  };
96 
98  {
99  return myNum;
100  }
101 
102 }

Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)