gwnavgeneration/input/clientinputdescriptor.h Source File
Go to the documentation of this file.
21 class ClientInputDescriptorBlob
25 KY_ROOT_BLOB_CLASS(Generator, ClientInputDescriptorBlob, 0)
28 ClientInputDescriptorBlob() {}
30 BlobArray<char> m_clientInputFilename;
34 SwapEndianness(e,
self.m_clientInputFilename);
38 struct ClientInputDescriptor
41 ClientInputDescriptor() {}
43 ClientInputDescriptor(
const char* filename)
44 : m_clientInputFilename(filename) {}
46 void Init(
const ClientInputDescriptorBlob& blob)
48 m_clientInputFilename = blob.m_clientInputFilename.GetValues();
52 String m_clientInputFilename;
56 class ClientInputDescriptorBlobBuilder :
public BaseBlobBuilder<ClientInputDescriptorBlob>
59 ClientInputDescriptorBlobBuilder(
const ClientInputDescriptor& information) : m_info(&information) {}
62 virtual void DoBuild()
64 BLOB_STRING(
m_blob->m_clientInputFilename, m_info->m_clientInputFilename.ToCStr());
67 const ClientInputDescriptor* m_info;
#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
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
ClientInputDescriptorBlob * m_blob
The blob maintained by this builder. Only modify using the macros listed under DoBuild().
Definition: baseblobbuilder.h:113
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
#define BLOB_STRING(str, src)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:166