casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
asdmbinaries::HeaderParser Class Reference

class HeaderParser More...

#include <SDMDataObjectParser.h>

List of all members.

Public Member Functions

 HeaderParser ()
virtual ~HeaderParser ()
void parseFile (const string &filename, SDMDataObject &sdmDataObject)
void parseMemory (const string &buffer, SDMDataObject &sdmDataObject)
void reset ()
 HeaderParser ()
virtual ~HeaderParser ()
void parseFile (const string &filename, SDMDataObject &sdmDataObject)
void parseMemory (const string &buffer, SDMDataObject &sdmDataObject)
void reset ()

Private Member Functions

void parseSDMDataHeader (xmlNode *a_node, SDMDataObject &sdmDataObject)
long long parseStartTime (xmlNode *a_node)
 void parseProjectPath(xmlNode* a_node, SDMDataObject& sdmDataObject);
string parseDataOID (xmlNode *a_node)
int parseDimensionality (xmlNode *a_node)
int parseNumTime (xmlNode *a_node)
void parseExecBlock (xmlNode *a_node, SDMDataObject &sdmDataObject)
int parseExecBlockNum (xmlNode *a_node)
int parseScanNum (xmlNode *a_node)
int parseSubscanNum (xmlNode *a_node)
int parseNumAntenna (xmlNode *a_node)
void parseCorrelationMode (xmlNode *a_node, SDMDataObject &sdmDataObject)
void parseSpectralResolution (xmlNode *a_node, SDMDataObject &sdmDataObject)
void parseProcessorType (xmlNode *a_node, SDMDataObject &sdmDataObject)
void parseDataStruct (xmlNode *a_node, SDMDataObject &sdmDataObject)
SDMDataObject::Baseband parseBaseband (xmlNode *a_node, SDMDataObject &sdmDataObject)
void parseSpectralWindow (xmlNode *a_node, SDMDataObject &sdmDataObject, vector< SDMDataObject::SpectralWindow > &spectralWindow)
SDMDataObject::BinaryPart parseBinaryPart (xmlNode *a_node, const string &attachmentName)
SDMDataObject::AutoDataBinaryPart parseAutoDataBinaryPart (xmlNode *a_node, const string &attachmentName)
SDMDataObject::ZeroLagsBinaryPart parseZeroLagsBinaryPart (xmlNode *a_node, const string &attachmentName)
void parseSDMDataHeader (xmlNode *a_node, SDMDataObject &sdmDataObject)
long long parseStartTime (xmlNode *a_node)
 void parseProjectPath(xmlNode* a_node, SDMDataObject& sdmDataObject);
string parseDataOID (xmlNode *a_node)
int parseDimensionality (xmlNode *a_node)
int parseNumTime (xmlNode *a_node)
void parseExecBlock (xmlNode *a_node, SDMDataObject &sdmDataObject)
int parseExecBlockNum (xmlNode *a_node)
int parseScanNum (xmlNode *a_node)
int parseSubscanNum (xmlNode *a_node)
int parseNumAntenna (xmlNode *a_node)
void parseCorrelationMode (xmlNode *a_node, SDMDataObject &sdmDataObject)
void parseSpectralResolution (xmlNode *a_node, SDMDataObject &sdmDataObject)
void parseProcessorType (xmlNode *a_node, SDMDataObject &sdmDataObject)
void parseDataStruct (xmlNode *a_node, SDMDataObject &sdmDataObject)
SDMDataObject::Baseband parseBaseband (xmlNode *a_node, SDMDataObject &sdmDataObject)
void parseSpectralWindow (xmlNode *a_node, SDMDataObject &sdmDataObject, vector< SDMDataObject::SpectralWindow > &spectralWindow)
SDMDataObject::BinaryPart parseBinaryPart (xmlNode *a_node, const string &attachmentName)
SDMDataObject::AutoDataBinaryPart parseAutoDataBinaryPart (xmlNode *a_node, const string &attachmentName)
SDMDataObject::ZeroLagsBinaryPart parseZeroLagsBinaryPart (xmlNode *a_node, const string &attachmentName)

