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

SDMDataSubset:: declarations. More...

#include <SDMDataObject.h>

List of all members.

Static Public Member Functions

static void invalidCall (const string &methodName, const SDMDataObject *sdmDataObject)
static string quote (const string &s)
static string quote (bool b)
static string quote (int i)
static string quote (unsigned int i)
static string quote (long long l)
static string quote (float f)
static string quote (const set< string > &s)
static string quote (const vector< string > &s)
template<class Enum , class EnumHelper >
static string quote (Enum l)
template<class Enum , class EnumHelper >
static string quote (const vector< Enum > &v_l)
template<class Enum , class EnumHelper >
static string toString (Enum l)
template<class Enum , class EnumHelper >
static string toString (const vector< Enum > &v_l)
template<class Enum , class EnumHelper >
static vector< Enum > enumvec (const string &strliterals)
 A generic utility to return a vector of <Enum> out of a string of <Enum> literals separated by space characters.
static void toXML (const string &elementName, int value, ostringstream &oss)
static void toXML (const string &elementName, unsigned int value, ostringstream &oss)
static void toXML (const string &elementName, long long value, ostringstream &oss)
static void toXML (const string &elementName, unsigned long long value, ostringstream &oss)
static void oXML (const string &elementName, ostringstream &oss)
static void cXML (const string &elementName, ostringstream &oss)
template<class Enum , class EnumHelper >
static void toXML (const string &elementName, Enum value, ostringstream &oss)
 A generic utility to XML'ize a literal as the content of an XML element.
static void invalidCall (const string &methodName, const SDMDataObject *sdmDataObject)
static string quote (const string &s)
static string quote (bool b)
static string quote (int i)
static string quote (unsigned int i)
static string quote (long long l)
static string quote (float f)
static string quote (const set< string > &s)
static string quote (const vector< string > &s)
template<class Enum , class EnumHelper >
static string quote (Enum l)
template<class Enum , class EnumHelper >
static string quote (const vector< Enum > &v_l)
template<class Enum , class EnumHelper >
static string toString (Enum l)
template<class Enum , class EnumHelper >
static string toString (const vector< Enum > &v_l)
template<class Enum , class EnumHelper >
static vector< Enum > enumvec (const string &strliterals)
 A generic utility to return a vector of <Enum> out of a string of <Enum> literals separated by space characters.
static void toXML (const string &elementName, int value, ostringstream &oss)
static void toXML (const string &elementName, unsigned int value, ostringstream &oss)
static void toXML (const string &elementName, long long value, ostringstream &oss)
static void toXML (const string &elementName, unsigned long long value, ostringstream &oss)
static void oXML (const string &elementName, ostringstream &oss)
static void cXML (const string &elementName, ostringstream &oss)
template<class Enum , class EnumHelper >
static void toXML (const string &elementName, Enum value, ostringstream &oss)
 A generic utility to XML'ize a literal as the content of an XML element.

Detailed Description

SDMDataSubset:: declarations.

Utils:: declarations

Definition at line 1523 of file SDMDataObject.h.


Member Function Documentation

static void asdmbinaries::Utils::cXML ( const string &  elementName,
ostringstream &  oss 
) [static]
static void asdmbinaries::Utils::cXML ( const string &  elementName,
ostringstream &  oss 
) [static]
template<class Enum , class EnumHelper >
static vector<Enum> asdmbinaries::Utils::enumvec ( const string &  strliterals) [inline, static]

A generic utility to return a vector of <Enum> out of a string of <Enum> literals separated by space characters.

Definition at line 1515 of file SDMDataObject.h.

template<class Enum , class EnumHelper >
static vector<Enum> asdmbinaries::Utils::enumvec ( const string &  strliterals) [inline, static]

A generic utility to return a vector of <Enum> out of a string of <Enum> literals separated by space characters.

Definition at line 1575 of file SDMDataObject.h.

