1 #ifndef BDF2ASDMSTMANINDEX
2 #define BDF2ASDMSTMANINDEX
22 #define LOGENTER(name) if (debug) { std::for_each(logIndent.begin(), logIndent.end(), [](char v) { cout << v; }); logIndent.push_back('\t'); cout << #name ": entering" << endl; }
23 #define LOGEXIT(name) if (debug) { logIndent.pop_back(); std::for_each(logIndent.begin(), logIndent.end(), [](char v) { cout << v; } ); cout << #name ": exiting" << endl; }
24 #define LOG(msg) if (debug) { std::for_each(logIndent.begin(), logIndent.end(), [](char v) { cout << v; } ); cout << msg << endl; }
31 void init (
const std::vector<std::string>& bdfNames,
bool isBigEndian,
const string& fname);
38 const string& bdfName,
45 const std::vector<double>& scaleFactors,
50 const string& bdfName,
57 const std::vector<double>& scaleFactors,
62 const string& bdfName,
69 const std::vector<double>& scaleFactors,
72 PrimitiveDataTypeMod::PrimitiveDataType dataType);
83 std::map<std::string, int>
s2i_m;
std::vector< char > logIndent
void appendCrossIndex(unsigned int iDD, const string &bdfName, unsigned int nBl, unsigned int nSpw, unsigned int nChan, unsigned int nPol, unsigned int stepBl, unsigned int stepSpw, const std::vector< double > &scaleFactors, uint64_t fileOffset, uint32_t spwOffset, PrimitiveDataTypeMod::PrimitiveDataType dataType)
AipsIO is the object persistency mechanism of Casacore.
std::map< std::string, int > s2i_m
std::vector< casa::AsdmIndex > allIndexes_v
void init(const std::vector< std::string > &bdfNames, bool isBigEndian, const string &fname)
std::vector< std::vector< casa::AsdmIndex > > crossIndexes_vv
virtual ~BDF2AsdmStManIndex()
void appendAutoIndex(unsigned int iDD, const string &bdfName, unsigned int nBl, unsigned int nSpw, unsigned int nChan, unsigned int nPol, unsigned int stepBl, unsigned int stepSpw, const std::vector< double > &scaleFactors, uint64_t fileOffset, uint32_t spwOffset)
std::vector< std::vector< casa::AsdmIndex > > autoIndexes_vv
void appendWVRIndex(unsigned int iDD, const string &bdfName, unsigned int nBl, unsigned int nSpw, unsigned int nChan, unsigned int nPol, unsigned int stepBl, unsigned int stepSpw, const std::vector< double > &scaleFactors, uint64_t fileOffset, uint32_t spwOffset)
uint32_t numberOfDataDescriptions
casacore::Block< casacore::String > bdfNames
String: the storage and methods of handling collections of characters.
void setNumberOfDataDescriptions(unsigned int numberOfDataDescriptions)