LSSTApplications  11.0-24-g0a022a1,14.0+65,15.0,15.0+1,15.0+2,15.0+4,15.0-1-g14e9bfd,15.0-1-g1eca518+3,15.0-1-g499c38d+3,15.0-1-g60afb23+1,15.0-1-g6668b0b,15.0-1-g788a293+1,15.0-1-g82223af+3,15.0-1-ga91101e+1,15.0-1-gae1598d,15.0-1-gc45031d+3,15.0-1-gd076f1f+1,15.0-1-gf4f1c34,15.0-1-gfe1617d+1,15.0-17-g0b88e3da8,15.0-2-g2010ef9+1,15.0-2-g5218728+3,15.0-2-g947dc0d+3,15.0-3-g150fc43+2,15.0-3-g9103c06,15.0-3-ga03b4ca+3,15.0-3-ga695220+4,15.0-3-gaec6799,15.0-3-gb7a597c+1,15.0-4-g0478fed+4,15.0-4-g45f767a,15.0-4-gdd339b63+1,15.0-4-gff20472+4,15.0-5-ge02c9e7e,15.0-6-ge2d9597+3
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...