gwnavgeneration/generator/generatorsectorlistblob.h Source File

generatorsectorlistblob.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 // primary contact: GUAL - secondary contact: NOBODY
8 #ifndef GwNavGen_GeneratorInputOutputBlob_H
9 #define GwNavGen_GeneratorInputOutputBlob_H
10 
15 
16 namespace Kaim
17 {
18 
19 class GeneratorParameters;
20 class GeneratorSectorList;
21 
24 {
25  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
26  KY_ROOT_BLOB_CLASS(Generator, GeneratorSectorListBlob, 0)
27 
28 public:
29  void GetSectorList(GeneratorSectorList& sectorList) const;
30  void GetExclusiveGuids(KyArray<GeneratorGuidCompound>& guidCompounds) const;
31 
32 public:
34  BlobArray<GuidCompound> m_exclusiveGuids;
35 };
36 
37 inline void SwapEndianness(Endianness::Target e, GeneratorSectorListBlob& self)
38 {
39  SwapEndianness(e, self.m_sectors);
40  SwapEndianness(e, self.m_exclusiveGuids);
41 }
42 
43 }
44 
45 
46 #endif
47 
The Generator is the principal class in the NavData generation system.
Definition: generator.h:61
General purpose array for movable objects that require explicit construction/destruction.
Definition: kyarray.h:118
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
A BlobArray an array that is compatible with the blob serialization framework.
Definition: blobarray.h:28
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
used to serialize GeneratorInputOutput
Definition: generatorsectorlistblob.h:23