metaproxy  1.13.0
Functions
gduutil.cpp File Reference
#include "gduutil.hpp"
#include <metaproxy/util.hpp>
#include <yaz/wrbuf.h>
#include <yaz/oid_db.h>
#include <yaz/querytowrbuf.h>
#include <iostream>
Include dependency graph for gduutil.cpp:

Go to the source code of this file.

Functions

static void dump_opt_string (std::ostream &os, const char *s)
 
static void dump_opt_int_l (std::ostream &os, const Odr_int *i, const char *lead)
 
static void dump_opt_int (std::ostream &os, const Odr_int *i)
 

Function Documentation

static void dump_opt_int ( std::ostream &  os,
const Odr_int *  i 
)
static

Definition at line 166 of file gduutil.cpp.

References dump_opt_int_l().

Referenced by std::operator<<().

167 {
168  dump_opt_int_l(os, i, " ");
169 }
static void dump_opt_int_l(std::ostream &os, const Odr_int *i, const char *lead)
Definition: gduutil.cpp:157

Here is the call graph for this function:

static void dump_opt_int_l ( std::ostream &  os,
const Odr_int *  i,
const char *  lead 
)
static

Definition at line 157 of file gduutil.cpp.

Referenced by dump_opt_int(), and std::operator<<().

158 {
159  os << lead;
160  if (i)
161  os << *i;
162  else
163  os << "-";
164 }
static void dump_opt_string ( std::ostream &  os,
const char *  s 
)
static

Definition at line 148 of file gduutil.cpp.

Referenced by std::operator<<().

149 {
150  os << " ";
151  if (s)
152  os << s;
153  else
154  os << "-";
155 }