casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
CasacSupport.h File Reference
#include <string>
#include <vector>
#include <casa/Arrays/Vector.h>
#include <casa/BasicSL/String.h>
#include <casa/Quanta/Quantum.h>
#include <measures/Measures/MDirection.h>
#include <measures/Measures/MPosition.h>
#include <measures/Measures/MFrequency.h>
#include <measures/Measures/MRadialVelocity.h>
#include <measures/Measures/MEpoch.h>
#include <stdcasa/Quantity.h>
#include <stdcasa/record.h>

Go to the source code of this file.

Namespaces

 casacore
 For temporary backward namespace compatibility, use casa as alias for casacore.
 
 casa
 -*- mode: c++ -*-
 

Functions

casacore::Vector
< casacore::String
casa::toVectorString (const std::vector< std::string > &)
 
std::vector< std::string > casa::fromVectorString (const casacore::Vector< casacore::String > &)
 
casacore::String casa::toCasaString (const casac::variant &)
 
casacore::Quantity casa::casaQuantity (const casac::Quantity &)
 
casacore::Quantity casa::casaQuantity (const casac::variant &)
 Constructs and returns a casacore::Quantity from its input. More...
 
casacore::Quantum
< casacore::Vector
< casacore::Double > > 
casa::casaQuantumVector (const casac::variant &)
 
::casac::Quantity casa::casacQuantity (const casacore::Quantity &)
 
::casac::recordcasa::fromRecord (const casacore::Record &)
 See note in implementation about possible memory leak. More...
 
casacore::Bool casa::toCasaVectorQuantity (const ::casac::variant &theval, casacore::Vector< casacore::Quantity > &theQuants)
 makes a casacore::Vector of casacore::Quantity out of strings or vector of such or later records More...
 
::casac::recordcasa::recordFromQuantity (const casacore::Quantity q)
 
::casac::recordcasa::recordFromQuantity (const casacore::Quantum< casacore::Vector< casacore::Double > > &q)
 
casacore::Recordcasa::toRecord (const casac::record &)
 
casacore::ValueHoldercasa::toValueHolder (const casac::variant &)
 
::casac::variantcasa::fromValueHolder (const casacore::ValueHolder &)
 
bool casa::casaMDirection (const ::casac::variant &theVar, casacore::MDirection &theMeas)
 
bool casa::ang_as_formatted_str (string &out, const casacore::Quantity &qang, const std::string &format, const casacore::Int precision)
 
bool casa::MDirection2str (const casacore::MDirection &in, std::string &out)
 
bool casa::casaMFrequency (const ::casac::variant &theVar, casacore::MFrequency &theMeas)
 
bool casa::casaMPosition (const ::casac::variant &theVar, casacore::MPosition &theMeas)
 
bool casa::casaMRadialVelocity (const ::casac::variant &theVar, casacore::MRadialVelocity &theMeas)
 
bool casa::casaMEpoch (const ::casac::variant &theVar, casacore::MEpoch &theMeas)
 
casacore::Int casa::sepCommaEmptyToVectorStrings (casacore::Vector< casacore::String > &retStr, const std::string &str)
 utility to split a single string to multiple if they are, or empty space seperated. More...
 
casacore::Int casa::sepCommaToVectorStrings (casacore::Vector< casacore::String > &retStr, const std::string &str)
 
std::vector< double > casa::toVectorDouble (const ::casac::variant &v, const casacore::String &varName)
 allow variant types DOUBLE, DOUBLEVEC, INT, INVEC. More...
 
std::vector< string > casa::toVectorString (const ::casac::variant &v, const casacore::String &varName)
 Allow variant types STRING or STRINGVEC. More...
 
std::vector< int > casa::toVectorInt (const ::casac::variant &v, const casacore::String &varName)
 Allow variant types INT or INTVEC. More...
 
std::vector< bool > casa::toVectorBool (const ::casac::variant &v, const casacore::String &varName)
 Allow variant types BOOL or BOOLVEC. More...
 
casacore::Vector
< casacore::String
casa::toCasaVectorString (const std::vector< string > &vs)