VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSecurityElement.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 
24 
25 namespace makVrv
26 {
27 
30  class DT_DLL_VRVMINIMUMMS DtSecurityElement : public DtMetadataElement
31  {
32  public:
33 
35  DtSecurityElement();
36 
38  virtual ~DtSecurityElement();
39 
41  virtual unsigned int encodedLength();
42 
44  virtual unsigned char* encode( unsigned char* buffer );
45 
47  virtual void decode( unsigned char* buffer, unsigned int length );
48 
50  virtual DtSecurityClassificationElement* securityClassification();
51 
53  virtual DtSecurityCodingMethodElement* securityCodingMethod();
54 
56  virtual DtSecurityClassifyingCountryElement* securityClassifyingCountry();
57 
59  virtual DtSecurityInfoElement* securityInfo();
60 
62  virtual DtSecurityCaveatsElement* securityCaveats();
63 
65  virtual DtSecurityReleasingInstructionsElement* securityReleasingInstructions();
66 
68  virtual DtSecurityObjectCountryCodingMethodElement* securityObjectCountryCodingMethod();
69 
71  virtual DtSecurityObjectCountryCodeElement* securityObjectCountryCode();
72 
74  void initializeFromFile(const makArchives::DtMetadataPublisherRecord& pubRecord);
75 
76  protected:
77 
79  virtual void update();
80 
82  DtSecurityClassificationElement* mySC;
83 
86  DtSecurityCodingMethodElement* myCM;
87 
89  DtSecurityClassifyingCountryElement* myCC;
90 
92  DtSecurityInfoElement* mySI;
93 
95  DtSecurityCaveatsElement* mySCaveats;
96 
98  DtSecurityReleasingInstructionsElement* myInstructions;
99 
101  DtSecurityObjectCountryCodingMethodElement* myOCM;
102 
104  DtSecurityObjectCountryCodeElement* myOCC;
105 
106  };
107 }
#define DT_DLL_VRVMINIMUMMS
Definition: vrvMinimumMS.h:21
Record for a metadata publisher Defines both the type and parameters.
Definition: DtMetadataPublisherRecord.h:21
Contains DLL export macros.
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...
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)