lsst.astshim g50ff169b8f+2eb0e556e8
|
#include <cstddef>
#include <cctype>
#include <limits>
#include <sstream>
#include <stdexcept>
#include <vector>
#include "astshim/base.h"
Go to the source code of this file.
Namespaces | |
namespace | ast |
AST wrapper classes and functions. | |
namespace | ast::detail |
Functions | |
void | ast::detail::annulAstObject (AstObject *object) |
A wrapper around astAnnul; intended as a custom deleter for std::unique_ptr. | |
template<typename T1 , typename T2 > | |
void | ast::detail::assertEqual (T1 val1, std::string const &descr1, T2 val2, std::string const &descr2) |
void | ast::detail::astBadToNan (std::vector< double > &p) |
Replace AST__BAD with a quiet NaN in a vector. | |
void | ast::detail::astBadToNan (ast::Array2D const &arr) |
Replace AST__BAD with a quiet NaN in a 2-D array. | |
std::string | ast::detail::formatAxisAttr (std::string const &name, int axis) |
Format an axis-specific attribute by appending the axis index. | |
bool | ast::detail::isSeries (AstCmpMap const *cmpMap) |
Return true if the compound map is in series. | |
std::string | ast::detail::getClassName (AstObject const *rawObj) |
Get the AST class name, changing CmpMap to SeriesMap or ParallelMap as appropriate. | |
double | ast::detail::safeDouble (double val) |
Return a double value after checking status and replacing AST__BAD with nan | |
std::string | ast::detail::stringToUpper (std::string const &str) |
Return a copy of a string in which all characters are uppercase. | |