home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / b / bfast.zip / FIELD.HPP < prev    next >
C/C++ Source or Header  |  1992-03-18  |  481b  |  31 lines

  1. #ifndef CL__FIELD
  2. #define CL__FIELD
  3. #endif
  4.  
  5. typedef struct
  6. {
  7.     char* FldName;  // field title
  8.     char  FldType;
  9.     int   offset;
  10.     int   FldLen;
  11. }Field;
  12.  
  13.  
  14. class FIELD
  15. {
  16. public:
  17.     Field *fld;
  18.     int fNo;        // No. of fields
  19. public:
  20.     FIELD(Field xfld[], int fldNo);
  21.     ~FIELD();
  22.     char* fName(int);
  23.     fType(char*);
  24.     fType(int);
  25.     fWidth(char*);
  26.     fWidth(int);
  27.     int fNumber(void);
  28.     int fPost(char*);
  29.     void fTitle(int ,char*);
  30. };
  31.