Skip to content
Snippets Groups Projects
Commit 39f3b38d authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Bug 61: Added namespace wrapper for Boost.Tribool

parent 1f6354b2
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ pkginclude_HEADERS = Package__Version.h \
lofar_stack.h \
lofar_string.h \
lofar_thread.h \
lofar_tribool.h \
lofar_typeinfo.h \
LofarTypedefs.h \
LofarTypes.h \
......
//# lofar_datetime.h:
//# lofar_datetime.h: namespace wrapper for Boost.Date_Time Posix classes
//#
//# Copyright (C) 2002
//# ASTRON (Netherlands Foundation for Research in Astronomy)
......@@ -24,6 +24,11 @@
#define LOFAR_COMMON_DATETIME_H
// \file
// namespace wrapper for Boost.Date_Time Posix classes
#if !defined(HAVE_BOOST)
#error Boost.Date_Time is required.
#endif
#include <boost/date_time/posix_time/posix_time.hpp>
#include <time.h>
......
//# lofar_smartptr.h: basic header for the Smartptr package
//# lofar_smartptr.h: namespace wrapper for Boost Smart Pointers
//#
//# Copyright (C) 2002
//# ASTRON (Netherlands Foundation for Research in Astronomy)
......@@ -24,6 +24,7 @@
#define LOFAR_COMMON_SMARTPTR_H
// \file
// namespace wrapper for Boost Smart Pointers
#if !defined(HAVE_BOOST)
#error Boost Smart Pointer classes are required.
......
//# lofar_thread.h: basic header for the Thread package
//# lofar_thread.h: namespace wrapper for Boost.Thread
//#
//# Copyright (C) 2002
//# ASTRON (Netherlands Foundation for Research in Astronomy)
......@@ -24,6 +24,11 @@
#define LOFAR_COMMON_THREAD_H
// \file
// namespace wrapper for Boost.Thread
#if !defined(HAVE_BOOST)
#error Boost.Thread classes are required.
#endif
#ifndef USE_THREADS
#error Threading support unavailable: it should be explicitly enabled \
......
//# lofar_tribool.h: namespace wrapper for Boost.Tribool
//#
//# Copyright (C) 2002
//# ASTRON (Netherlands Foundation for Research in Astronomy)
//# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, seg@astron.nl
//#
//# This program is free software; you can redistribute it and/or modify
//# it under the terms of the GNU General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or
//# (at your option) any later version.
//#
//# This program is distributed in the hope that it will be useful,
//# but WITHOUT ANY WARRANTY; without even the implied warranty of
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//# GNU General Public License for more details.
//#
//# You should have received a copy of the GNU General Public License
//# along with this program; if not, write to the Free Software
//# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//#
//# $Id$
#ifndef LOFAR_COMMON_TRIBOOL_H
#define LOFAR_COMMON_TRIBOOL_H
// \file
// namespace wrapper for Boost.Tribool
#if !defined(HAVE_BOOST)
#error Boost.Tribool is required.
#endif
#include <boost/logic/tribool.hpp>
namespace LOFAR
{
using boost::logic::tribool;
using boost::logic::indeterminate;
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment