VR-Link API Documentation for HLA 1516
varGroup.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
8 
9 #ifndef varGroup_H_
10 #define varGroup_H_
11 
12 #include "baseConfigVar.h"
13 
14 #ifdef DtUSE_UTILITIES_NAMESPACE
15 namespace DtUSE_UTILITIES_NAMESPACE
16 {
17 #endif
18 
19 
22 {
23 public:
24  DtVariableGroup(DtVariableGroup* parent, const DtString& groupName,
25  const DtString& groupType = "", const DtString& aDescription = "");
26 
27  virtual ~DtVariableGroup();
28 
29  virtual void addBaseVariable(DtBaseConfigVariable* var);
30 
32  virtual bool changeOnce() const;
33 
35  virtual bool isRequired() const;
36 
38  virtual const DtString& name() const;
39 
40  virtual DtString type() const;
41 
43  virtual void getCommandLineArg(DtCmdLine::CmdLine& cmdLine);
44 
45  virtual void updateFromCommandLineArg();
46 
48  virtual void getEnvironmentSchemaType(DtEnvironment env,TypeSet& usedTypes) const;
49 
53  // MJI - This implies getting an "environment value", not getting a value from
54  // the environment passed in.
55  virtual DtEnvValueSP getEnvironmentValue(DtEnvironment env);
56 
59  virtual void updateFromEnvironment(DtEnvironment env);
60 
62  DtEnvValueSP getGroupValue(DtEnvironment env);
63 
64 
65 protected:
68 
70  typedef std::list<DtBaseConfigVariable*> VariableList;
72 };
73 
74 #ifdef DtUSE_UTILITIES_NAMESPACE
75 }
76 #endif
77 
78 #endif

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)