00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
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 }}}
00064
00065 #endif