VR-Forces 4.1 Class Documentation
formType.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: formType.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef DtFormationType_H_
15 #define DtFormationType_H_
16 
17 #include <vlpi/disEnums.h>
18 #include "vrfutil/rdrWritr.h"
19 
21 
23 #include "vrfutil/vrfutilDefines.h"
25 {
26 public:
29 
31  DtFormationType(int type);
32 
35 
38  parentRegistry = NULL);
40  parentRegistry = NULL);
41  DtFormationType(const DtSymbolString& name, int type,
43  parentRegistry = NULL);
44  DtFormationType(const DtString& name, int type, DtReaderWriterRegistry* const
45  parentRegistry = NULL);
46 
49  parentRegistry = NULL);
50 
52  const DtFormationType & operator=(const DtFormationType & orig);
53 
54  virtual ~DtFormationType();
55 
56 
58 
60  virtual operator const DtAggregateFormation() const;
61 
63  DtAggregateFormation operator=(DtAggregateFormation orig);
64 
65  virtual int operator==(DtAggregateFormation rhs) const;
66  virtual int operator!=(DtAggregateFormation rhs) const;
67 
68  virtual int value() const;
69  virtual void setValue(int value);
70 
72  virtual DtString string() const;
73 
74  virtual void putData(FILE * fp, int indentLevel = 0);
75  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
76  const DtVariableBindingsList& variableBindings);
77 
80  virtual int getValueFromString(DtString value);
81 
82 protected:
86  virtual const char* readerWriterType() const;
87 
88 public:
89  static const DtString& columnFormationString();
90  static const DtString& lineFormationString();
91  static const DtString& veeFormationString();
92  static const DtString& wedgeFormationString();
93  static const DtString& assemblyFormationString();
94  static const DtString& otherFormationString();
95  static const DtString& userFormationString();
97  static int userFormationTypeOffset();
98 
99 protected:
100  int myValue;
101 
102 protected:
113  static const int UserFormationTypeOffset;
114 };
115 
116 #endif
117 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)