gwnavgeneration/generator/generatorsectorlistblob.h Source File

generatorsectorlistblob.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 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 #pragma once
8 
13 
14 namespace Kaim
15 {
16 
17 class GeneratorParameters;
18 class GeneratorSectorList;
19 
22 {
23  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
24  KY_ROOT_BLOB_CLASS(Generator, GeneratorSectorListBlob, 0)
25 
26 public:
27  void GetSectorList(GeneratorSectorList& sectorList) const;
28  void GetExclusiveGuids(KyArray<GeneratorGuidCompound>& guidCompounds) const;
29 
30 public:
32  BlobArray<GuidCompound> m_exclusiveGuids;
33 };
34 
35 inline void SwapEndianness(Endianness::Target e, GeneratorSectorListBlob& self)
36 {
37  SwapEndianness(e, self.m_sectors);
38  SwapEndianness(e, self.m_exclusiveGuids);
39 }
40 
41 }
42 
43 
44 
The Generator is the principal class in the NavData generation system.
Definition: generator.h:56
General purpose array for movable objects that require explicit construction/destruction.
Definition: kyarray.h:162
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
A BlobArray an array that is compatible with the blob serialization framework.
Definition: blobarray.h:23
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
used to serialize GeneratorInputOutput
Definition: generatorsectorlistblob.h:21