#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#include <errno.h>
#include <iostream>
#include <sstream>
#include "debug.h"
#include "parser.h"
#include "dods-limits.h"
#include "util.h"
Include dependency graph for parser-util.cc:
Go to the source code of this file.
Functions | |
int | check_byte (const char *val) |
Is the value a valid byte? | |
int | check_float32 (const char *val) |
Is the value a valid float? | |
int | check_float64 (const char *val) |
int | check_int16 (const char *val) |
Is the value a valid integer? | |
int | check_int32 (const char *val) |
int | check_uint16 (const char *val) |
int | check_uint32 (const char *val) |
int | check_url (const char *) |
Is the value a valid URL? | |
bool | is_keyword (string id, const string &keyword) |
void | parse_error (const string &msg, const int line_num, const char *context) |
void | parse_error (const char *msg, const int line_num, const char *context) |
void | parse_error (parser_arg *arg, const char *msg, const int line_num, const char *context) |
void | save_str (string &dst, const char *src, const int) |
void | save_str (char *dst, const char *src, const int line_num) |
Save a string to a temporary variable during the parse. |
|
Check to see if
Definition at line 157 of file parser-util.cc. References DBG. |
|
Like Definition at line 247 of file parser-util.cc. References DBG, and DODS_FLT_MAX. |
|
Definition at line 275 of file parser-util.cc. References DBG, and DODS_DBL_MAX. |
|
Like Definition at line 183 of file parser-util.cc. References DODS_SHRT_MAX. |
|
Definition at line 215 of file parser-util.cc. References DODS_INT_MAX. |
|
Definition at line 199 of file parser-util.cc. |
|
Definition at line 231 of file parser-util.cc. |
|
Currently this function always returns true. Definition at line 332 of file parser-util.cc. |
|
Definition at line 149 of file parser-util.cc. References DBG, downcase(), and prune_spaces(). |
Here is the call graph for this function:
|
Definition at line 128 of file parser-util.cc. Referenced by save_str(). |
|
Definition at line 99 of file parser-util.cc. References append_long_to_string(). |
Here is the call graph for this function:
|
Definition at line 68 of file parser-util.cc. |
|
Definition at line 144 of file parser-util.cc. |
|
Given a string (
Definition at line 133 of file parser-util.cc. |