"Fossies" - the Fresh Open Source Software Archive

Member "fimex-1.4.1/include/fimex/MetGmCDMReader.h" (30 Oct 2019, 1824 Bytes) of package /linux/privat/fimex-1.4.1.tar.gz:


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 "MetGmCDMReader.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef METGM_CDM_READER_H
    2 #define METGM_CDM_READER_H
    3 /*
    4  * Fimex, MetGmCDMReader.h
    5  *
    6  * (C) Copyright 2011, met.no
    7  *
    8  * Project Info:  https://wiki.met.no/fimex/start
    9  *
   10  * This library is free software; you can redistribute it and/or modify it
   11  * under the terms of the GNU Lesser General Public License as published by
   12  * the Free Software Foundation; either version 2.1 of the License, or
   13  * (at your option) any later version.
   14  *
   15  * This library is distributed in the hope that it will be useful, but
   16  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   17  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
   18  * License for more details.
   19  *
   20  * You should have received a copy of the GNU Lesser General Public
   21  * License along with this library; if not, write to the Free Software
   22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
   23  * USA.
   24  *
   25  */
   26 
   27 #ifndef MIFI_IO_READER_SUPPRESS_DEPRECATED
   28 #warning \
   29   This header-file is deprecated and \
   30   may be removed without further notice at a future date. Please use a \
   31   non-deprecated interface with equivalent functionality instead, i.e. \
   32   instead of \
   33     *CDMReader(file,config) \
   34   use \
   35     CDMFileReaderFactory::create(MIFI_FILETYPE_*,file,config)
   36 #endif
   37 
   38 #include "fimex/CDMReader.h"
   39 #include "fimex/XMLInput.h"
   40 
   41 #include <memory>
   42 
   43 namespace MetNoFimex {
   44 
   45     /* forward declarations */
   46     class MetGmCDMReaderImpl;
   47 
   48     class MetGmCDMReader : public CDMReader
   49     {
   50     public:
   51         MetGmCDMReader(const std::string& metgmsource, const XMLInput& configXML);
   52         ~MetGmCDMReader();
   53 
   54         DataPtr getDataSlice(const std::string& varName, size_t unLimDimPos);
   55 
   56     private:
   57         std::unique_ptr<MetGmCDMReaderImpl> d_ptr;
   58     };
   59 
   60 } // end namespace
   61 
   62 #endif // METGM_CDM_READER_H
   63