"Fossies" - the Fresh Open Source Software Archive

Member "fityk-1.3.1/fityk/info.h" (13 May 2016, 1155 Bytes) of package /linux/misc/fityk-1.3.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 "info.h" see the Fossies "Dox" file reference documentation.

    1 // This file is part of fityk program. Copyright 2009 Marcin Wojdyr.
    2 // Licence: GNU General Public License ver. 2+
    3 
    4 #ifndef FITYK_INFO_H_
    5 #define FITYK_INFO_H_
    6 
    7 #include <string>
    8 #include <vector>
    9 #include "lexer.h" // Token
   10 #include "cparser.h" // CommandType
   11 
   12 namespace fityk {
   13 
   14 FITYK_API std::string build_info();
   15 
   16 FITYK_API const char* embedded_lua_version();
   17 
   18 /// appends output of the "info" command to the result
   19 int eval_info_args(const Full* F, int ds, const std::vector<Token>& args,
   20                    int len, std::string& result);
   21 
   22 /// handles commands info and print
   23 void command_redirectable(Full const* F, int ds,
   24                           CommandType cmd, const std::vector<Token>& args);
   25 
   26 void command_debug(const Full* F, int ds, const Token& key, const Token&rest);
   27 
   28 FITYK_API void parse_and_eval_info(Full *F, const std::string& s, int dataset,
   29                                    std::string& result);
   30 FITYK_API std::string& gnuplotize_formula(std::string& formula);
   31 FITYK_API void models_as_script(const Full* F, std::string& r,
   32                                 bool commented_defines);
   33 
   34 } // namespace fityk
   35 #endif // FITYK_INFO_H_