Loading...
Searching...
No Matches
TVecLogic.h
Go to the documentation of this file.
//# TVecLogic.h: Internal functions for table vector logical operations
//# Copyright (C) 1994,1995,1999
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library 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 Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: casa-feedback@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
#ifndef TABLES_TVECLOGIC_H
#define TABLES_TVECLOGIC_H
//# Includes
#include <casacore/casa/aips.h>
namespace casacore { //# NAMESPACE CASACORE - BEGIN
//# Forward Declarations
template<class T> class TabVecRep;
// <summary>
// Comparison between two table vectors
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <synopsis>
// Element by element comparisons between two table vectors
// or between a table vector and a scalar.
// The result is true only if the comparison is true for every element
// of the table vectors.
// At some point operators will be available that return masks where the
// comparison is true.
// The left and right operands must be conformant (i.e. have equal length).
// The functions are the implementation of the wrapper functions
// defined in TabVecLogic.h.
// </synopsis>
// <group name=vectorComparison>
template<class T>
Bool tabVecReptvLE (const TabVecRep<T>& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecReptvLT (const TabVecRep<T>& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecReptvGE (const TabVecRep<T>& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecReptvGT (const TabVecRep<T>& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecReptvEQ (const TabVecRep<T>& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecReptvNE (const TabVecRep<T>& left, const TabVecRep<T>& right);
// </group>
// <summary>
// Comparison between a table vector and a scalar
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <synopsis>
// Element by element comparisons between a table vector and a scalar,
// which behaves as if it were a conformant table vector filled with the
// scalar value.
// At some point operators will be available that return masks where the
// comparison is true.
// The functions are the implementation of the wrapper functions
// defined in TabVecLogic.h.
// </synopsis>
// <group name=scalarComparison>
template<class T>
Bool tabVecRepvalrLE (const TabVecRep<T>& left, const T& right);
template<class T>
Bool tabVecRepvallLE (const T& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecRepvalrLT (const TabVecRep<T>& left, const T& right);
template<class T>
Bool tabVecRepvallLT (const T& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecRepvalrGE (const TabVecRep<T>& left, const T& right);
template<class T>
Bool tabVecRepvallGE (const T& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecRepvalrGT (const TabVecRep<T>& left, const T& right);
template<class T>
Bool tabVecRepvallGT (const T& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecRepvalrEQ (const TabVecRep<T>& left, const T& right);
template<class T>
Bool tabVecRepvallEQ (const T& left, const TabVecRep<T>& right);
template<class T>
Bool tabVecRepvalrNE (const TabVecRep<T>& left, const T& right);
template<class T>
Bool tabVecRepvallNE (const T& left, const TabVecRep<T>& right);
// </group>
} //# NAMESPACE CASACORE - END
#ifndef CASACORE_NO_AUTO_TEMPLATES
#include <casacore/tables/Tables/TVecLogic.tcc>
#endif //# CASACORE_NO_AUTO_TEMPLATES
#endif
casacore::TabVecRep
Templated base class for table vectors.
Definition TVec.h:106
casacore
this file contains all the compiler specific defines
Definition mainpage.dox:28
casacore::Bool
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40
casacore::TVecLogic_global_functions_scalarComparison
Comparison between a table vector and a scalar.
Definition TVecLogic.h:96
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvalrLE
Bool tabVecRepvalrLE(const TabVecRep< T > &left, const T &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvalrGE
Bool tabVecRepvalrGE(const TabVecRep< T > &left, const T &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvalrGT
Bool tabVecRepvalrGT(const TabVecRep< T > &left, const T &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvallGT
Bool tabVecRepvallGT(const T &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvalrNE
Bool tabVecRepvalrNE(const TabVecRep< T > &left, const T &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvallNE
Bool tabVecRepvallNE(const T &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvalrEQ
Bool tabVecRepvalrEQ(const TabVecRep< T > &left, const T &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvallGE
Bool tabVecRepvallGE(const T &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvallLE
Bool tabVecRepvallLE(const T &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvallLT
Bool tabVecRepvallLT(const T &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvallEQ
Bool tabVecRepvallEQ(const T &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_scalarComparison::tabVecRepvalrLT
Bool tabVecRepvalrLT(const TabVecRep< T > &left, const T &right)
casacore::TVecLogic_global_functions_vectorComparison
Definition TVecLogic.h:61
casacore::TVecLogic_global_functions_vectorComparison::tabVecReptvNE
Bool tabVecReptvNE(const TabVecRep< T > &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_vectorComparison::tabVecReptvGE
Bool tabVecReptvGE(const TabVecRep< T > &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_vectorComparison::tabVecReptvEQ
Bool tabVecReptvEQ(const TabVecRep< T > &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_vectorComparison::tabVecReptvGT
Bool tabVecReptvGT(const TabVecRep< T > &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_vectorComparison::tabVecReptvLE
Bool tabVecReptvLE(const TabVecRep< T > &left, const TabVecRep< T > &right)
casacore::TVecLogic_global_functions_vectorComparison::tabVecReptvLT
Bool tabVecReptvLT(const TabVecRep< T > &left, const TabVecRep< T > &right)