VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
enumeratedDatatypeNode.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 
15 #include <list>
16 #include <iterator>
17 #ifdef DtUSE_UTILITIES_NAMESPACE
18 namespace DtUSE_UTILITIES_NAMESPACE
19 {
20 #endif
22 
23 
24 
26 {
27 public:
29 
32 
34  virtual ~DtEnumeratedDatatypeNode();
35 
38 
41 
42  virtual void setDescription(const DtString&);
43  virtual const DtString& getDescription() const;
44 
45  virtual void setRepresentation(const DtString&);
46  virtual const DtString& getRepresentation() const;
47 
48  virtual void addEnumerationNode(DtEnumerationNode*);
49 
50  virtual DtEnumerationNode* getEnumerationNode(const DtString& name);
51  virtual DtEnumerationNode* getEnumerationNode(int value);
52  virtual std::list<DtEnumerationNode*>::const_iterator getEnumerationNodeList() const;
53  virtual std::list<DtEnumerationNode*>::const_iterator getEnumerationNodeEnd() const;
54 
57  virtual int getExpectedEnumerationSize() const;
58 
59 
60 protected:
63  std::list<DtEnumerationNode*> myEnumerationNodes;
64 };
65 
66 
67 #ifdef DtUSE_UTILITIES_NAMESPACE
68 } // end of namespace DtUSE_UTILITIES_NAMESPACE
69 #endif

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)