• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

epics/apps/crucible/stream/src/StreamFormat.h (r4864/r2310)

Go to the documentation of this file.
00001 /***************************************************************
00002 * StreamDevice Support                                         *
00003 *                                                              *
00004 * (C) 1999 Dirk Zimoch (zimoch@delta.uni-dortmund.de)          *
00005 * (C) 2005 Dirk Zimoch (dirk.zimoch@psi.ch)                    *
00006 *                                                              *
00007 * This header defines the format stucture used to interface    *
00008 * format converters and record interfaces to StreamDevice      *
00009 * Please refer to the HTML files in ../doc/ for a detailed     *
00010 * documentation.                                               *
00011 *                                                              *
00012 * If you do any changes in this file, you are not allowed to   *
00013 * redistribute it any more. If there is a bug or a missing     *
00014 * feature, send me an email and/or your patch. If I accept     *
00015 * your changes, they will go to the next release.              *
00016 *                                                              *
00017 * DISCLAIMER: If this software breaks something or harms       *
00018 * someone, it's your problem.                                  *
00019 *                                                              *
00020 ***************************************************************/
00021 
00022 #ifndef StreamFormat_h
00023 #define StreamFormat_h
00024 
00025 typedef enum {
00026     left_flag    = 0x01,
00027     sign_flag    = 0x02,
00028     space_flag   = 0x04,
00029     alt_flag     = 0x08,
00030     zero_flag    = 0x10,
00031     skip_flag    = 0x20,
00032     default_flag = 0x40,
00033     compare_flag = 0x80
00034 } StreamFormatFlag;
00035 
00036 typedef enum {
00037     long_format   = 1,
00038     enum_format   = 2,
00039     double_format = 3,
00040     string_format = 4,
00041     pseudo_format = 5
00042 } StreamFormatType;
00043 
00044 extern const char* StreamFormatTypeStr[];
00045 
00046 typedef struct StreamFormat
00047 {
00048     char conv;
00049     StreamFormatType type;
00050     unsigned char flags;
00051     short prec;
00052     unsigned short width;
00053     unsigned short infolen;
00054     const char* info;
00055 } StreamFormat;
00056 
00057 #endif

Generated on Tue Dec 10 2013 04:52:22 for ROCsoft by  doxygen 1.7.1