Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more/phys/ens_conv.h

Go to the documentation of this file.
00001 //  Copyright (C) 2001  Petter Urkedal (petter.urkedal@matfys.lth.se)
00002 //
00003 //  This file is free software; you can redistribute it and/or modify
00004 //  it under the terms of the GNU General Public License as published by
00005 //  the Free Software Foundation; either version 2 of the License, or
00006 //  (at your option) any later version.
00007 //
00008 //  This file is distributed in the hope that it will be useful,
00009 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 //  GNU General Public License for more details.
00012 //
00013 //  You should have received a copy of the GNU General Public License
00014 //  along with this program; if not, write to the Free Software
00015 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00016 //
00017 //  As a special exception, you may use this file as part of a free
00018 //  software library without restriction.  Specifically, if other files
00019 //  instantiate templates or use macros or inline functions from this
00020 //  file, or you compile this file and link it with other files to
00021 //  produce an executable, this file does not by itself cause the
00022 //  resulting executable to be covered by the GNU General Public
00023 //  License.  This exception does not however invalidate any other
00024 //  reasons why the executable file might be covered by the GNU General
00025 //  Public License.
00026 //
00027 //  $Id: ens_conv.h,v 1.1 2002/05/30 18:01:40 petter_urkedal Exp $
00028 
00029 
00030 #ifndef MORE_PHYS_ENS_CONV
00031 #define MORE_PHYS_ENS_CONV
00032 
00033 #include <more/phys/ens.h>
00034 
00035 namespace more {
00036 namespace phys {
00037 namespace ens {
00038 
00039   enum markup_language_t
00040   {
00041       markup_language_none,
00042       markup_language_html
00043   };
00044 
00045   std::string   decode_text(std::string const&, markup_language_t);
00046   nucleus       str_to_nucid(std::string const&);
00047   record_kind_t chars_to_rtype(char, char);
00048   particle_kind_t       char_to_psym(char);
00049   bool  str_to_keynum_list(std::string const&, citation_list& knl);
00050   bool  str_to_date(std::string const&, sys::date&);
00051   bool  str_vulgar_to_date(std::string const&, sys::date&);
00052   bool  str_to_number(std::string, double&, bool& par_p);
00053   bool  str_to_confiv(std::string s_val, std::string s_dev, confiv_t&,
00054                       bool allow_par = false);
00055   bool  str_to_energy(std::string s_val, std::string s_dev, confiv_t&);
00056   bool  str_to_energy(std::string s_val, std::string s_dev, confiv_t&,
00057                       energy_index_t& ref);
00058   bool  str_to_halflife(std::string s_val, std::string s_dev, confiv_t&,
00059                         bool& as_width_p);
00060   void  str_to_jpi_expr(std::string const& str, spin_parity_expr_t& jpi);
00061 
00062 
00063 }}} // more::phys::ens
00064 
00065 #endif

Generated on Sat Sep 7 19:11:21 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.