casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
asdmbinaries::HeaderParser Class Reference

class HeaderParser More...

#include <SDMDataObjectParser.h>

Public Member Functions

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

Private Member Functions

void parseSDMDataHeader (xmlNode *a_node, SDMDataObject &sdmDataObject)
 
void parseProjectPath (xmlNode *a_node, SDMDataObject &sdmDataObject)
 
long long parseStartTime (xmlNode *a_node)
 
std::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, std::vector< SDMDataObject::SpectralWindow > &spectralWindow)
 
SDMDataObject::BinaryPart parseBinaryPart (xmlNode *a_node, const std::string &attachmentName)
 
SDMDataObject::AutoDataBinaryPart parseAutoDataBinaryPart (xmlNode *a_node, const std::string &attachmentName)
 
SDMDataObject::ZeroLagsBinaryPart parseZeroLagsBinaryPart (xmlNode *a_node, const std::string &attachmentName)
 

Private Attributes

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

Static Private Attributes

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

Friends

class SDMDataObjectParser
 
class SDMDataObject
 

Detailed Description

class HeaderParser

Definition at line 107 of file SDMDataObjectParser.h.

Constructor & Destructor Documentation

asdmbinaries::HeaderParser::HeaderParser ( )
virtual asdmbinaries::HeaderParser::~HeaderParser ( )
virtual

Member Function Documentation

SDMDataObject::AutoDataBinaryPart asdmbinaries::HeaderParser::parseAutoDataBinaryPart ( xmlNode a_node,
const std::string &  attachmentName 
)
private
SDMDataObject::Baseband asdmbinaries::HeaderParser::parseBaseband ( xmlNode a_node,
SDMDataObject sdmDataObject 
)
private
SDMDataObject::BinaryPart asdmbinaries::HeaderParser::parseBinaryPart ( xmlNode a_node,
const std::string &  attachmentName 
)
private
void asdmbinaries::HeaderParser::parseCorrelationMode ( xmlNode a_node,
SDMDataObject sdmDataObject 
)
private
std::string asdmbinaries::HeaderParser::parseDataOID ( xmlNode a_node)
private
void asdmbinaries::HeaderParser::parseDataStruct ( xmlNode a_node,
SDMDataObject sdmDataObject 
)
private
int asdmbinaries::HeaderParser::parseDimensionality ( xmlNode a_node)
private
void asdmbinaries::HeaderParser::parseExecBlock ( xmlNode a_node,
SDMDataObject sdmDataObject 
)
private
int asdmbinaries::HeaderParser::parseExecBlockNum ( xmlNode a_node)
private
void asdmbinaries::HeaderParser::parseFile ( const std::string &  filename,
SDMDataObject sdmDataObject 
)
void asdmbinaries::HeaderParser::parseMemory ( const std::string &  buffer,
SDMDataObject sdmDataObject 
)
int asdmbinaries::HeaderParser::parseNumAntenna ( xmlNode a_node)
private
int asdmbinaries::HeaderParser::parseNumTime ( xmlNode a_node)
private
void asdmbinaries::HeaderParser::parseProcessorType ( xmlNode a_node,
SDMDataObject sdmDataObject 
)
private
void asdmbinaries::HeaderParser::parseProjectPath ( xmlNode a_node,
SDMDataObject sdmDataObject 
)
private
int asdmbinaries::HeaderParser::parseScanNum ( xmlNode a_node)
private
void asdmbinaries::HeaderParser::parseSDMDataHeader ( 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,
std::vector< SDMDataObject::SpectralWindow > &  spectralWindow 
)
private
long long asdmbinaries::HeaderParser::parseStartTime ( xmlNode a_node)
private
int asdmbinaries::HeaderParser::parseSubscanNum ( xmlNode a_node)
private
SDMDataObject::ZeroLagsBinaryPart asdmbinaries::HeaderParser::parseZeroLagsBinaryPart ( xmlNode a_node,
const std::string &  attachmentName 
)
private
void asdmbinaries::HeaderParser::reset ( )

Friends And Related Function Documentation

friend class SDMDataObject
friend

Definition at line 109 of file SDMDataObjectParser.h.

friend class SDMDataObjectParser
friend

Definition at line 108 of file SDMDataObjectParser.h.

Member Data Documentation

const std::string asdmbinaries::HeaderParser::ACTUALDURATIONS
staticprivate

Definition at line 201 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::ACTUALTIMES
staticprivate

Definition at line 200 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::APC
staticprivate

Definition at line 182 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::AUTODATA
staticprivate

Definition at line 205 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::AXES
staticprivate

Definition at line 209 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::BASEBAND
staticprivate

Definition at line 185 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::BYTEORDER
staticprivate

Definition at line 161 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::CORRELATIONMODE
staticprivate

Definition at line 178 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::CORRELATORTYPE
staticprivate

Definition at line 203 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::CROSSDATA
staticprivate

Definition at line 204 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::CROSSPOLPRODUCTS
staticprivate

Definition at line 191 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::DATAOID
staticprivate

Definition at line 164 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::DATASTRUCT
staticprivate

Definition at line 181 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::DIMENSIONALITY
staticprivate

Definition at line 168 of file SDMDataObjectParser.h.

xmlDoc* asdmbinaries::HeaderParser::doc
private

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

Definition at line 152 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::EXECBLOCK
staticprivate

Definition at line 171 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::EXECBLOCKNUM
staticprivate

Definition at line 172 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::FLAGS
staticprivate

Definition at line 199 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::IMAGE
staticprivate

Definition at line 197 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::NAME
staticprivate

Definition at line 186 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::NORMALIZED
staticprivate

Definition at line 206 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::NUMANTENNA
staticprivate

Definition at line 176 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::NUMBIN
staticprivate

Definition at line 195 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::NUMSPECTRALPOINT
staticprivate

Definition at line 194 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::NUMTIME
staticprivate

Definition at line 169 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::PROCESSORTYPE
staticprivate

Definition at line 180 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::PROJECTPATH
staticprivate

Definition at line 162 of file SDMDataObjectParser.h.

const boost::regex asdmbinaries::HeaderParser::PROJECTPATH3
staticprivate

Definition at line 155 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::REF
staticprivate

Definition at line 183 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SCALEFACTOR
staticprivate

Definition at line 193 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SCANNUM
staticprivate

Definition at line 173 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SCHEMAVERSION
staticprivate

Definition at line 160 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SDMDATAHEADER
staticprivate

Definition at line 159 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SDPOLPRODUCTS
staticprivate

Definition at line 192 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SIDEBAND
staticprivate

Definition at line 196 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SIZE
staticprivate

Definition at line 208 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SPECTRALRESOLUTION
staticprivate

Definition at line 179 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SPECTRALWINDOW
staticprivate

Definition at line 188 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::STARTTIME
staticprivate

Definition at line 163 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SUBSCANNUM
staticprivate

Definition at line 174 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SW
staticprivate

Definition at line 189 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::SWBB
staticprivate

Definition at line 190 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::TYPE
staticprivate

Definition at line 210 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::XLINKHREF
staticprivate

Definition at line 165 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::XLINKTITLE
staticprivate

Definition at line 166 of file SDMDataObjectParser.h.

const std::string asdmbinaries::HeaderParser::ZEROLAGS
staticprivate

Definition at line 202 of file SDMDataObjectParser.h.


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