63 bool casaMEpoch(const ::casac::variant& theVar,
68 const std::string& str);
71 const std::string& str);
A Measure: astronomical direction.
casacore::ValueHolder * toValueHolder(const casac::variant &)
bool casaMFrequency(const ::casac::variant &theVar, casacore::MFrequency &theMeas)
A Measure: position on Earth.
std::vector< int > toVectorInt(const ::casac::variant &v, const casacore::String &varName)
Allow variant types INT or INTVEC.
::casac::variant * fromValueHolder(const casacore::ValueHolder &)
bool ang_as_formatted_str(string &out, const casacore::Quantity &qang, const std::string &format, const casacore::Int precision)
casacore::Vector< casacore::String > toCasaVectorString(const std::vector< string > &vs)
bool casaMPosition(const ::casac::variant &theVar, casacore::MPosition &theMeas)
todo: o create python to/from record functions o implement compare() o implement record_to_string() o...
casacore::String toCasaString(const casac::variant &)
A Measure: radial velocity.
A Measure: instant in time.
std::vector< bool > toVectorBool(const ::casac::variant &v, const casacore::String &varName)
Allow variant types BOOL or BOOLVEC.
A Measure: wave characteristics.
casacore::Quantity casaQuantity(const casac::Quantity &)
casacore::Int 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.
A holder for a value of any basic Casacore data type.
bool casaMDirection(const ::casac::variant &theVar, casacore::MDirection &theMeas)
casacore::Int sepCommaToVectorStrings(casacore::Vector< casacore::String > &retStr, const std::string &str)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
casacore::Record * toRecord(const casac::record &)
::casac::record * fromRecord(const casacore::Record &)
See note in implementation about possible memory leak.
bool casaMEpoch(const ::casac::variant &theVar, casacore::MEpoch &theMeas)
std::vector< double > toVectorDouble(const ::casac::variant &v, const casacore::String &varName)
allow variant types DOUBLE, DOUBLEVEC, INT, INVEC.
std::vector< std::string > fromVectorString(const casacore::Vector< casacore::String > &)
String: the storage and methods of handling collections of characters.
::casac::Quantity casacQuantity(const casacore::Quantity &)
casacore::Vector< casacore::String > toVectorString(const std::vector< std::string > &)
bool casaMRadialVelocity(const ::casac::variant &theVar, casacore::MRadialVelocity &theMeas)
casacore::Bool 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 ...
bool MDirection2str(const casacore::MDirection &in, std::string &out)
casacore::Quantum< casacore::Vector< casacore::Double > > casaQuantumVector(const casac::variant &)
::casac::record * recordFromQuantity(const casacore::Quantity q)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.