VR-Forces 4.0.4 Class Documentation
include/extMtl/extFileInputStream.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: extFileInputStream.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtExtFileInputStream_H_
00013 #define DtExtFileInputStream_H_
00014 
00015 #include <vlutil/vlMachineTypes.h>
00016 #include <mtl/mtlstream.h>
00017 
00018 #include <string>
00019 
00025 #include "extMtl/extMtlDefines.h"
00026 
00027 class DT_DLL_extMtl DtExtFileInputStream :
00028    public DtlFileInputStream
00029 {
00030 public:
00031    DtExtFileInputStream(FILE *);
00032    virtual ~DtExtFileInputStream(void);
00033 
00034    int fgetc_past_whitespace(void);
00035    
00036    int flush_until(char terminator);
00037 
00040    virtual void clearLastWhitespace();
00041 
00044    virtual const std::string& lastWhitespace() const;
00045 
00048    virtual const std::string& initialWhitespace() const;
00049 
00050 protected:
00051 
00052    bool myInitialWhitespaceIsSet;
00053    std::string myInitialWhitespace;
00054    std::string myLastWhitespace;
00055 };
00056 
00057 #endif
00058 

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)