Changeset 260
- Timestamp:
- 01/22/05 16:42:38 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile
r216 r260 1 1 TARGET := ../lib/_asap.so 2 2 3 ifdef NARRABRI_ASAP 4 CXX := /usr/bin/g++ 5 else 3 6 CXX := g++-3.2.3 7 endif 8 4 9 CXXFLAGS := -O -fPIC 5 10 #CXXFLAGS += -fpermissive # This should be removed. … … 28 33 BOOSTLIB := /nfs/atapplic/boost/linux/lib/libboost_python2.3-gcc-mt.a 29 34 BOOSTINC := -I/usr/local/include/boost 35 30 36 31 37 PYTHONINC := -I/usr/local/include/python2.3 -
trunk/src/SDMemTable.cc
r251 r260 892 892 } 893 893 894 String SDMemTable::formatSec(Double x) 894 String SDMemTable::formatSec(Double x) const 895 895 { 896 896 Double xcop = x; … … 928 928 } 929 929 930 std::string SDMemTable::summary() {930 std::string SDMemTable::summary() const { 931 931 ROScalarColumn<Int> scans(table_, "SCANID"); 932 932 ROScalarColumn<String> srcs(table_, "SRCNAME"); … … 953 953 table_.keywordSet().get("FluxUnit", tmp); 954 954 oss << setw(15) << "Flux Unit:" << tmp << endl; 955 Table t = table_. rwKeywordSet().asTable("FREQUENCIES");955 Table t = table_.keywordSet().asTable("FREQUENCIES"); 956 956 Vector<Double> vec; 957 957 t.keywordSet().get("RESTFREQS",vec); -
trunk/src/SDMemTable.h
r251 r260 130 130 131 131 // get a summary of the table 132 virtual std::string summary() ;132 virtual std::string summary() const; 133 133 134 134 std::vector<std::string> history(int whichRow=0) const; … … 185 185 private: 186 186 // utility func for nice printout 187 casa::String formatSec(casa::Double x) ;187 casa::String formatSec(casa::Double x) const; 188 188 void setup(); 189 189 // the current cursor into the array -
trunk/src/SDMemTableWrapper.h
r251 r260 157 157 casa::CountedPtr<SDMemTable> getCP() const {return table_;} 158 158 SDMemTable* getPtr() {return &(*table_);} 159 std::string summary() { return table_->summary(); }159 std::string summary() const { return table_->summary(); } 160 160 161 161 std::vector<std::string> history(int whichRow=0) {
Note:
See TracChangeset
for help on using the changeset viewer.