#include <ctype.h>
#include <math.h>
#include "odldef.h"
#include "odlinter.h"
Go to the source code of this file.
|
int | ODLFormatInteger (char stmt[], VALUE_DATA *item) |
|
int | ODLFormatReal (char *stmt, VALUE_DATA *item) |
|
int | ODLFormatUnits (char *stmt, struct ODLUnits *units) |
|
int | ODLFormatSymbol (char *stmt, VALUE_DATA *item) |
|
int | ODLFormatDate (char *stmt, VALUE_DATA *item) |
|
int | ODLFormatTime (char *stmt, VALUE_DATA *item) |
|
int | ODLFormatDateTime (char *stmt, VALUE_DATA *item) |
|
int | ODLFormatString (char stmt[], VALUE_DATA *item, int *column, int left_margin, int right_margin, int format_flag, int is_pointer) |
|
int | ODLFormatComment (char *stmt, char *comment, int left_margin, int right_margin) |
|
◆ indentf [1/2]
#define indentf |
( |
|
X | ) |
for (i=0 ; i < X ; i++) stmt[len++] = ' ' |
◆ indentf [2/2]
#define indentf |
( |
|
X | ) |
for (i=0 ; i < X ; i++) stmt[len++] = ' ' |
◆ MAX_LEFT_MARGIN [1/2]
#define MAX_LEFT_MARGIN 32 |
◆ MAX_LEFT_MARGIN [2/2]
#define MAX_LEFT_MARGIN 32 |
◆ MAX_RIGHT_MARGIN [1/2]
#define MAX_RIGHT_MARGIN 317 |
◆ MAX_RIGHT_MARGIN [2/2]
#define MAX_RIGHT_MARGIN 317 |
◆ MIN_LINE_LENGTH [1/2]
#define MIN_LINE_LENGTH 40 |
◆ MIN_LINE_LENGTH [2/2]
#define MIN_LINE_LENGTH 40 |
◆ TAB_SIZE
◆ ODLFormatComment()
int ODLFormatComment |
( |
char * |
stmt, |
|
|
char * |
comment, |
|
|
int |
left_margin, |
|
|
int |
right_margin |
|
) |
| |
◆ ODLFormatDate()
int ODLFormatDate |
( |
char * |
stmt, |
|
|
VALUE_DATA * |
item |
|
) |
| |
◆ ODLFormatDateTime()
int ODLFormatDateTime |
( |
char * |
stmt, |
|
|
VALUE_DATA * |
item |
|
) |
| |
◆ ODLFormatInteger()
int ODLFormatInteger |
( |
char |
stmt[], |
|
|
VALUE_DATA * |
item |
|
) |
| |
◆ ODLFormatReal()
int ODLFormatReal |
( |
char * |
stmt, |
|
|
VALUE_DATA * |
item |
|
) |
| |
◆ ODLFormatString()
int ODLFormatString |
( |
char |
stmt[], |
|
|
VALUE_DATA * |
item, |
|
|
int * |
column, |
|
|
int |
left_margin, |
|
|
int |
right_margin, |
|
|
int |
format_flag, |
|
|
int |
is_pointer |
|
) |
| |
◆ ODLFormatSymbol()
int ODLFormatSymbol |
( |
char * |
stmt, |
|
|
VALUE_DATA * |
item |
|
) |
| |
◆ ODLFormatTime()
int ODLFormatTime |
( |
char * |
stmt, |
|
|
VALUE_DATA * |
item |
|
) |
| |
◆ ODLFormatUnits()
int ODLFormatUnits |
( |
char * |
stmt, |
|
|
struct ODLUnits * |
units |
|
) |
| |