VR-Forces 4.1.1 Class Documentation
rwDIGuyCharacterInfo.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: rwDIGuyCharacterInfo.h,v $ $Revision: 1.4 $ $State: Exp $
7 ** Created: 3/31/08 MEM
8 *******************************************************************************/
9 
12 
13 #ifndef rwDiguyCharacterInfo_H_
14 #define rwDiguyCharacterInfo_H_
15 
16 #include "vrfutil/rdrWritr.h"
17 #include "vrfutil/rwString.h"
18 #include "vrfutil/rwBoolean.h"
20 
22 
26 
27 #include "vrfutil/vrfutilDefines.h"
29 {
30 public:
31 
33 
34  DtRwDIGuyCharacterInfo(const DtString& name,
35  DtReaderWriterRegistry* const parentRegistry = NULL);
37  DtReaderWriterRegistry* const parentRegistry = NULL);
38 
40  DtReaderWriterRegistry* const parentRegistry = NULL);
41 
42  virtual ~DtRwDIGuyCharacterInfo();
43 
45 
47  virtual const char* readerWriterType() const;
48 
50 
51  virtual void setDIGuyCharacter(const DtString& character);
52  virtual const DtString & dIGuyCharacter() const;
54 
56 
57  virtual void setDIGuyAnimation(const DtString & animation);
58  virtual const DtString & dIGuyAnimation() const;
60 
62 
63  virtual void setDIGuyAppearance(const DtString & app);
64  virtual const DtString& dIGuyAppearance() const;
66 
70 
71  virtual DtRwBoolean & usingRandomAppearances();
72  virtual void setUsingRandomAppearances(bool useRandom);
73 
74  virtual void setRandomAppearancesList( const DtRwNLengthStringVector & list);
75  virtual const DtRwNLengthStringVector & randomAppearancesList() const;
76  virtual DtRwNLengthStringVector * randomAppearancesList();
78 
80  virtual DtString nextRandomAppearance();
81 
83  virtual DtRwDIGuyCharacterInfo* clone(DtReaderWriterRegistry* const parentRegistry = 0) const;
84 
85 protected:
86 
92 
96  std::vector<DtString> myUsedAppearances;
97 };
98 
99 
100 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)