static void asdmbinaries::Utils::invalidCall ( const string &  methodName,
const SDMDataObject sdmDataObject 
) [static]
static void asdmbinaries::Utils::invalidCall ( const string &  methodName,
const SDMDataObject sdmDataObject 
) [static]
static void asdmbinaries::Utils::oXML ( const string &  elementName,
ostringstream &  oss 
) [static]
static void asdmbinaries::Utils::oXML ( const string &  elementName,
ostringstream &  oss 
) [static]
static string asdmbinaries::Utils::quote ( const string &  s) [static]
static string asdmbinaries::Utils::quote ( bool  b) [static]
static string asdmbinaries::Utils::quote ( int  i) [static]
static string asdmbinaries::Utils::quote ( unsigned int  i) [static]
static string asdmbinaries::Utils::quote ( long long  l) [static]
static string asdmbinaries::Utils::quote ( float  f) [static]
static string asdmbinaries::Utils::quote ( const set< string > &  s) [static]
static string asdmbinaries::Utils::quote ( const vector< string > &  s) [static]
template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::quote ( Enum  l) [inline, static]

Definition at line 1474 of file SDMDataObject.h.

References casa::name().

template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::quote ( const vector< Enum > &  v_l) [inline, static]

Definition at line 1482 of file SDMDataObject.h.

References casa::name().

static string asdmbinaries::Utils::quote ( const string &  s) [static]
static string asdmbinaries::Utils::quote ( bool  b) [static]
static string asdmbinaries::Utils::quote ( int  i) [static]
static string asdmbinaries::Utils::quote ( unsigned int  i) [static]
static string asdmbinaries::Utils::quote ( long long  l) [static]
static string asdmbinaries::Utils::quote ( float  f) [static]
static string asdmbinaries::Utils::quote ( const set< string > &  s) [static]
static string asdmbinaries::Utils::quote ( const vector< string > &  s) [static]
template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::quote ( Enum  l) [inline, static]

Definition at line 1534 of file SDMDataObject.h.

References casa::name().

template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::quote ( const vector< Enum > &  v_l) [inline, static]

Definition at line 1542 of file SDMDataObject.h.

References casa::name().

template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::toString ( Enum  l) [inline, static]

Definition at line 1495 of file SDMDataObject.h.

References casa::name().

template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::toString ( const vector< Enum > &  v_l) [inline, static]

Definition at line 1501 of file SDMDataObject.h.

References casa::name().

template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::toString ( Enum  l) [inline, static]

Definition at line 1555 of file SDMDataObject.h.

References casa::name().

template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::toString ( const vector< Enum > &  v_l) [inline, static]

Definition at line 1561 of file SDMDataObject.h.

References casa::name().

static void asdmbinaries::Utils::toXML ( const string &  elementName,
int  value,
ostringstream &  oss 
) [static]
static void asdmbinaries::Utils::toXML ( const string &  elementName,
unsigned int  value,
ostringstream &  oss 
) [static]
static void asdmbinaries::Utils::toXML ( const string &  elementName,
long long  value,
ostringstream &  oss 
) [static]
static void asdmbinaries::Utils::toXML ( const string &  elementName,
unsigned long long  value,
ostringstream &  oss 
) [static]
template<class Enum , class EnumHelper >
static void asdmbinaries::Utils::toXML ( const string &  elementName,
Enum  value,
ostringstream &  oss 
) [inline, static]

A generic utility to XML'ize a literal as the content of an XML element.

Parameters:
elementNamethe name of the XML element to contain the Enum value.
literalthe value of Enum to output.
ossa reference to the output string stream where the XML is written.

Definition at line 1543 of file SDMDataObject.h.

References casa::name().

static void asdmbinaries::Utils::toXML ( const string &  elementName,
int  value,
ostringstream &  oss 
) [static]
static void asdmbinaries::Utils::toXML ( const string &  elementName,
unsigned int  value,
ostringstream &  oss 
) [static]
static void asdmbinaries::Utils::toXML ( const string &  elementName,
long long  value,
ostringstream &  oss 
) [static]
static void asdmbinaries::Utils::toXML ( const string &  elementName,
unsigned long long  value,
ostringstream &  oss 
) [static]
template<class Enum , class EnumHelper >
static void asdmbinaries::Utils::toXML ( const string &  elementName,
Enum  value,
ostringstream &  oss 
) [inline, static]

A generic utility to XML'ize a literal as the content of an XML element.

Parameters:
elementNamethe name of the XML element to contain the Enum value.
literalthe value of Enum to output.
ossa reference to the output string stream where the XML is written.

Definition at line 1603 of file SDMDataObject.h.

References casa::name().


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