VR-Exchange 2.9 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedLengthData.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/dllExport.h>
13 #include <portal/addAttribute.h>
14 
15 #include <vlutil/vlMachineTypes.h>
16 
17 #include <vector>
18 #include <iosfwd>
19 
20 namespace MAKVrExchange
21 {
22 
28  {
29  public:
30 
32  DtFixedLengthData( const DtU32 data = 0 );
33 
36 
38  DtFixedLengthData( const DtFixedLengthData& original );
39 
41  DtFixedLengthData& operator = ( const DtFixedLengthData& original );
42 
44  bool operator == ( const DtFixedLengthData& rightOperand ) const;
45  bool operator != ( const DtFixedLengthData& rightOperand ) const;
46 
48  const unsigned int size() const;
49 
51  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
52 
55 
57  DtDEC_ATTRIBUTE( DtU32, Id, id );
58 
60  DtDEC_ATTRIBUTE( DtU32, Value, value );
61 
63 
64  };
65 
67  typedef std::vector<DtFixedLengthData> DtFixedLengthDataArray;
68 
70  std::ostream& operator << ( std::ostream& stream, const DtFixedLengthData& value );
71 
73  std::ostream& operator << ( std::ostream& stream, const DtFixedLengthDataArray& value );
74 
75 }
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
Represents data of fixed length.
Definition: fixedLengthData.h:27
DT_DLL_LIBPORTAL std::ostream & operator<<(std::ostream &stream, const DtActiveSonarBeamData &data)
std::vector< DtFixedLengthData > DtFixedLengthDataArray
A container of DtFixedLengthData.
Definition: fixedLengthData.h:67
Contains the DtDEC_ATTRIBUTE macros.

Document ID: Generated on Tue Jun 25 16:45:35 EDT 2024 from SVN revision 267383
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)