VR-Forces 4.0.4 Class Documentation
include/vrfutil/ceEntLOfLine.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ceEntLOfLine.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtCeLeftOfLine_H_
00013 #define DtCeLeftOfLine_H_
00014 
00015 #include "vrfutil/rdrWritr.h"
00016 #include "vrfutil/rwString.h"
00017 #include "vrfutil/condExpr.h"
00018 
00019 const char DtCeEntLeftOfLineTypeName[] = "LeftOfLine";
00020 
00021 
00024 struct DtNetCeEntLeftOfLine
00025 {
00026    DtNetU8 myEntityNameStringLength;  
00027    DtNetU8 myLineStringLength;        
00028    DtNetU8 myModifierStringLength;    
00029    DtNetU8 myPadding;                 
00030    DtNetU8 myPadding1;                
00031    DtNetU8 myPadding2;                
00032    DtNetU8 myPadding3;                
00033    DtNetU8 myPadding4;                
00034 };
00035 
00040 #include "vrfutil/vrfutilDefines.h"
00041 class DT_DLL_vrfutil DtCeEntLeftOfLine : public DtSimCondExpr
00042 {
00043 public:
00044 
00046    DtCeEntLeftOfLine();
00047 
00049    DtCeEntLeftOfLine(DtReaderWriterRegistry* parentRegistry);
00050 
00052    DtCeEntLeftOfLine(const DtCeEntLeftOfLine& orig,
00053       DtReaderWriterRegistry* parentRegistry = NULL);
00054 
00056    virtual ~DtCeEntLeftOfLine();
00057 
00059    DtCeEntLeftOfLine& operator=(const DtCeEntLeftOfLine& orig);
00060 
00062    virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL);
00063 
00065    virtual int type() const;
00066 
00068    virtual void setEntityName(const DtString& name);
00069    virtual const DtString& entityName() const;
00070 
00072    virtual void setLineName(const DtString& lineName);
00073    virtual const DtString& lineName() const;
00074 
00081    virtual void setModifier(const DtString& arg);
00082    virtual const DtString& modifier() const;
00083 
00093    virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const;
00094 
00097    virtual int netRepSize() const;
00098 
00100    virtual bool setFromNet(const char* contentBuffer, 
00101       unsigned contentSize);
00102 
00105    virtual bool setToNet();
00106 
00107    static DtSimCondExpr * creator();
00108 
00109 protected:
00110    DtRwString myEntityName;
00111    DtRwString myLineName;
00112    DtRwString myModifier;
00113 };
00114 
00115 #endif
00116 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)