Private Attributes

xmlDocdoc
 SDMDataObject::TypedBinaryPart parseTypedBinaryPart(xmlNode* a_node, const string& attachmentName);.

Static Private Attributes

static const regex PROJECTPATH3
static const string SDMDATAHEADER
static const string SCHEMAVERSION
static const string BYTEORDER
static const string PROJECTPATH
static const string STARTTIME
static const string DATAOID
static const string XLINKHREF
static const string XLINKTITLE
static const string DIMENSIONALITY
static const string NUMTIME
static const string EXECBLOCK
static const string EXECBLOCKNUM
static const string SCANNUM
static const string SUBSCANNUM
static const string NUMANTENNA
static const string CORRELATIONMODE
static const string SPECTRALRESOLUTION
static const string PROCESSORTYPE
static const string DATASTRUCT
static const string APC
static const string REF
static const string BASEBAND
static const string NAME
static const string SPECTRALWINDOW
static const string SW
static const string SWBB
static const string CROSSPOLPRODUCTS
static const string SDPOLPRODUCTS
static const string SCALEFACTOR
static const string NUMSPECTRALPOINT
static const string NUMBIN
static const string SIDEBAND
static const string IMAGE
static const string FLAGS
static const string ACTUALTIMES
static const string ACTUALDURATIONS
static const string ZEROLAGS
static const string CORRELATORTYPE
static const string CROSSDATA
static const string AUTODATA
static const string NORMALIZED
static const string SIZE
static const string AXES
static const string TYPE

Friends

class SDMDataObjectParser
class SDMDataObject

Detailed Description

class HeaderParser

Definition at line 109 of file SDMDataObjectParser.h.


Constructor & Destructor Documentation


Member Function Documentation

SDMDataObject::AutoDataBinaryPart asdmbinaries::HeaderParser::parseAutoDataBinaryPart ( xmlNode a_node,
const string &  attachmentName 
) [private]
SDMDataObject::AutoDataBinaryPart asdmbinaries::HeaderParser::parseAutoDataBinaryPart ( xmlNode a_node,
const string &  attachmentName 
) [private]
SDMDataObject::BinaryPart asdmbinaries::HeaderParser::parseBinaryPart ( xmlNode a_node,
const string &  attachmentName 
) [private]
SDMDataObject::BinaryPart asdmbinaries::HeaderParser::parseBinaryPart ( xmlNode a_node,
const string &  attachmentName 
) [private]
void asdmbinaries::HeaderParser::parseCorrelationMode ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseCorrelationMode ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
string asdmbinaries::HeaderParser::parseDataOID ( xmlNode a_node) [private]
string asdmbinaries::HeaderParser::parseDataOID ( xmlNode a_node) [private]
void asdmbinaries::HeaderParser::parseDataStruct ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseDataStruct ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseExecBlock ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseExecBlock ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseFile ( const string &  filename,
SDMDataObject sdmDataObject 
)
void asdmbinaries::HeaderParser::parseFile ( const string &  filename,
SDMDataObject sdmDataObject 
)
void asdmbinaries::HeaderParser::parseMemory ( const string &  buffer,
SDMDataObject sdmDataObject 
)
void asdmbinaries::HeaderParser::parseMemory ( const string &  buffer,
SDMDataObject sdmDataObject 
)
void asdmbinaries::HeaderParser::parseProcessorType ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseProcessorType ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseSDMDataHeader ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseSDMDataHeader ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseSpectralResolution ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseSpectralResolution ( xmlNode a_node,
SDMDataObject sdmDataObject 
) [private]
void asdmbinaries::HeaderParser::parseSpectralWindow ( xmlNode a_node,
SDMDataObject sdmDataObject,
vector< SDMDataObject::SpectralWindow > &  spectralWindow 
) [private]
void asdmbinaries::HeaderParser::parseSpectralWindow ( xmlNode a_node,
SDMDataObject sdmDataObject,
vector< SDMDataObject::SpectralWindow > &  spectralWindow 
) [private]
long long asdmbinaries::HeaderParser::parseStartTime ( xmlNode a_node) [private]

