VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
envList.h
Go to the documentation of this file.
1 /*****************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #ifndef envList_H__
12 #define envList_H__
13 
14 #if DT_ENV_THREAD_SAFE
15 #include <vlutil/vlMutex.h>
16 #endif
17 
18 #include "envValue.h"
19 #include <list>
20 
21 #ifdef DtUSE_UTILITIES_NAMESPACE
22 namespace DtUSE_UTILITIES_NAMESPACE
23 {
24 #endif
25 
26 
27 
32 {
33 public:
34  friend class DtEnvironment;
35 
37  virtual DtEnvValueSP first() const;
38 
40  virtual DtEnvValueSP last() const;
41 
50  virtual DtEnvValueSP next(DtEnvValueSP) const;
51 
53  static bool isList(const DtEnvValueSP&);
54 
57  static DtEnvList* castToList(const DtEnvValueSP& value);
58 
59 protected:
60 
62  explicit DtEnvList(const DtString& value);
63 
65  virtual DtEnvValue* clone() const;
66 
68  virtual void cloneChildren(DtEnvList* list) const;
69 
71  virtual void append(DtEnvValueSP);
72 
74  virtual void remove(DtEnvValueSP);
75 
78 
79 #if DT_ENV_THREAD_SAFE
80 
81  mutable DtMutex myChildrenMutex;
82 #endif
83 };
84 
85 #ifdef DtUSE_UTILITIES_NAMESPACE
86 }
87 #endif
88 
89 
90 #endif

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)