VR-Exchange 2.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ewAttackRecord.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 VT MAK
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 
32  DtEWAttackRecord( const DtEWAttackRecord& orig );
33 
35  virtual ~DtEWAttackRecord();
36 
38  DtEWAttackRecord& operator = ( const DtEWAttackRecord& orig );
39 
42 
43  virtual bool operator == ( const DtEWAttackRecord& other ) const;
44  virtual bool operator != ( const DtEWAttackRecord& other ) const;
45 
47 
48  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
49 
52 
53  DtDEC_ATTRIBUTE( DtString, Target, target );
54  DtDEC_ATTRIBUTE( DtString, Type, type );
55  DtDEC_ATTRIBUTE( DtInt32, Strength, strength );
56 
58 
59  };
60 
61 
62  typedef std::list<DtEWAttackRecord> DtEWAttackRecordList;
63 
64  DT_DLL_LIBPORTAL std::ostream& operator << ( std::ostream& stream, const DtEWAttackRecord& rec );
65  DT_DLL_LIBPORTAL std::ostream& operator << ( std::ostream& stream, const DtEWAttackRecordList& container );
66 
67 }
#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
std::list< DtEWAttackRecord > DtEWAttackRecordList
Definition: ewAttackRecord.h:62
DT_DLL_LIBPORTAL std::ostream & operator<<(std::ostream &stream, const DtActiveSonarBeamData &data)
Definition: ewAttackRecord.h:24
Contains the DtDEC_ATTRIBUTE macros.

Document ID: Generated on Tue Aug 16 16:15:26 EDT 2022 from SVN revision 245901
Copyright © 2005-2022 MAK Technologies. All Rights Reserved (www.mak.com)