VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwStringAttribute.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 
13 
17 
20 {
21 public:
22 
24  DtRwStringAttribute(const DtString& name = DtString::nullString(),
25  DtReaderWriterRegistry* const parentRegistry = NULL);
26 
28  DtReaderWriterRegistry* const parentRegistry = NULL);
29 
30  DtRwStringAttribute(const DtString& name,
31  const DtString& key,
32  const DtString& data,
33  DtReaderWriterRegistry* const parentRegistry = NULL);
34 
36  const DtString& key,
37  const DtString& data,
38  DtReaderWriterRegistry* const parentRegistry = NULL);
39 
41  virtual ~DtRwStringAttribute();
42 
45  const DtString & name = DtString::nullString(),
46  DtReaderWriterRegistry* parentRegistry = NULL);
47 
49  const DtSymbolString & name,
50  DtReaderWriterRegistry* parentRegistry = NULL);
51 
54 
56  DtStringAttribute& operator=(const DtStringAttribute& stringAttribute);
57 
61  virtual void putData(std::string& fp, int indentlLevel = 0);
62  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
63  const DtVariableBindingsList& variableBindings);
64 
66  virtual void putData(DtEnvironmentSP, DtEnvValueSP value) const;
67 
69  virtual void getData(const DtEnvironmentSP, const DtEnvValueSP,
72 
76  virtual const char* readerWriterType() const;
77 
79  static const char* theXmlType();
80 
81  virtual const char* xmlType() const
82  {
83  return theXmlType();
84  }
85 
86  bool operator==(const DtRwStringAttribute&) const;
87  bool operator!=(const DtRwStringAttribute& rhs) const { return !(*this == rhs); };
88 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)