LSSTApplications  19.0.0+10,19.0.0+80,19.0.0-1-g20d9b18+31,19.0.0-1-g49a97f9+4,19.0.0-1-g8c57eb9+31,19.0.0-1-g9a028c0+13,19.0.0-1-ga72da6b+3,19.0.0-1-gb77924a+15,19.0.0-1-gbfe0924+66,19.0.0-1-gc3516c3,19.0.0-1-gefe1d0d+49,19.0.0-1-gf8cb8b4+3,19.0.0-14-g7511ce4+6,19.0.0-16-g3dc1a33c+6,19.0.0-17-g59f0e8a+4,19.0.0-17-g9c22e3c+9,19.0.0-18-g35bb99870+2,19.0.0-19-g2772d4a+9,19.0.0-2-g260436e+53,19.0.0-2-g31cdcee,19.0.0-2-g9675b69+3,19.0.0-2-gaa2795f,19.0.0-2-gbcc4de1,19.0.0-2-gd6f004e+6,19.0.0-2-gde8e5e3+5,19.0.0-2-gff6972b+15,19.0.0-21-ge306cd8,19.0.0-21-gf122e69+2,19.0.0-3-g2d43a51+2,19.0.0-3-gf3b1435+6,19.0.0-4-g56feb96,19.0.0-4-gac56cce+17,19.0.0-49-gce872c1+1,19.0.0-5-g66946eb+6,19.0.0-5-gd8897ba+6,19.0.0-51-gfc4a647e,19.0.0-7-g686a884+5,19.0.0-7-g886f805+5,19.0.0-8-g305ff64,w.2020.17
LSSTDataManagementBasePackage
Namespaces | Typedefs | Enumerations | Functions
base.h File Reference
#include <string>
#include <stdexcept>
#include <vector>
#include "ndarray.h"
#include "ast.h"

Go to the source code of this file.

Namespaces

 ast
 AST wrapper classes and functions.
 

Typedefs

using ast::Array2D = ndarray::Array< double, 2, 2 >
 2D array of const double; typically used for lists of const points More...
 
using ast::ConstArray2D = ndarray::Array< const double, 2, 2 >
 2D array of const double; typically used for lists of const points More...
 
using ast::PointI = std::vector< int >
 Vector of ints; typically used for the bounds of Mapping.tranGridForward and inverse. More...
 
using ast::PointD = std::vector< double >
 Vector of double; used for bounds, points. More...
 

Enumerations

enum  ast::DataType {
  ast::DataType::IntType = AST__INTTYPE, ast::DataType::ShortIntType = AST__SINTTYPE, ast::DataType::ByteType = AST__BYTETYPE, ast::DataType::DoubleType = AST__DOUBLETYPE,
  ast::DataType::FloatType = AST__FLOATTYPE, ast::DataType::StringType = AST__STRINGTYPE, ast::DataType::ObjectType = AST__OBJECTTYPE, ast::DataType::PointerType = AST__POINTERTYPE,
  ast::DataType::UndefinedType = AST__UNDEFTYPE, ast::DataType::BadType = AST__BADTYPE
}
 Data types held by a KeyMap. More...
 

Functions

void ast::assertOK (AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr)
 Throw std::runtime_error if AST's state is bad. More...
 
bool ast::escapes (int include=-1)
 Control whether graphical escape sequences are included in strings. More...
 
ConstArray2D ast::arrayFromVector (std::vector< double > const &vec, int nAxes)
 Reshape a vector as a 2-dimensional array that shares the same memory. More...
 
Array2D ast::arrayFromVector (std::vector< double > &vec, int nAxes)
 Reshape a vector as a 2-dimensional array that shares the same memory. More...