00001 /* 00002 ** ---------------------------------------------------------------- 00003 ** prmio.h - Primitive input/output class. 00004 ** 00005 ** ---------------------------------------------------------------- 00006 */ 00007 #ifndef _PRMIO_H 00008 #define _PRMIO_H 00009 00030 /* 00031 ** --------------------------------------------------------------- 00032 ** Used global definitions: 00033 ** 00034 */ 00035 #include <stdio.h> /* FILE */ 00036 00037 /* 00038 ** ---------------------------------------------------------------- 00039 ** Public functions: 00040 ** 00041 */ 00042 00043 class PrmIO 00044 { 00045 private: 00046 /* 00047 ** --------------------------------------------------------------- 00048 ** Private class functions: 00049 ** 00050 */ 00051 /* --------------------------------------------------------------- */ 00063 static int NextLabel( FILE* fd, char* label ); 00064 00065 /* --------------------------------------------------------------- */ 00074 static long int GetColorCode( char* color_label ); 00075 00076 /* --------------------------------------------------------------- */ 00083 static void GetColorLabel( long int color, char* color_label ); 00084 00085 public: 00086 /* 00087 ** --------------------------------------------------------------- 00088 ** Public class functions: 00089 ** 00090 */ 00091 /* --------------------------------------------------------------- */ 00178 static int Interpret( FILE* fd ); 00179 00180 /* --------------------------------------------------------------- */ 00237 static void WriteList( FILE* fd ); 00238 00239 }; 00240 00243 #endif
1.4.2-20050421