00001 //## begin module%37B8C54700AE.cm preserve=no 00002 // %X% %Q% %Z% %W% 00003 //## end module%37B8C54700AE.cm 00004 00005 //## begin module%37B8C54700AE.cp preserve=no 00006 //## end module%37B8C54700AE.cp 00007 00008 //## Module: IsstreamWithComments%37B8C54700AE; Pseudo Package specification 00009 //## Source file: E:\mpk\code\additional\streams\IsstreamWithComments.h 00010 00011 #ifndef IsstreamWithComments_h 00012 #define IsstreamWithComments_h 1 00013 00014 //## begin module%37B8C54700AE.additionalIncludes preserve=no 00015 //## end module%37B8C54700AE.additionalIncludes 00016 00017 //## begin module%37B8C54700AE.includes preserve=yes 00018 //## end module%37B8C54700AE.includes 00019 00020 // istrstream 00021 #include "istrstream.h" 00022 //## begin module%37B8C54700AE.additionalDeclarations preserve=yes 00023 //## end module%37B8C54700AE.additionalDeclarations 00024 00025 00026 //## begin IsstreamWithComments%37B8C54700AE.preface preserve=yes 00027 using std::istrstream ; 00028 //## end IsstreamWithComments%37B8C54700AE.preface 00029 00030 //## Class: IsstreamWithComments%37B8C54700AE 00031 //## Category: additional::streams%37B8C4D301C9 00032 //## Persistence: Transient 00033 //## Cardinality/Multiplicity: n 00034 00035 class IsstreamWithComments : public istrstream //## Inherits: <unnamed>%37B8D6A20189 00036 { 00037 //## begin IsstreamWithComments%37B8C54700AE.initialDeclarations preserve=yes 00038 //## end IsstreamWithComments%37B8C54700AE.initialDeclarations 00039 00040 public: 00041 //## Constructors (specified) 00042 //## Operation: IsstreamWithComments%935034312 00043 IsstreamWithComments (char* s, int size); 00044 00045 //## Destructor (generated) 00046 virtual ~IsstreamWithComments(); 00047 00048 00049 //## Other Operations (specified) 00050 //## Operation: getline%934854391 00051 IsstreamWithComments& getline (char* s, int streamsize, char delim = '\n'); 00052 00053 // Additional Public Declarations 00054 //## begin IsstreamWithComments%37B8C54700AE.public preserve=yes 00055 //## end IsstreamWithComments%37B8C54700AE.public 00056 00057 protected: 00058 // Data Members for Class Attributes 00059 00060 //## Attribute: commentChar%37BC48F00163 00061 //## begin IsstreamWithComments::commentChar%37BC48F00163.attr preserve=no protected: char {UA} '%' 00062 char commentChar; 00063 //## end IsstreamWithComments::commentChar%37BC48F00163.attr 00064 00065 // Additional Protected Declarations 00066 //## begin IsstreamWithComments%37B8C54700AE.protected preserve=yes 00067 //## end IsstreamWithComments%37B8C54700AE.protected 00068 00069 private: 00070 // Additional Private Declarations 00071 //## begin IsstreamWithComments%37B8C54700AE.private preserve=yes 00072 //## end IsstreamWithComments%37B8C54700AE.private 00073 00074 private: //## implementation 00075 // Additional Implementation Declarations 00076 //## begin IsstreamWithComments%37B8C54700AE.implementation preserve=yes 00077 //## end IsstreamWithComments%37B8C54700AE.implementation 00078 00079 }; 00080 00081 //## begin IsstreamWithComments%37B8C54700AE.postscript preserve=yes 00082 //## end IsstreamWithComments%37B8C54700AE.postscript 00083 00084 // Class IsstreamWithComments 00085 00086 //## begin module%37B8C54700AE.epilog preserve=yes 00087 //## end module%37B8C54700AE.epilog 00088 00089 00090 #endif