"Fossies" - the Fresh Open Source Software Archive

Member "rawtherapee-5.7/rtgui/exiffiltersettings.cc" (10 Sep 2019, 1367 Bytes) of package /linux/misc/rawtherapee-5.7.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "exiffiltersettings.cc" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 5.6_vs_5.7.

    1 /*
    2  *  This file is part of RawTherapee.
    3  *
    4  *  Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
    5  *
    6  *  RawTherapee is free software: you can redistribute it and/or modify
    7  *  it under the terms of the GNU General Public License as published by
    8  *  the Free Software Foundation, either version 3 of the License, or
    9  *  (at your option) any later version.
   10  *
   11  *  RawTherapee is distributed in the hope that it will be useful,
   12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14  *  GNU General Public License for more details.
   15  *
   16  *  You should have received a copy of the GNU General Public License
   17  *  along with RawTherapee.  If not, see <https://www.gnu.org/licenses/>.
   18  */
   19 #include "exiffiltersettings.h"
   20 
   21 ExifFilterSettings::ExifFilterSettings ()
   22 {
   23 
   24     clear ();
   25 }
   26 
   27 void ExifFilterSettings::clear ()
   28 {
   29     fnumberFrom = 100;
   30     fnumberTo = 0;
   31     shutterFrom = 100;
   32     shutterTo = 0;
   33     isoFrom = 100000000;
   34     isoTo = 0;
   35     focalFrom = 1e8;
   36     focalTo = 0;
   37     lenses.clear ();
   38     cameras.clear ();
   39     expcomp.clear ();
   40     filetypes.clear ();
   41 
   42     filterFNumber = false;
   43     filterShutter = false;
   44     filterFocalLen = false;
   45     filterISO = false;
   46     filterExpComp = false;
   47     filterCamera = false;
   48     filterLens = false;
   49     filterFiletype = false;
   50 }