VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMetadataPublisherRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
7 
8 #pragma once
9 
14 
15 namespace makArchives
16 {
17 
22  {
23  public:
26 
28  virtual ~DtMetadataPublisherRecord();
29 
32 
34  virtual DtMetadataPublisherRecord& operator=(const DtMetadataPublisherRecord& rhs);
35 
37  virtual bool operator==(const DtMetadataPublisherRecord& rhs);
38 
40  virtual bool operator!=(const DtMetadataPublisherRecord& rhs);
41 
43  virtual const std::string& publisherType() const;
44 
46  virtual void setPublisherType( const std::string& publisherType );
47 
49  virtual const std::string& observerName() const;
50 
52  virtual void setObserverName( const std::string& observerName );
53 
54  protected:
55  friend class boost::serialization::access;
56 
57  template<class Archive>
58  void serialize(Archive & ar, const unsigned int version)
59  {
60  ar & BOOST_SERIALIZATION_NVP(myPublisherType);
61  ar & BOOST_SERIALIZATION_NVP(myObserverName);
62  ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(DtNameValueLists);
63  }
64 
67  };
68 }
70 
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
Utf8String myPublisherType
Definition: DtMetadataPublisherRecord.h:65
Utf8String myObserverName
Definition: DtMetadataPublisherRecord.h:66
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
std::string Utf8String
Typedef&#39;d string used to indicate that a std::string must use utf8.
Definition: UnicodeStringRecord.h:11
Contains DLL export macros.
Record for a metadata publisher Defines both the type and parameters.
Definition: DtMetadataPublisherRecord.h:21
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
Inherit this is you need a list of name/value pairs. Supports a list for each of int, double, string, and bool types.
Definition: DtNameValueLists.h:21
void serialize(Archive &ar, const unsigned int version)
Definition: DtMetadataPublisherRecord.h:58

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)