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.
|
Detailed Description
SDMDataSubset:: declarations.
Utils:: declarations
Definition at line 1574 of file SDMDataObject.h.
Member Function Documentation
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 1626 of file SDMDataObject.h.
static void asdmbinaries::Utils::invalidCall |
( |
const string & |
methodName, |
|
|
const SDMDataObject * |
sdmDataObject | |
|
) |
| | [static] |
static void asdmbinaries::Utils::oXML |
( |
const string & |
elementName, |
|
|
ostringstream & |
oss | |
|
) |
| | [static] |
template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::quote |
( |
const vector< Enum > & |
v_l |
) |
[inline, static] |
template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::quote |
( |
Enum |
l |
) |
[inline, static] |
static string asdmbinaries::Utils::quote |
( |
const vector< string > & |
s |
) |
[static] |
static string asdmbinaries::Utils::quote |
( |
const set< string > & |
s |
) |
[static] |
static string asdmbinaries::Utils::quote |
( |
float |
f |
) |
[static] |
static string asdmbinaries::Utils::quote |
( |
long long |
l |
) |
[static] |
static string asdmbinaries::Utils::quote |
( |
unsigned int |
i |
) |
[static] |
static string asdmbinaries::Utils::quote |
( |
int |
i |
) |
[static] |
static string asdmbinaries::Utils::quote |
( |
bool |
b |
) |
[static] |
static string asdmbinaries::Utils::quote |
( |
const string & |
s |
) |
[static] |
template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::toString |
( |
const vector< Enum > & |
v_l |
) |
[inline, static] |
template<class Enum , class EnumHelper >
static string asdmbinaries::Utils::toString |
( |
Enum |
l |
) |
[inline, 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:
-
| elementName | the name of the XML element to contain the Enum value. |
| literal | the value of Enum to output. |
| oss | a reference to the output string stream where the XML is written. |
Definition at line 1654 of file SDMDataObject.h.
References casa::name().
static void asdmbinaries::Utils::toXML |
( |
const string & |
elementName, |
|
|
unsigned long long |
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 int |
value, |
|
|
ostringstream & |
oss | |
|
) |
| | [static] |
static void asdmbinaries::Utils::toXML |
( |
const string & |
elementName, |
|
|
int |
value, |
|
|
ostringstream & |
oss | |
|
) |
| | [static] |
The documentation for this class was generated from the following file: