File indexing completed on 2024-05-12 15:26:38
0001 /*************************************************************************** 0002 File : AbstractColumnPrivate.h 0003 Project : LabPlot 0004 Description : Private data class of AbstractColumn 0005 -------------------------------------------------------------------- 0006 Copyright : (C) 2007-2009 Tilman Benkert (thzs@gmx.net), 0007 Copyright : (C) 2007-2009 Knut Franke (knut.franke@gmx.de) 0008 Copyright : (C) 2013-2017 Alexander Semke (alexander.semke@web.de) 0009 0010 ***************************************************************************/ 0011 0012 /*************************************************************************** 0013 * * 0014 * This program is free software; you can redistribute it and/or modify * 0015 * it under the terms of the GNU General Public License as published by * 0016 * the Free Software Foundation; either version 2 of the License, or * 0017 * (at your option) any later version. * 0018 * * 0019 * This program is distributed in the hope that it will be useful, * 0020 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 0021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 0022 * GNU General Public License for more details. * 0023 * * 0024 * You should have received a copy of the GNU General Public License * 0025 * along with this program; if not, write to the Free Software * 0026 * Foundation, Inc., 51 Franklin Street, Fifth Floor, * 0027 * Boston, MA 02110-1301 USA * 0028 * * 0029 ***************************************************************************/ 0030 0031 #ifndef ABSTRACT_COLUMN_PRIVATE_H 0032 #define ABSTRACT_COLUMN_PRIVATE_H 0033 0034 #include "backend/core/AbstractColumn.h" 0035 #include "backend/lib/IntervalAttribute.h" 0036 0037 class AbstractColumnPrivate { 0038 public: 0039 explicit AbstractColumnPrivate(AbstractColumn* owner); 0040 AbstractColumn* owner() { return m_owner; } 0041 0042 QString name() const { return m_owner->name(); } 0043 0044 IntervalAttribute<bool> m_masking; 0045 0046 private: 0047 AbstractColumn* m_owner; 0048 }; 0049 0050 #endif //ifndef ABSTRACT_COLUMN_PRIVATE_H