VR-Forces Developer's Guide
 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 
12 #include <vrvLocalMS/vrvLocalMS.h>
24 
25 namespace makVrv
26 {
27 
31  {
32  public:
33 
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 
83 
87 
90 
93 
96 
99 
102 
105  };
106 }
Definition: DtSecurityCaveatsElement.h:19
Definition: DtSecurityReleasingInstructionsElement.h:19
#define DT_DLL_VRVLOCALMS
Definition: vrvLocalMS.h:21
Definition: DtSecurityInfoElement.h:19
Definition: DtSecurityCodingMethodElement.h:19
Definition: DtSecurityClassificationElement.h:19
DtSecurityCaveatsElement * mySCaveats
Pointer to the security Caveats element.
Definition: DtSecurityElement.h:95
DtSecurityCodingMethodElement * myCM
Pointer to the Classifying Country and Releasing Instructions Country Coding Method.
Definition: DtSecurityElement.h:86
Definition: DtSecurityObjectCountryCodeElement.h:20
Record for a metadata publisher Defines both the type and parameters.
Definition: DtMetadataPublisherRecord.h:21
Class that manage Security info fields.
Definition: DtSecurityElement.h:30
DtSecurityObjectCountryCodingMethodElement * myOCM
Pointer to the Security Object Country Coding Method.
Definition: DtSecurityElement.h:101
Contains DLL export macros.
DtSecurityReleasingInstructionsElement * myInstructions
Pointer to the Releasing Instructions.
Definition: DtSecurityElement.h:98
DtMetadataElement is an abstract class that defines the interface common to all metadata elements...
Definition: DtMetadataElement.h:22
Definition: DtSecurityObjectCountryCodingMethodElement.h:20
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
DtSecurityClassifyingCountryElement * myCC
Pointer to the Country string.
Definition: DtSecurityElement.h:89
DtSecurityObjectCountryCodeElement * myOCC
Pointer to the Security Object Country Code.
Definition: DtSecurityElement.h:104
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
DtSecurityClassificationElement * mySC
Pointer to the security classification element.
Definition: DtSecurityElement.h:82
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...
DtSecurityInfoElement * mySI
Pointer to Info Element.
Definition: DtSecurityElement.h:92
Definition: DtSecurityClassifyingCountryElement.h:19
Contains the DtMetadataElement class declaration.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)