VR-Forces 4.2 Class Documentation
aggregateObjectParameters.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: aggregateObjectParameters.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef aggregateObjectParameters_h
15 #define aggregateObjectParameters_h
16 
18 #include "vrfutil/rwBoolean.h"
19 #include "vrfutil/rwVector.h"
20 #include "vrfutil/soilList.h"
22 
23 class DtString;
25 class DtFormationTable;
26 class DtFormation;
27 class DtEnvironment;
28 
34 {
35 public:
37  DtAggregateObjectParameters (const DtString& name = DtString::nullString(),
38  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(),
39  DtEnvValueSP* objectNode = NULL);
40  DtAggregateObjectParameters (const DtSymbolString& name,
41  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(),
42  DtEnvValueSP* objectNode = NULL);
43 
44 protected:
47  const DtString& name = DtString::nullString(),
48  DtReaderWriterRegistry* parentRegistry = NULL);
50  const DtSymbolString& name,
51  DtReaderWriterRegistry* parentRegistry = NULL);
52 
53 public:
55  const DtAggregateObjectParameters& orig);
56 
58  virtual ~DtAggregateObjectParameters();
59 
60  virtual bool init();
61 
62  virtual DtVrfObjectParameters* clone(const DtString& name =
63  DtString::nullString(), DtReaderWriterRegistry* parentRegistry = NULL) const;
64  virtual DtVrfObjectParameters* clone(const DtSymbolString& name,
65  DtReaderWriterRegistry* parentRegistry = NULL) const;
66 
69  virtual bool inheritValues (const DtVrfObjectParameters * benefactor);
70 
73  virtual DtString type() const;
74 
76  benefactor);
77 
81  virtual DtFormation* getFormation(const DtString& formationName, DtString* retFormationName = NULL) const;
83  virtual DtFormation* getDefaultFormation() const;
84 
86  virtual DtFormationTable* formationTable();
87  virtual const DtFormationTable* formationTable() const;
88 
89 protected:
92  virtual DtFormationTable* createFormationTable(const DtSymbolString& name,
93  DtReaderWriterRegistry* parentRegistry = NULL) const;
94 
95 public:
96 
98  static DtVrfObjectParameters* creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
99 
100 protected:
110 };
111 
112 
113 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)