VR-Exchange 2.1 API Documentation
aggregateTypes.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3  ** All rights reserved.
4  *********************************************************************/
5 
6 #ifndef aggregateTypes_H_
7 #define aggregateTypes_H_
8 
12 
13 
14 #include <portal/addAttribute.h>
15 #include <vlpi/entityType.h> //DtEntityType
17 #include <vlutil/vlString.h>
18 #include <vector>
19 
20 namespace MAKVrExchange {
21 
25 {
26 public:
27 
30 
32  virtual ~DtSilentAggregate();
33 
36 
38  DtSilentAggregate& operator=(const DtSilentAggregate &other);
39 
41  bool operator==(const DtSilentAggregate &other) const;
42 
46  DtDEC_ATTRIBUTE( DtEntityType, EntityType, entityType );
47 
49  DtDEC_ATTRIBUTE(DtU32, NumberOfAggregates, numberOfAggregates);
51 };
52 
56 {
57 public:
58 
61 
63  virtual ~DtSilentEntity();
64 
66  DtSilentEntity(const DtSilentEntity &other);
67 
69  DtSilentEntity& operator=(const DtSilentEntity &other);
70 
72  bool operator==(const DtSilentEntity &other) const;
73 
77  DtDEC_ATTRIBUTE(DtU32, NumberOfEntities, numberOfEntities);
78 
80  DtDEC_ATTRIBUTE(DtU32, NumberOfAppearanceRecords, numberOfAppearanceRecords);
81 
83  DtDEC_ATTRIBUTE(DtU64, EntityAppearance, entityAppearance);
84 
86  DtDEC_ATTRIBUTE( DtEntityType, EntityType, entityType);
88 };
89 
93 {
94 public:
97 
99  virtual ~DtAggregateVariableDatum();
100 
103 
105  DtAggregateVariableDatum& operator=(const DtAggregateVariableDatum &other);
106 
108  bool operator==(const DtAggregateVariableDatum &other) const;
109 
113  DtDEC_ATTRIBUTE(DtU32, DatumId, datumId);
114 
116  DtDEC_ATTRIBUTE(DtVariableLengthData, Datum, datum);
118 };
119 
120 typedef std::vector<DtAggregateVariableDatum> DtAggregateVariableDatumArray;
122 typedef std::vector<DtSilentAggregate> DtSilentAggregateArray;
123 typedef std::vector<DtSilentEntity> DtSilentEntityArray;
124 
125 }
126 
127 std::ostream & operator << (std::ostream &str, const MAKVrExchange::DtSilentAggregate &msg);
128 std::ostream & operator << (std::ostream &str, const MAKVrExchange::DtSilentAggregateArray &msg);
129 
130 std::ostream & operator << (std::ostream &str, const MAKVrExchange::DtAggregateVariableDatum &msg);
131 std::ostream & operator << (std::ostream &str, const MAKVrExchange::DtAggregateVariableDatumArray &msg);
132 
133 std::ostream & operator << (std::ostream &str, const MAKVrExchange::DtSilentEntity &msg);
134 std::ostream & operator << (std::ostream &str, const MAKVrExchange::DtSilentEntityArray &msg);
135 
136 std::ostream& operator<<( std::ostream& stream, const std::vector<DtString>& message );
137 
138 #endif //end #ifndef aggregateTypes_H_

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)