source: trunk/src/EdgeMarkerWrapper.h@ 3148

Last change on this file since 3148 was 3106, checked in by Takeshi Nakazato, 8 years ago

New Development: No

JIRA Issue: No

Ready for Test: Yes/No

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...


Check-in asap modifications from Jim regarding casacore namespace conversion.

File size: 961 bytes
RevLine 
[2613]1//
2// C++ Interface: EdgeMarkerWrapper
3//
4// Description:
5//
6//
7// Author: Takeshi Nakazato <takeshi.nakazato@nao.ac.jp>, (C) 2012
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef _OFF_POSITION_MARKER_WRAPPER_H_
13#define _OFF_POSITION_MARKER_WRAPPER_H_
14
15#include <casa/Utilities/CountedPtr.h>
16
17#include "Scantable.h"
18#include "EdgeMarker.h"
19#include "ScantableWrapper.h"
20
21namespace asap {
22
23class EdgeMarkerWrapper : public EdgeMarker
24{
25public:
26 EdgeMarkerWrapper()
27 : EdgeMarker()
28 {}
29
30 EdgeMarkerWrapper( bool israster )
31 : EdgeMarker( israster )
32 {}
33
34 ~EdgeMarkerWrapper() {}
35
36 void setdata( const ScantableWrapper &s,
37 const bool &insitu )
38 {
[3106]39 EdgeMarker::setdata( s.getCP(), (casacore::Bool)insitu ) ;
[2613]40 }
41
42 ScantableWrapper get()
43 {
[3106]44 casacore::CountedPtr<Scantable> s = EdgeMarker::get() ;
[2613]45 return ScantableWrapper( s ) ;
46 }
47} ;
48
49}
50#endif /* _OFF_POSITION_MARKER_WRAPPER_H_ */
Note: See TracBrowser for help on using the repository browser.