VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwRealAttribute.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/realAttribute.h"
13 
17 
18 #include "vrfutil/vrfutilDefines.h"
20 {
21 public:
22 
24  DtRwRealAttribute(const DtString& name = DtString::nullString(),
25  DtReaderWriterRegistry* const parentRegistry = NULL);
26 
27  DtRwRealAttribute(const DtSymbolString& name,
28  DtReaderWriterRegistry* const parentRegistry = NULL);
29 
30  DtRwRealAttribute(const DtString& name,
31  const DtString& key,
32  const double& data,
33  DtReaderWriterRegistry* const parentRegistry = NULL);
34 
36  const DtString& key,
37  const double& data,
38  DtReaderWriterRegistry* const parentRegistry = NULL);
39 
41  virtual ~DtRwRealAttribute() override;
42 
45  const DtString& name = DtString::nullString(),
46  DtReaderWriterRegistry* parentRegistry = NULL);
47 
49  const DtSymbolString& name,
50  DtReaderWriterRegistry* parentRegistry = NULL);
51 
54 
56  DtRealAttribute& operator=(const DtRealAttribute& realAttribute);
57 
61  virtual void putData(std::string& fp, int indentlLevel = 0) override;
62  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
63  const DtVariableBindingsList& variableBindings) override;
64 
68  virtual const char* readerWriterType() const override;
69 
70  bool operator==(const DtRwRealAttribute&) const;
71  bool operator!=(const DtRwRealAttribute& rhs) const { return !(*this == rhs); };
72 };
bool operator==(const DtReaderWriter &) const
Equivalence operator.
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
virtual DtlObjPtr getData(DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Deriving class overrides these to get/put class specific data.
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
bool operator!=(const DtRwRealAttribute &rhs) const
Definition: rwRealAttribute.h:71
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
class DtRealAttribute:
Definition: realAttribute.h:23
class DtRwRealAttribute:
Definition: rwRealAttribute.h:19

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)