VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwStringAttributeList.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2004 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: rwStringAttributeList.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
11 
17 
18 #ifndef DtRwStringAttributeList_H_
19 #define DtRwStringAttributeList_H_
20 
21 #include "vrfutil/rwList.h"
22 
24 
31 #include "vrfutil/vrfutilDefines.h"
33 {
34 protected:
35 
38 
39 public:
40 
42  DtRwStringAttributeList(const DtString& name,
43  DtReaderWriterRegistry* parentRegistry = NULL);
44 
46  DtReaderWriterRegistry* parentRegistry = NULL);
47 
50  DtReaderWriterRegistry* parentRegistry = NULL);
51 
56 
58  virtual ~DtRwStringAttributeList();
59 
60  virtual DtRwStringAttributeList* clone(DtReaderWriterRegistry* parentRegistry = NULL);
61 
64  virtual bool operator==(const DtRwStringAttributeList& rhs) const;
65 
67  virtual void emptyList();
68  virtual void copyList(const DtRwStringAttributeList& orig);
69 
70  virtual DtRwStringAttribute* addStringAttribute(const DtRwStringAttribute& stringAttribute);
71 
74  virtual const DtRwStringAttribute* findStringAttribute(
75  const DtRwStringAttribute& attribToFind) const;
76 
77  virtual void removeStringAttribute(const DtString& key);
78 
80  virtual std::map<DtString, DtString> asStdMap() const;
81  virtual void setFromMap(const std::map<DtString, DtString>&);
82  virtual void setFromMap(const std::map<std::string, std::string>&);
83 
85  static const char* theXmlType();
86 
87  virtual const char* xmlType() const
88  {
89  return theXmlType();
90  }
91 
92 protected:
93  virtual DtRwStringAttribute* addStringAttribute(DtRwStringAttribute* const stringAttribute);
94 
97  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
98  const DtVariableBindingsList& variableBindings);
99 
103  virtual const char* readerWriterType() const;
104 };
105 
106 #endif

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)