VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
genAttrNode.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 
9 
10 
11 #include "omtNode.h"
12 
13 #include <vlutil/vlString.h>
14 #include <map>
15 
16 #ifdef DtUSE_UTILITIES_NAMESPACE
17 namespace DtUSE_UTILITIES_NAMESPACE
18 {
19 #endif
20 
21 
22 
23 
24 
26 {
27 public:
28 
30  DtGenAttrNode();
31 
33  virtual ~DtGenAttrNode();
34 
35  virtual void addAttribute(const DtString& name, const DtString& attr);
36  virtual const DtString& getAttribute(const DtString& name);
37  virtual std::map<DtString, DtString>::iterator getAttributes();
38 
39 private:
40 
42  DtGenAttrNode(const DtGenAttrNode& orig);
43 
45  DtGenAttrNode& operator=(const DtGenAttrNode& rhs);
46 
47 protected:
48  std::map<DtString, DtString> myAttrMap;
49 
50 };
51 
52 
53 #ifdef DtUSE_UTILITIES_NAMESPACE
54 } // end of namespace DtUSE_UTILITIES_NAMESPACE
55 #endif

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)