casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Defines | Functions
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 ....) the type PhysicalQuantity is expected to have a method get returning a valye castable into BasicType.
std::string getexepath ()

Define 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 >
set<T> SetAndSet ( const set< T > &  s1,
const 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 >
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().