asdm2MSGeneric.h File Reference

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 >

Defines

#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.
template<typename T >
set< T > SetAndSet (const set< T > &s1, const set< T > &s2)
 Returns the intersection of two sets.
template<typename Enum , typename CEnum >
string stringValue (Enum literal)
 A template function which returns a string from an (expectedly) enumeration and its associated helper class.
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 .
std::string getexepath ()

Define Documentation

#define CONTEXT_P

Definition at line 219 of file asdm2MSGeneric.h.

#define V2CTX_P ( v_p   ) 

Function Documentation

template<typename PhysicalQuantity , typename BasicType >
BasicType basicTypeValue ( PhysicalQuantity  value  )  [inline]

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 186 of file asdm2MSGeneric.h.

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

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:
aSet the set.
Returns:
the string containing the textual representation of the set.

Definition at line 34 of file asdm2MSGeneric.h.

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

Returns the intersection of two sets.

Parameters:
T the base type of the two sets.
s1 the first set.
s2 the second set.
Returns:
a set equal to the intersection of s1 and s2.

Definition at line 56 of file asdm2MSGeneric.h.

template<typename Enum , typename CEnum >
string stringValue ( Enum  literal  )  [inline]

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

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

Definition at line 176 of file asdm2MSGeneric.h.

References casa::name().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1