VR-Exchange 2.10 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
casualtyReportRecord.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 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 #include <vlutil/vlMachineTypes.h>
15 #include <vlutil/vlString.h>
16 #include <ostream>
17 #include <list>
18 
19 namespace MAKVrExchange
20 {
21 
25  {
26  public:
27 
30 
33 
35  virtual ~DtCasualtyReportRecord();
36 
38  DtCasualtyReportRecord& operator = ( const DtCasualtyReportRecord& orig );
39 
42 
43  virtual bool operator == ( const DtCasualtyReportRecord& other ) const;
44  virtual bool operator != ( const DtCasualtyReportRecord& other ) const;
45 
47 
48  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
49 
52 
53  DtDEC_ATTRIBUTE( DtString, Attacker, attacker );
54  DtDEC_ATTRIBUTE( DtInt32, NumberKilled, numberKilled );
55  DtDEC_ATTRIBUTE( DtInt32, NumberCaptured, numberCaptured );
56  DtDEC_ATTRIBUTE( DtInt32, NumberWounded, numberWounded );
57  DtDEC_ATTRIBUTE( DtInt32, NumberMissing, numberMissing );
58 
60 
61  };
62 
63 
64  typedef std::list<DtCasualtyReportRecord> DtCasualtyReportRecordList;
65 
66  DT_DLL_LIBPORTAL std::ostream& operator << ( std::ostream& stream, const DtCasualtyReportRecord& rec );
67  DT_DLL_LIBPORTAL std::ostream& operator << ( std::ostream& stream, const DtCasualtyReportRecordList& rec );
68 
69 }
std::list< DtCasualtyReportRecord > DtCasualtyReportRecordList
Definition: casualtyReportRecord.h:64
#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
Definition: casualtyReportRecord.h:24
DT_DLL_LIBPORTAL std::ostream & operator<<(std::ostream &stream, const DtActiveSonarBeamData &data)
Contains the DtDEC_ATTRIBUTE macros.

Document ID: Generated on Mon May 25 18:45:12 EDT 2026 from SVN revision 289111
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)