![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: ceEntDiGuyAppearance.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ** Created: 12/09/08 MEM 00008 *******************************************************************************/ 00009 00012 00013 #ifndef ceEntDiGuyAppearance_H_ 00014 #define ceEntDiGuyAppearance_H_ 00015 00016 #include "vrfutil/rdrWritr.h" 00017 #include "vrfutil/rwString.h" 00018 #include "vrfutil/rwBoolean.h" 00019 00020 #include "vrfutil/condExpr.h" 00021 00022 const char DtCeEntDiGuyAppearanceTypeName[] = "DiGuyAppearance"; 00023 00026 struct DtNetCeEntDiGuyAppearance 00027 { 00028 DtNetU8 myEntityNameStringLength; 00029 DtNetU8 myDiGuyAppearanceStringLength; 00030 DtNetU8 myModifierStringLength; 00031 DtNetU8 myPadding1; 00032 }; 00033 00039 #include "vrfutil/vrfutilDefines.h" 00040 class DT_DLL_vrfutil DtCeEntDiGuyAppearance : public DtSimCondExpr 00041 { 00042 public: 00043 00045 DtCeEntDiGuyAppearance(); 00046 00048 DtCeEntDiGuyAppearance(DtReaderWriterRegistry* parentRegistry); 00049 00051 DtCeEntDiGuyAppearance(const DtCeEntDiGuyAppearance& orig, 00052 DtReaderWriterRegistry* parentRegistry = NULL); 00053 00055 virtual ~DtCeEntDiGuyAppearance(); 00056 00058 DtCeEntDiGuyAppearance& operator=(const DtCeEntDiGuyAppearance& orig); 00059 00061 virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL); 00062 00064 virtual int type() const; 00065 00067 virtual void setEntityName(const DtString& name); 00068 virtual const DtString& entityName() const; 00069 00071 virtual void setDiGuyAppearance(const DtString& name); 00072 virtual const DtString& diGuyAppearance() const; 00073 00078 virtual void setModifier(const DtString& arg); 00079 virtual const DtString& modifier() const; 00080 00090 virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const; 00091 00094 virtual int netRepSize() const; 00095 00097 virtual bool setFromNet(const char* contentBuffer, 00098 unsigned contentSize); 00099 00102 virtual bool setToNet(); 00103 00104 static DtSimCondExpr * creator(); 00105 00106 protected: 00107 DtRwString myEntityName; 00108 DtRwString myModifier; 00109 DtRwString myDiGuyAppearance; 00110 }; 00111 00112 #endif 00113 00114