VR-Link API Documentation for HLA 1516
 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-2025 MAK Technologies, Inc
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
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
std::map< DtString, DtString > myAttrMap
Definition: genAttrNode.h:48
Contains the DtString class declaration.
#define DT_DLL_OMTREADER
Definition: omtReader.h:27
represents a node in an OMT tree.
Definition: omtNode.h:20
This is a generic attribute node I should be able to use this to replace all these extra node classes...
Definition: genAttrNode.h:25
Instances of DtString are used to represent strings.
Definition: vlString.h:36

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)