VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwEntityIdentifier.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
16 
17 #pragma once
18 
19 #include "vrfutil/vrfutilDefines.h"
20 #include <vlpi/entityIdentifier.h>
22 
23 class DT_DLL_vrfutil DtRwEntityIdentifier : public DtReaderWriter, public DtEntityIdentifier
24 {
25 public:
27  DtRwEntityIdentifier(const DtString& name = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = NULL);
29 
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
34  DtRwEntityIdentifier(const DtEntityIdentifier& id,
35  const DtString & name,
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
38  DtRwEntityIdentifier(const DtEntityIdentifier& entityType,
39  const DtSymbolString & name,
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
43 
46  DtReaderWriterRegistry* parentRegistry);
47 
50 
52  DtRwEntityIdentifier& operator=(const DtEntityIdentifier& orig);
53 
54  virtual ~DtRwEntityIdentifier();
55 
56  virtual void putData(std::string& fp, int indentlLevel = 0);
57  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
58  const DtVariableBindingsList& variableBindings);
59 
63  virtual const char* readerWriterType() const;
64 
66  virtual DtString prettyPrint() const;
67 
70  virtual void putData(DtEnvironmentSP, DtEnvValueSP parent) const;
71  virtual void getData(const DtEnvironmentSP, const DtEnvValueSP value,
74 
76  static const char* theXmlType();
77 
78  virtual const char* xmlType() const
79  {
80  return theXmlType();
81  }
83 
84  bool operator==(const DtRwEntityIdentifier&) const;
85  bool operator!=(const DtRwEntityIdentifier& rhs) const { return !(*this == rhs); };
86 
87  bool operator==(const DtEntityIdentifier&) const;
88  bool operator!=(const DtEntityIdentifier& rhs) const { return !(*this == rhs); };
89 };
bool operator==(const DtReaderWriter &) const
Equivalence operator.
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is.
bool operator!=(const DtEntityIdentifier &rhs) const
Definition: rwEntityIdentifier.h:88
Definition: symbolString.h:20
DT_DLL_readerWriter DtBoost::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
virtual DtlObjPtr getData(DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
virtual DtString prettyPrint() const
Routine to return a human readable form of the reader/writer variable.
File: rwEntityIdentifier.h.
Definition: rwEntityIdentifier.h:23
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
bool operator!=(const DtRwEntityIdentifier &rhs) const
Definition: rwEntityIdentifier.h:85
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
virtual const char * xmlType() const
Definition: rwEntityIdentifier.h:78
virtual void putData(std::string &fp, int indentLevel=0)
Deriving class overrides these to get/put class specific data.
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
static const char * theXmlType()
The type that is used when archiving to an XML stream.

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)