VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPlatformTailNumberElement.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvLocalMS/vrvLocalMS.h>
15 #include <string>
16 
17 namespace makVrv
18 {
22  : public DtMetadataElement
23  {
24  public:
25 
28 
30  virtual ~DtPlatformTailNumberElement();
31 
33  virtual unsigned int encodedLength();
34 
36  virtual unsigned char* encode(unsigned char* buffer);
37 
39  virtual void decode(unsigned char* buffer, unsigned int length);
40 
42  std::string tailNumber();
43 
45  void setTailNumber(const std::string& val);
46 
48  void initializeFromFile(const makArchives::DtMetadataPublisherRecord& pubRecord);
49 
50  protected:
51 
53  virtual void update();
54 
56  std::string myTailNumber;
57  };
58 }
#define DT_DLL_VRVLOCALMS
Definition: vrvLocalMS.h:21
Record for a metadata publisher Defines both the type and parameters.
Definition: DtMetadataPublisherRecord.h:21
std::string myTailNumber
Tail number string.
Definition: DtPlatformTailNumberElement.h:56
Contains DLL export macros.
DtMetadataElement is an abstract class that defines the interface common to all metadata elements...
Definition: DtMetadataElement.h:22
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer.
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
Class that manage the Platform Tail number field.
Definition: DtPlatformTailNumberElement.h:21
Contains the DtMetadataElement class declaration.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)