fof_util.h
Go to the documentation of this file.
1 //
2 // $Id$
3 //
4 /*{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}
5 * Name: fof_util.h
6 * Desc: Various utility functions
7 * Author: Larry Gangi
8 *}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}*/
9 
10 void HrMinSec (int i_Seconds, char cr_Out[]);
11 
12 void Remove_FN (char cr[]);
13 void Rem_Path (char cr_Arg[], char cr_New[] );
14 float Basal_Area (float f_DBH, float f_Cnt );
15 float Calc_Scorch (float f_flame );
16 float Calc_Flame (float f_Scorch);
17 
18 void Blk_End_Line ( char cr_Line[], int i_Len);
19 void ToInt ( int *ai, char *cr_RB, int iA_Col, int iB_Col );
20 void ToStr ( char *cr_Out, char *cr_In, int iA_Col, int iB_Col );
21 void ToFlo ( float *af, char *cr_RB, int iA_Col, int iB_Col );
22 int isBlankCR (char cr[] );
23 int isBlank (char cr[] );
24 int isBlank_Tab (char cr[] );
25 void Rem_LT_Blanks(char cr[]);
26 char Get_NumTyp (char cr_Data[]);
27 void EndNull (char cr[]);
28 void Trim_LT (char cr[]);
29 void Left_Just (char cr[] );
30 void StrRepChr (char cr[], char c_This, char c_That );
31 void Remove_Path (char cr_Arg[], char cr_New[] );
32 void App_Ext (char cr_FN[], char cr_Ext[] );
33 int isFile (char cr_PathFN[]);
34 float InchMeter (float f_Inch);
35 float TPA_To_KiSq (float f_TPA);
36 float KgSq_To_TPA (float f_KgSq);
37 
38 int isBlankCR (char cr[]);
39 void SetLen7 (char cr[]);
40 
41 int _GetLine (char cr_Bur[], char cr_Line[], int i_Row);
int isBlankCR(char cr[])
Definition: fof_util.c:243
void ToInt(int *ai, char *cr_RB, int iA_Col, int iB_Col)
Definition: fof_util.c:135
void SetLen7(char cr[])
Definition: fof_util.c:51
int _GetLine(char cr_Bur[], char cr_Line[], int i_Row)
Definition: fof_util.c:571
void StrRepChr(char cr[], char c_This, char c_That)
Definition: fof_util.c:311
float Calc_Scorch(float f_flame)
Definition: fof_util.c:80
float TPA_To_KiSq(float f_TPA)
Definition: fof_util.c:516
void Trim_LT(char cr[])
Definition: fof_util.c:267
void App_Ext(char cr_FN[], char cr_Ext[])
Definition: fof_util.c:375
void HrMinSec(int i_Seconds, char cr_Out[])
Definition: fof_util.c:544
char Get_NumTyp(char cr_Data[])
Definition: fof_util.c:401
int isFile(char cr_PathFN[])
Definition: fof_util.c:484
void Left_Just(char cr[])
Definition: fof_util.c:288
void Blk_End_Line(char cr_Line[], int i_Len)
Definition: fof_util.c:114
void Remove_FN(char cr[])
Definition: fof_util.c:350
float Basal_Area(float f_DBH, float f_Cnt)
Definition: fof_util.c:64
int isBlank(char cr[])
Definition: fof_util.c:199
void Rem_Path(char cr_Arg[], char cr_New[])
Definition: fof_util.c:329
void ToFlo(float *af, char *cr_RB, int iA_Col, int iB_Col)
Definition: fof_util.c:180
float KgSq_To_TPA(float f_KgSq)
Definition: fof_util.c:529
void ToStr(char *cr_Out, char *cr_In, int iA_Col, int iB_Col)
Definition: fof_util.c:156
void Remove_Path(char cr_Arg[], char cr_New[])
float Calc_Flame(float f_Scorch)
Definition: fof_util.c:96
float InchMeter(float f_Inch)
Definition: fof_util.c:503
int isBlank_Tab(char cr[])
Definition: fof_util.c:221
void Rem_LT_Blanks(char cr[])
Definition: fof_util.c:451
void EndNull(char cr[])
Definition: fof_util.c:463