libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
|
#include "config.h"
#include <cstring>
#include <sstream>
#include <string>
#include <unistd.h>
#include "D4BaseTypeFactory.h"
#include "D4Connect.h"
#include "D4Group.h"
#include "D4Sequence.h"
#include "DMR.h"
#include "HTTPConnect.h"
#include "HTTPResponse.h"
#include "RCReader.h"
#include "StdinResponse.h"
#include "XMLWriter.h"
Go to the source code of this file.
Functions | |
unsigned long long | get_size (D4Group *grp, bool constrained=false) |
unsigned long long | get_size (DMR &dmr, bool constrained=false) |
int | main (int argc, char *argv[]) |
bool | read_data (FILE *fp) |
Variables | |
const char * | version = CVER " (" DVR " DAP/" DAP_PROTOCOL_VERSION ")" |
unsigned long long get_size | ( | D4Group * | grp, |
bool | constrained = false ) |
Get the size of a response. This method looks at the variables in the DDS a computes the number of bytes in the response.
constrained | Should the size of the whole DDS be used or should the current constraint be taken into account? |
Definition at line 174 of file getdap4.cc.
unsigned long long get_size | ( | DMR & | dmr, |
bool | constrained = false ) |
Definition at line 192 of file getdap4.cc.
int main | ( | int | argc, |
char * | argv[] ) |
Definition at line 194 of file getdap4.cc.
bool read_data | ( | FILE * | fp | ) |
Definition at line 107 of file getdap4.cc.
Definition at line 62 of file getdap4.cc.