FillerUtil.h

Go to the documentation of this file.
00001 /*
00002  * FillerUtil.h
00003  *
00004  *  Created on: Feb 3, 2016
00005  *      Author: nakazato
00006  */
00007 #include <cstdlib>
00008 
00009 #ifndef SINGLEDISH_FILLER_FILLERUTIL_H_
00010 #define SINGLEDISH_FILLER_FILLERUTIL_H_
00011 
00012 //#define SINGLEDISHMSFILLER_DEBUG
00013 #ifdef SINGLEDISHMSFILLER_DEBUG
00014 #define POST_START std::cout << "Start " << __PRETTY_FUNCTION__ << std::endl
00015 #define POST_END std::cout << "End " << __PRETTY_FUNCTION__ << std::endl
00016 #else
00017 #define POST_START
00018 #define POST_END
00019 #endif
00020 
00021 namespace casa { //# NAMESPACE CASA - BEGIN
00022 namespace sdfiller { //# NAMESPACE SDFILLER - BEGIN
00023 struct Deleter {
00024   void operator()(void *p) {
00025     if (p) {
00026       free(p);
00027     }
00028   }
00029 };
00030 } //# NAMESPACE SDFILLER - BEGIN
00031 } //# NAMESPACE CASA - END
00032 
00033 #endif /* SINGLEDISH_FILLER_FILLERUTIL_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1