Changeset 3029 for trunk/external-alma
- Timestamp:
- 03/03/15 18:26:31 (10 years ago)
- Location:
- trunk/external-alma
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/FITSreader.cc
r1757 r3029 38 38 39 39 #include <atnf/PKSIO/FITSreader.h> 40 41 40 #include <algorithm> 41 #include <cstdlib> 42 42 43 43 using namespace std; -
trunk/external-alma/atnf/pks/pks_maths.cc
r2998 r3029 35 35 36 36 // AIPS++ includes. 37 #include <complex> 37 38 #include <casa/aips.h> 38 39 #include <casa/math.h> -
trunk/external-alma/components/SpectralComponents/SpectralElement.cc
r2980 r3029 53 53 _fixed(other._fixed.copy()), 54 54 _function( 55 std::tr1::shared_ptr<Function<Double, Double> >(55 SHARED_PTR<Function<Double, Double> >( 56 56 other._function->clone() 57 57 ) … … 72 72 _fixed.resize(n); 73 73 _fixed = other._fixed.copy(); 74 _function = std::tr1::shared_ptr<Function<Double, Double> >(74 _function = SHARED_PTR<Function<Double, Double> >( 75 75 other._function->clone() 76 76 ); … … 165 165 166 166 void SpectralElement::_setFunction( 167 const std::tr1::shared_ptr<Function<Double, Double> >& f167 const SHARED_PTR<Function<Double, Double> >& f 168 168 ) { 169 169 _function = f; -
trunk/external-alma/components/SpectralComponents/SpectralElement.h
r2980 r3029 30 30 #define COMPONENTS_SPECTRALELEMENT_H 31 31 32 #include <memory> 32 33 #include <casa/aips.h> 33 34 #include <casa/Arrays/Vector.h> 34 35 #include <casa/Containers/RecordInterface.h> 35 ///#include <casa/Utilities/CountedPtr.h>36 #include <tr1/memory>37 36 38 37 namespace casa { //# NAMESPACE CASA - BEGIN … … 174 173 void _setType(const Types type); 175 174 176 void _setFunction(const std::tr1::shared_ptr<Function<Double, Double> >& f);177 178 virtual std::tr1::shared_ptr<Function<Double, Double> > _getFunction() const {175 void _setFunction(const SHARED_PTR<Function<Double, Double> >& f); 176 177 virtual SHARED_PTR<Function<Double, Double> > _getFunction() const { 179 178 return _function; 180 179 } … … 194 193 Vector<Bool> _fixed; 195 194 196 std::tr1::shared_ptr<Function<Double, Double> > _function;195 SHARED_PTR<Function<Double, Double> > _function; 197 196 198 197 };
Note:
See TracChangeset
for help on using the changeset viewer.