VR-Forces 4.0.4 Class Documentation
include/vrfutil/rwString.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: rwString.h,v $ $Revision: 1.15 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtRwString_H_
00013 #define DtRwString_H_
00014 
00015 #include <vlutil/vlString.h>
00016 #include "vrfutil/rdrWritr.h"
00017 #include "vrfutil/vrfutilDefines.h"
00018 
00024 class DT_DLL_vrfutil DtRwString : public DtReaderWriter, public DtString
00025 {
00026 public:
00028    DtRwString();
00029 
00031    DtRwString(const DtString& name, DtReaderWriterRegistry* const parentRegistry = NULL);
00032    DtRwString(const DtSymbolString& name, DtReaderWriterRegistry* const parentRegistry = NULL);
00033 
00035    DtRwString(const DtString& name, 
00036               const char* fromChars,
00037               DtReaderWriterRegistry* const parentRegistry = NULL);
00038 
00039    DtRwString(const DtSymbolString& name, 
00040               const char* fromChars,
00041               DtReaderWriterRegistry* const parentRegistry = NULL);
00042 
00043    DtRwString(const DtString& name, 
00044               const DtString& fromString, 
00045               DtReaderWriterRegistry* const parentRegistry = NULL);
00046 
00047    DtRwString(const DtSymbolString& name, 
00048               const DtString& fromString, 
00049               DtReaderWriterRegistry* const parentRegistry = NULL);
00050 
00051    DtRwString(const DtString& name, 
00052               const DtRwString& fromString, 
00053               DtReaderWriterRegistry* const parentRegistry = NULL);
00054 
00055    DtRwString(const DtSymbolString& name, 
00056               const DtRwString& fromString, 
00057               DtReaderWriterRegistry* const parentRegistry = NULL);
00058 
00060    DtRwString(const DtRwString& orig, DtReaderWriterRegistry* const parentRegistry = NULL);
00061 
00063    DtRwString& operator=(const DtRwString & orig);
00064    DtRwString& operator=(const char * orig);
00065    DtRwString& operator=(const DtString & orig);
00066    DtRwString& operator=(const DtSymbolString & orig);
00067 
00068    virtual ~DtRwString();
00069 
00070    virtual void putData(FILE* fp, int indentLevel = 0);
00071    virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
00072       const DtVariableBindingsList& variableBindings);
00073 
00077    virtual const char* readerWriterType() const;
00078 
00081    virtual DtString unsubstitutedString() const;
00082 
00085    virtual void setUnsubstitutedString(const DtString&);
00086 
00091    virtual bool containsVariableSubstitutions() const;
00092 
00093 protected:
00094    DtString myUnsubstitutedString;
00095 
00096 };
00097 
00100 DT_DLL_vrfutil DtString DtEscapeString(const char* str);
00101 
00102 #endif
00103 

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)