gwnavruntime/navdata/sectordescriptor.h Source File
Go to the documentation of this file.
26 BlobFieldArray m_fields;
30 SwapEndianness(e,
self.m_fields);
49 KyResult ReadFromAggregate(
const BlobAggregate& aggregate)
51 BlobAggregate::Collection<SectorDescriptorBlob> sectorDescs = aggregate.GetCollection<
SectorDescriptorBlob>();
52 if (sectorDescs.GetCount() != 1)
54 return ReadFromBlob(*sectorDescs.GetHandler(0)->Blob());
57 void AddMapping(BlobFieldsMapping& mapping)
66 BlobFieldsMapping mapping;
68 return mapping.ReadFromBlobFieldArray(blob.m_fields);
KyUInt32 m_databaseIndex
Index of the Lab's database in which the NavData will be added to.
Definition: sectordescriptor.h:82
Easy to write/read version of SectorDescriptorBlob.
Definition: sectordescriptor.h:42
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
String m_generatorRelativeOutputDirectory
Generator relative directory to used by the generator to output NavData, ClientInput, GenIO, related to this sector m_generatorRelativeOutputDirectory is relativeOutputDir in the call to void SetOutputDirectory(const char* absoluteOutputBaseDir, const char* relativeOutputDir);.
Definition: sectordescriptor.h:78
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
The NavData class is the object containing navigation data that will be added to one Database...
Definition: navdata.h:39
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
#define KY_ERROR
use result == KY_ERROR to test for error
Definition: types.h:132
Set of Key-Values embedded within in NavData BlobAggregate (serialized form).
Definition: sectordescriptor.h:19
String m_sectorName
Contains the name of the sector which is also the name of the file This is used to identify Graph-onl...
Definition: sectordescriptor.h:74