void parseProjectPath(xmlNode* a_node, SDMDataObject& sdmDataObject);

long long asdmbinaries::HeaderParser::parseStartTime ( xmlNode a_node) [private]

void parseProjectPath(xmlNode* a_node, SDMDataObject& sdmDataObject);

SDMDataObject::ZeroLagsBinaryPart asdmbinaries::HeaderParser::parseZeroLagsBinaryPart ( xmlNode a_node,
const string &  attachmentName 
) [private]
SDMDataObject::ZeroLagsBinaryPart asdmbinaries::HeaderParser::parseZeroLagsBinaryPart ( xmlNode a_node,
const string &  attachmentName 
) [private]

Friends And Related Function Documentation

SDMDataObject [friend]

Definition at line 111 of file SDMDataObjectParser.h.

Definition at line 110 of file SDMDataObjectParser.h.


Member Data Documentation

static const string asdmbinaries::HeaderParser::ACTUALDURATIONS [static, private]

Definition at line 199 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::ACTUALTIMES [static, private]

Definition at line 198 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::APC [static, private]

Definition at line 180 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::AUTODATA [static, private]

Definition at line 203 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::AXES [static, private]

Definition at line 207 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::BASEBAND [static, private]

Definition at line 183 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::BYTEORDER [static, private]

Definition at line 159 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::CORRELATIONMODE [static, private]

Definition at line 176 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::CORRELATORTYPE [static, private]

Definition at line 201 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::CROSSDATA [static, private]

Definition at line 202 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::CROSSPOLPRODUCTS [static, private]

Definition at line 189 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::DATAOID [static, private]

Definition at line 162 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::DATASTRUCT [static, private]

Definition at line 179 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::DIMENSIONALITY [static, private]

Definition at line 166 of file SDMDataObjectParser.h.

SDMDataObject::TypedBinaryPart parseTypedBinaryPart(xmlNode* a_node, const string& attachmentName);.

Definition at line 154 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::EXECBLOCK [static, private]

Definition at line 169 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::EXECBLOCKNUM [static, private]

Definition at line 170 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::FLAGS [static, private]

Definition at line 197 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::IMAGE [static, private]

Definition at line 195 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::NAME [static, private]

Definition at line 184 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::NORMALIZED [static, private]

Definition at line 204 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::NUMANTENNA [static, private]

Definition at line 174 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::NUMBIN [static, private]

Definition at line 193 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::NUMSPECTRALPOINT [static, private]

Definition at line 192 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::NUMTIME [static, private]

Definition at line 167 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::PROCESSORTYPE [static, private]

Definition at line 178 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::PROJECTPATH [static, private]

Definition at line 160 of file SDMDataObjectParser.h.

static const regex asdmbinaries::HeaderParser::PROJECTPATH3 [static, private]

Definition at line 156 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::REF [static, private]

Definition at line 181 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SCALEFACTOR [static, private]

Definition at line 191 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SCANNUM [static, private]

Definition at line 171 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SCHEMAVERSION [static, private]

Definition at line 158 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SDMDATAHEADER [static, private]

Definition at line 157 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SDPOLPRODUCTS [static, private]

Definition at line 190 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SIDEBAND [static, private]

Definition at line 194 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SIZE [static, private]

Definition at line 206 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SPECTRALRESOLUTION [static, private]

Definition at line 177 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SPECTRALWINDOW [static, private]

Definition at line 186 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::STARTTIME [static, private]

Definition at line 161 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SUBSCANNUM [static, private]

Definition at line 172 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SW [static, private]

Definition at line 187 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::SWBB [static, private]

Definition at line 188 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::TYPE [static, private]

Definition at line 208 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::XLINKHREF [static, private]

Definition at line 163 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::XLINKTITLE [static, private]

Definition at line 164 of file SDMDataObjectParser.h.

static const string asdmbinaries::HeaderParser::ZEROLAGS [static, private]

Definition at line 200 of file SDMDataObjectParser.h.


The documentation for this class was generated from the following files: