Ifpack Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions
Parser_dh.c File Reference
#include "Parser_dh.h"
#include "Mem_dh.h"
Include dependency graph for Parser_dh.c:

Go to the source code of this file.

Classes

struct  _parser_dh
 
struct  _optionsNode
 

Macros

#define __FUNC__   "Parser_dhCreate"
 
#define __FUNC__   "Parser_dhDestroy"
 
#define __FUNC__   "Parser_dhUpdateFromFile"
 
#define __FUNC__   "Parser_dhInit"
 
#define __FUNC__   "Parser_dhHasSwitch"
 
#define __FUNC__   "Parser_dhReadInt"
 
#define __FUNC__   "Parser_dhReadDouble"
 
#define __FUNC__   "Parser_dhReadString"
 
#define __FUNC__   "Parser_dhPrint"
 
#define __FUNC__   "Parser_dhInsert"
 
#define __FUNC__   "find"
 
#define __FUNC__   "init_from_default_settings_private"
 

Typedefs

typedef struct _optionsNode OptionsNode
 

Functions

static bool find (Parser_dh p, char *option, OptionsNode **ptr)
 
static void init_from_default_settings_private (Parser_dh p)
 
void Parser_dhCreate (Parser_dh *p)
 
void Parser_dhDestroy (Parser_dh p)
 
void Parser_dhUpdateFromFile (Parser_dh p, char *filename)
 
void Parser_dhInit (Parser_dh p, int argc, char *argv[])
 
bool Parser_dhHasSwitch (Parser_dh p, char *s)
 
bool Parser_dhReadInt (Parser_dh p, char *in, int *out)
 
bool Parser_dhReadDouble (Parser_dh p, char *in, double *out)
 
bool Parser_dhReadString (Parser_dh p, char *in, char **out)
 
void Parser_dhPrint (Parser_dh p, FILE *fp, bool allPrint)
 
void Parser_dhInsert (Parser_dh p, char *option, char *value)
 

Macro Definition Documentation

#define __FUNC__   "Parser_dhCreate"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhDestroy"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhUpdateFromFile"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhInit"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhHasSwitch"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhReadInt"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhReadDouble"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhReadString"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhPrint"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "Parser_dhInsert"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "find"

Definition at line 400 of file Parser_dh.c.

#define __FUNC__   "init_from_default_settings_private"

Definition at line 400 of file Parser_dh.c.

Typedef Documentation

typedef struct _optionsNode OptionsNode

Definition at line 46 of file Parser_dh.c.

Function Documentation

bool find ( Parser_dh  p,
char *  option,
OptionsNode **  ptr 
)
static

Definition at line 382 of file Parser_dh.c.

void init_from_default_settings_private ( Parser_dh  p)
static

Definition at line 402 of file Parser_dh.c.

void Parser_dhCreate ( Parser_dh p)

Definition at line 68 of file Parser_dh.c.

void Parser_dhDestroy ( Parser_dh  p)

Definition at line 94 of file Parser_dh.c.

void Parser_dhUpdateFromFile ( Parser_dh  p,
char *  filename 
)

Definition at line 116 of file Parser_dh.c.

void Parser_dhInit ( Parser_dh  p,
int  argc,
char *  argv[] 
)

Definition at line 148 of file Parser_dh.c.

bool Parser_dhHasSwitch ( Parser_dh  p,
char *  s 
)

Definition at line 213 of file Parser_dh.c.

bool Parser_dhReadInt ( Parser_dh  p,
char *  in,
int *  out 
)

Definition at line 249 of file Parser_dh.c.

bool Parser_dhReadDouble ( Parser_dh  p,
char *  in,
double *  out 
)

Definition at line 272 of file Parser_dh.c.

bool Parser_dhReadString ( Parser_dh  p,
char *  in,
char **  out 
)

Definition at line 287 of file Parser_dh.c.

void Parser_dhPrint ( Parser_dh  p,
FILE *  fp,
bool  allPrint 
)

Definition at line 303 of file Parser_dh.c.

void Parser_dhInsert ( Parser_dh  p,
char *  option,
char *  value 
)

Definition at line 335 of file Parser_dh.c.