casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
TBXMLDriver.h File Reference

Go to the source code of this file.

Functions

static casacore::String dowork (const char *buff)
 
static casacore::String createVOTab (casacore::String tablename, int totalrows, casacore::Vector< casacore::String > colnames, casacore::Vector< casacore::String > datatype, casacore::String records, casacore::String keyword, casacore::Bool insRowOk, casacore::Bool delRowOk, casacore::String columnkeywords)
 Creates the XML representation of a VOTable from the given parameters. More...
 
static casacore::String createKeyword (casacore::TableRecord &trec, int a)
 Creates the XML representation of a keyword from the given parameters. More...
 
static int SendData (int fd, const casacore::String &hits)
 Sends the given String. More...
 
static char * mkReturnResult (const casacore::String &hits)
 Makes the return result from the given String. More...
 
static casacore::Bool setupComm (casacore::Int &fd)
 Sets up communication. More...
 
static int readn (int fd, char *ptr, int nbytes)
 Reads input into the given char*. More...
 
static int writen (int fd, char *ptr, int nbytes)
 Writes output to the given char*. More...
 

Variables

static const bool showdebug
 Indicates whether debug information should be printed or not. More...
 
static const int BUF_SIZE
 Buffer size. More...
 
static const int PacketSize
 Packet size. More...
 

Function Documentation

static casacore::String createKeyword ( casacore::TableRecord trec,
int  a 
)
staticprivate

Creates the XML representation of a keyword from the given parameters.

static casacore::String createVOTab ( casacore::String  tablename,
int  totalrows,
casacore::Vector< casacore::String colnames,
casacore::Vector< casacore::String datatype,
casacore::String  records,
casacore::String  keyword,
casacore::Bool  insRowOk,
casacore::Bool  delRowOk,
casacore::String  columnkeywords 
)
staticprivate

Creates the XML representation of a VOTable from the given parameters.

static casacore::String dowork ( const char *  buff)
static
static char* mkReturnResult ( const casacore::String hits)
staticprivate

Makes the return result from the given String.

static int readn ( int  fd,
char *  ptr,
int  nbytes 
)
staticprivate

Reads input into the given char*.

static int SendData ( int  fd,
const casacore::String hits 
)
staticprivate

Sends the given String.

static casacore::Bool setupComm ( casacore::Int fd)
staticprivate

Sets up communication.

static int writen ( int  fd,
char *  ptr,
int  nbytes 
)
staticprivate

Writes output to the given char*.

Variable Documentation

const int BUF_SIZE
static

Buffer size.

Definition at line 113 of file TBXMLDriver.h.

const int PacketSize
static

Packet size.

Definition at line 116 of file TBXMLDriver.h.

const bool showdebug
static

Indicates whether debug information should be printed or not.

Definition at line 110 of file TBXMLDriver.h.