RDCode: InputFiller.h Source File

# SLNParse/InputFiller.h

Go to the documentation of this file.

    00001 //
    00002 //  Copyright (c) 2008, Novartis Institutes for BioMedical Research Inc.
    00003 //  All rights reserved.
    00004 //
    00005 // Redistribution and use in source and binary forms, with or without
    00006 // modification, are permitted provided that the following conditions are
    00007 // met:
    00008 //
    00009 //     * Redistributions of source code must retain the above copyright
    00010 //       notice, this list of conditions and the following disclaimer.
    00011 //     * Redistributions in binary form must reproduce the above
    00012 //       copyright notice, this list of conditions and the following
    00013 //       disclaimer in the documentation and/or other materials provided
    00014 //       with the distribution.
    00015 //     * Neither the name of Novartis Institutes for BioMedical Research Inc.
    00016 //       nor the names of its contributors may be used to endorse or promote
    00017 //       products derived from this software without specific prior
    00018 //       written permission.
    00019 //
    00020 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    00021 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    00022 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    00023 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    00024 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    00025 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    00026 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    00027 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    00028 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    00029 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    00030 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    00031 //
    00032 // Created by Greg Landrum, September 2006
    00033 //
    00034 #ifndef _INPUT_FILLER_H_SEPT2006_
    00035 #define _INPUT_FILLER_H_SEPT2006_
    00036 #include <cstdio>
    00037
    00038   typedef int (* INPUT_FUNC_TYPE )( char *, int ) ;
    00039
    00040   void setInputCharPtr( char * inpStr );
    00041   void charPtrCleanup( );
    00042   void setInputFilePtr( FILE * fptr );
    00043
    00044 #endif