casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Functions
asdm2MSGeneric.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <set>
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <casa/OS/Path.h>
#include <memory>
#include <limits.h>
#include <unistd.h>
#include <casa/Logging/StreamLogSink.h>
#include <casa/Logging/LogSink.h>
#include <alma/ASDM/ConversionException.h>
#include <alma/Enumerations/CAtmPhaseCorrection.h>
#include <alma/ASDM/ASDM.h>
#include <alma/apps/asdm2MS/ASDM2MSFiller.h>

Go to the source code of this file.

Classes

struct  negateFunctor< T >
 A template functor which returns -|v|. More...
 
struct  rowsInAScanbyTimeIntervalFunctor< T >
 
struct  rowsInAScanbyTimeFunctor< T >
 
struct  size_lt< T >
 A boolean template functor which returns the value of the expression x.size() < y. More...
 
struct  ParserContext< T, R, RFilter >
 
class  TableSAXReader< T, R, RFilter >
 

Macros

#define CONTEXT_P
 
#define V2CTX_P(v_p)
 

Functions

template<typename T >
std::string displaySet (const std::set< T > &aSet)
 A template function which returns a string representing the contents of a set of elements of type T. More...
 
template<typename T >
std::set< T > SetAndSet (const std::set< T > &s1, const std::set< T > &s2)
 Returns the intersection of two sets. More...
 
template<typename Enum , typename CEnum >
std::string stringValue (Enum literal)
 A template function which returns a string from an (expectedly) enumeration and its associated helper class. More...
 
template<typename PhysicalQuantity , typename BasicType >
BasicType basicTypeValue (PhysicalQuantity value)
 template function meant to return a value of type BasicType out of a value expected to be of one of the Physical Quantities type (Pressure, Speed ....) the type PhysicalQuantity is expected to have a method get returning a valye castable into BasicType. More...
 
std::string getexepath ()
 

Macro Definition Documentation

#define CONTEXT_P

Definition at line 220 of file asdm2MSGeneric.h.

#define V2CTX_P (   v_p)

Function Documentation

template<typename PhysicalQuantity , typename BasicType >
BasicType basicTypeValue ( PhysicalQuantity  value)

template function meant to return a value of type BasicType out of a value expected to be of one of the Physical Quantities type (Pressure, Speed ....) the type PhysicalQuantity is expected to have a method get returning a valye castable into BasicType.

Definition at line 187 of file asdm2MSGeneric.h.

template<typename T >
std::string displaySet ( const std::set< T > &  aSet)

A template function which returns a string representing the contents of a set of elements of type T.

the operator << is expected to be defined on type T.

Parameters
aSetthe set.
Returns
the string containing the textual representation of the set.

Definition at line 35 of file asdm2MSGeneric.h.

std::string getexepath ( )
template<typename T >
std::set<T> SetAndSet ( const std::set< T > &  s1,
const std::set< T > &  s2 
)

Returns the intersection of two sets.

Parameters
Tthe base type of the two sets.
s1the first set.
s2the second set.
Returns
a set equal to the intersection of s1 and s2.

Definition at line 57 of file asdm2MSGeneric.h.

template<typename Enum , typename CEnum >
std::string stringValue ( Enum  literal)

A template function which returns a string from an (expectedly) enumeration and its associated helper class.

(see <..>/code/alma/implement/Enumerations)

Definition at line 177 of file asdm2MSGeneric.h.

References casa::name().