VR-Link API Documentation for HLA 1516
recordSetList.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00007 
00008 #ifndef DtRecordSetList_H_
00009 #define DtRecordSetList_H_
00010 
00011 #include "hostStructs.h"
00012 #include <vlpi/recordSet.h>
00013 
00014 
00018 class DT_DLL_VL DtRecordSetList
00019 {
00020 
00021    public:
00022       
00024       DtRecordSetList();
00025       
00027       DtRecordSetList(const DtRecordSetList &orig);
00028 
00030       virtual ~DtRecordSetList();
00031 
00033       DtRecordSetList &operator=(const DtRecordSetList &orig);
00034 
00036       int operator==(const DtRecordSetList &other) const;
00037       int operator!=(const DtRecordSetList &other) const;
00038 
00041       virtual void setNumRecordSets(int num);
00042       virtual int numRecordSets() const;
00043 
00045       virtual bool setRecordSet(int index, 
00046          const DtRecordSet &des);
00047 
00050       virtual const DtRecordSet &recordSet(
00051          int index, bool *valid = NULL) const;
00052 
00054       virtual void print() const;
00055 
00056       virtual void printDataToStream(std::ostream& stream) const;
00057       
00059       virtual int netSize() const;
00060 
00064       virtual const void *netRep() const;
00065 
00067       virtual void setFromNet(const void *netRep, int length);
00068 
00069       
00070       
00071    protected:
00072       
00073       int myNum;
00074       DtRecordSet *myRecordSets;
00075       DtRecordSet myEmptyObj;
00076       char *myNetRepBuffer;
00077 
00078 };
00079 
00080 inline int 
00081 DtRecordSetList::numRecordSets() const
00082 {
00083    return myNum;
00084 }
00085 
00086 
00087 
00088 #endif
00089 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)