additional/streams/IfstreamWithComments.h

Go to the documentation of this file.
00001 //## begin module%37BB862900F5.cm preserve=no
00002 //        %X% %Q% %Z% %W%
00003 //## end module%37BB862900F5.cm
00004 
00005 //## begin module%37BB862900F5.cp preserve=no
00006 //## end module%37BB862900F5.cp
00007 
00008 //## Module: IfstreamWithComments%37BB862900F5; Pseudo Package specification
00009 //## Source file: E:\mpk\code\additional\streams\IfstreamWithComments.h
00010 
00011 #ifndef IfstreamWithComments_h
00012 #define IfstreamWithComments_h 1
00013 
00014 //## begin module%37BB862900F5.additionalIncludes preserve=no
00015 //## end module%37BB862900F5.additionalIncludes
00016 
00017 //## begin module%37BB862900F5.includes preserve=yes
00018 //## end module%37BB862900F5.includes
00019 
00020 // ifstream
00021 #include "streams\ifstream.h"
00022 
00023 //## begin module%37BB862900F5.additionalDeclarations preserve=yes
00024 using std::ifstream ;
00025 using std::ios;
00026 using std::filebuf;
00027 //## end module%37BB862900F5.additionalDeclarations
00028 
00029 
00030 //## begin IfstreamWithComments%37BB862900F5.preface preserve=yes
00031 //## end IfstreamWithComments%37BB862900F5.preface
00032 
00033 //## Class: IfstreamWithComments%37BB862900F5
00034 //## Category: additional::streams%37B8C4D301C9
00035 //## Persistence: Transient
00036 //## Cardinality/Multiplicity: n
00037 
00038 class IfstreamWithComments : public ifstream  //## Inherits: <unnamed>%37BB86720154
00039 {
00040   //## begin IfstreamWithComments%37BB862900F5.initialDeclarations preserve=yes
00041   //## end IfstreamWithComments%37BB862900F5.initialDeclarations
00042 
00043   public:
00044     //## Constructors (specified)
00045       //## Operation: IfstreamWithComments%935034313
00046       IfstreamWithComments ();
00047 
00048     //## Destructor (generated)
00049       virtual ~IfstreamWithComments();
00050 
00051 
00052     //## Other Operations (specified)
00053       //## Operation: getline%935034311
00054       IfstreamWithComments& getline (char* s, int streamsize, char delim = '\n');
00055 
00056       //## Operation: eatwhite%935034314
00057       virtual void eatwhite ();
00058 
00059       //## Operation: GetSolidLine%935034316
00060       IfstreamWithComments& GetSolidLine (char* s, int streamsize, char delim = '\n');
00061 
00062     // Additional Public Declarations
00063       //## begin IfstreamWithComments%37BB862900F5.public preserve=yes
00064       //## end IfstreamWithComments%37BB862900F5.public
00065           void open( const char* szName, int nMode = ios::in );
00066 
00067   public:
00068           char path[_MAX_PATH];
00069           char filename[_MAX_FNAME];
00070 
00071   protected:
00072     // Data Members for Class Attributes
00073 
00074       //## Attribute: commentChar%37BC48EA03B3
00075       //## begin IfstreamWithComments::commentChar%37BC48EA03B3.attr preserve=no  protected: char {UA} '%'
00076       char commentChar;
00077       //## end IfstreamWithComments::commentChar%37BC48EA03B3.attr
00078 
00079     // Additional Protected Declarations
00080       //## begin IfstreamWithComments%37BB862900F5.protected preserve=yes
00081       //## end IfstreamWithComments%37BB862900F5.protected
00082 
00083   private:
00084     // Additional Private Declarations
00085       //## begin IfstreamWithComments%37BB862900F5.private preserve=yes
00086       //## end IfstreamWithComments%37BB862900F5.private
00087 
00088   private: //## implementation
00089     // Additional Implementation Declarations
00090       //## begin IfstreamWithComments%37BB862900F5.implementation preserve=yes
00091       //## end IfstreamWithComments%37BB862900F5.implementation
00092 
00093 };
00094 
00095 //## begin IfstreamWithComments%37BB862900F5.postscript preserve=yes
00096 //## end IfstreamWithComments%37BB862900F5.postscript
00097 
00098 // Class IfstreamWithComments 
00099 
00100 //## begin module%37BB862900F5.epilog preserve=yes
00101 //## end module%37BB862900F5.epilog
00102 
00103 
00104 #endif

Generated on Sat Apr 1 21:30:30 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO