Changeset 83 for trunk


Ignore:
Timestamp:
09/07/04 11:31:02 (20 years ago)
Author:
mar637
Message:

chnaged namesapce form "atnf_sd" to "asap"

Location:
trunk/src
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r82 r83  
    1 TARGET   := ../lib/atnf_sd.so
     1TARGET   := ../lib/asap.so
    22
    33CXX      := g++-3.2.3
  • trunk/src/SDContainer.cc

    r81 r83  
    3737#include "SDContainer.h"
    3838
    39 using namespace atnf_sd;
     39using namespace asap;
    4040
    4141void SDHeader::print() const {
  • trunk/src/SDContainer.h

    r81 r83  
    4141template<class T> class Matrix;
    4242
    43 namespace atnf_sd {
     43namespace asap {
    4444
    4545
  • trunk/src/SDMath.cc

    r81 r83  
    6161#include "SDMath.h"
    6262
    63 using namespace atnf_sd;
    64 //using namespace atnf_sd::SDMath;
     63using namespace asap;
     64//using namespace asap::SDMath;
    6565
    6666CountedPtr<SDMemTable> SDMath::average(const CountedPtr<SDMemTable>& in) {
  • trunk/src/SDMath.h

    r81 r83  
    3636#include <casa/Utilities/CountedPtr.h>
    3737
    38 namespace atnf_sd {
     38namespace asap {
    3939
    4040class SDMemTable;
  • trunk/src/SDMathWrapper.h

    r81 r83  
    4040#include "SDMath.h"
    4141
    42 namespace atnf_sd {
     42namespace asap {
    4343
    4444namespace SDMathWrapper {
  • trunk/src/SDMemTable.cc

    r80 r83  
    5656#include "SDContainer.h"
    5757
    58 using namespace atnf_sd;
     58using namespace asap;
    5959
    6060SDMemTable::SDMemTable() :
  • trunk/src/SDMemTable.h

    r80 r83  
    4343#include <coordinates/Coordinates/SpectralCoordinate.h>
    4444
    45 namespace atnf_sd {
     45namespace asap {
    4646
    4747class SDContainer;
  • trunk/src/SDMemTableWrapper.h

    r80 r83  
    3737#include "SDMemTable.h"
    3838
    39 namespace atnf_sd {
     39namespace asap {
    4040
    4141class SDMemTableWrapper {
  • trunk/src/SDReader.cc

    r79 r83  
    3333#include "SDReader.h"
    3434
    35 using namespace atnf_sd;
     35using namespace asap;
    3636
    3737SDReader::SDReader() :
  • trunk/src/SDReader.h

    r81 r83  
    4646class PKSreader;
    4747
    48 namespace atnf_sd {
     48namespace asap {
    4949
    5050class SDReader {
  • trunk/src/SDReaderWrapper.h

    r81 r83  
    3838#include "SDReader.h"
    3939
    40 namespace atnf_sd {
     40namespace asap {
    4141
    4242class SDReaderWrapper : public SDReader {
  • trunk/src/SDTemplates.cc

    r81 r83  
    3737#include "SDMemTable.h"
    3838
    39 namespace atnf_sd {
     39namespace asap {
    4040  template class CountedConstPtr<SDMemTable>;
    4141  template class CountedPtr<SDMemTable>;
     
    4545  template class Block<CountedPtr<SDMemTable> >;
    4646}
    47 template void objcopy(CountedPtr<atnf_sd::SDMemTable> *, CountedPtr<atnf_sd::SDMemTable> const *, uInt);
    48 template void objmove(CountedPtr<atnf_sd::SDMemTable> *, CountedPtr<atnf_sd::SDMemTable> const *, uInt);
    49 template void objset(CountedPtr<atnf_sd::SDMemTable> *, CountedPtr<atnf_sd::SDMemTable>, uInt);
     47template void objcopy(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable> const *, uInt);
     48template void objmove(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable> const *, uInt);
     49template void objset(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable>, uInt);
    5050
    5151#include <casa/Arrays/ArrayLogical.cc>
  • trunk/src/SDWriter.cc

    r81 r83  
    4444#include "SDWriter.h"
    4545
    46 using namespace atnf_sd;
     46using namespace asap;
    4747
    4848//--------------------------------------------------------- SDWriter::SDWriter
  • trunk/src/SDWriter.h

    r81 r83  
    4242class PKSwriter;
    4343
    44 namespace atnf_sd {
     44namespace asap {
    4545
    4646class SDWriter {
  • trunk/src/SDWriterWrapper.h

    r81 r83  
    3838#include "SDWriter.h"
    3939
    40 namespace atnf_sd {
     40namespace asap {
    4141
    4242class SDWriterWrapper : public SDWriter {
     
    4949};
    5050
    51 } // namespace atnf_sd
     51} // namespace asap
    5252#endif
  • trunk/src/python_SD.cc

    r42 r83  
    3838using namespace boost::python;
    3939
    40 BOOST_PYTHON_MODULE(atnf_sd) {
    41   atnf_sd::python::python_SDMemTable();
    42   atnf_sd::python::python_SDReader();
    43   atnf_sd::python::python_SDWriter();
    44   atnf_sd::python::python_SDMath();
     40BOOST_PYTHON_MODULE(asap) {
     41  asap::python::python_SDMemTable();
     42  asap::python::python_SDReader();
     43  asap::python::python_SDWriter();
     44  asap::python::python_SDMath();
    4545
    4646  std_vector_to_tuple < int > ();
  • trunk/src/python_SD.h

    r81 r83  
    3232#define _PYTHON_SD_H
    3333
    34 namespace atnf_sd {
     34namespace asap {
    3535  namespace python {
    3636
     
    4141   
    4242  } // python
    43 } //atnf_sd
     43} //asap
    4444
    4545#endif
  • trunk/src/python_SDMath.cc

    r69 r83  
    3535using namespace boost::python;
    3636
    37 namespace atnf_sd {
     37namespace asap {
    3838  namespace SDMathWrapper {
    3939    SDMemTableWrapper SDMathWrapper::averages(boost::python::tuple tp,
     
    4141      int n;
    4242      n = extract<int>(tp.attr("__len__")());
    43       Block<CountedPtr<atnf_sd::SDMemTable> > b(n);
     43      Block<CountedPtr<asap::SDMemTable> > b(n);
    4444      for (int i=0;i< n;++i) {
    4545        SDMemTableWrapper sdmw =
     
    6767   
    6868  } // python
    69 } // atnf_sd
     69} // asap
    7070
  • trunk/src/python_SDMemTable.cc

    r80 r83  
    3737using namespace boost::python;
    3838
    39 namespace atnf_sd {
     39namespace asap {
    4040  namespace python {
    4141
     
    8282
    8383  } // python
    84 } // atnf_sd
     84} // asap
  • trunk/src/python_SDReader.cc

    r57 r83  
    3535using namespace boost::python;
    3636
    37 namespace atnf_sd {
     37namespace asap {
    3838  namespace python {
    3939
     
    5050
    5151  } //namespace python
    52 } // namespace atnf_sd
     52} // namespace asap
    5353
  • trunk/src/python_SDWriter.cc

    r58 r83  
    3535using namespace boost::python;
    3636
    37 namespace atnf_sd {
     37namespace asap {
    3838  namespace python  {
    3939
     
    4949
    5050  } // namespace python
    51 } // namespace atnf_sd
     51} // namespace asap
Note: See TracChangeset for help on using the changeset viewer.