Gambit::Printers Namespace Reference Forward declaration of Printers::BasePrinter class for use in print functions. More...
Detailed DescriptionForward declaration of Printers::BasePrinter class for use in print functions. Forward declaration. Typedef Documentation◆ BaseBufferMap
◆ Buffer
Definition at line 68 of file asciiprinter.hpp. ◆ create_reader_function
Definition at line 239 of file baseprinter.hpp. ◆ LineBuf
Definition at line 51 of file asciiprinter.hpp. ◆ llint
Definition at line 51 of file sqlitebase.hpp. ◆ longlong
Definition at line 61 of file basebaseprinter.hpp. ◆ sql_callback_fptrDefinition at line 45 of file sqlitebase.hpp. ◆ str
Definition at line 52 of file sqlitebase.hpp. ◆ uint
Definition at line 59 of file basebaseprinter.hpp. ◆ ulong
Definition at line 60 of file basebaseprinter.hpp. ◆ ulonglong
Definition at line 62 of file basebaseprinter.hpp. ◆ ushort
PRINT FUNCTIONS Need to define one of these for every type we want to print! Definition at line 31 of file print_overloads.cpp. Enumeration Type Documentation◆ TagsReserved tags for MPI messages TAG_REQ - for messages registering/requesting a new tags INIT_PASS - for messages registering completion of initialisation PPFILES_PASS - for messages registering completion of preprocessing of existing files (combination/deletion) FINAL_PASS - for messages registering passing of checkpoint during finalise PPID_SEND - for messages transferring point ID information N_BUFFERS_SENT - for messages counting the number of buffer transfer messages being sent in one 'package' RA_BUFFERS_SENT - Contains no data, just indicates that RA buffer messages from some process are waiting to send. FINAL_SYNC - Contains no data, used to trigger final buffer sends and receives.
Definition at line 35 of file VertexBuffer_mpitags.hpp. 35 { TAG_REQ=0, INIT_PASS, PPFILES_PASS, FINAL_PASS, PPID_SEND, N_BUFFERS_SENT, RA_BUFFERS_SENT, FINAL_SYNC };
Function Documentation◆ _common_print() [1/10]
template<typename P , typename T >
Common print overload template. ◆ _common_print() [2/10]
template<typename P >
Vector-of-doubles print overload. Definition at line 44 of file common_print_overloads.hpp. void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171 ◆ _common_print() [3/10]
template<typename P >
String-to-double map print overload. Definition at line 56 of file common_print_overloads.hpp. void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171 ◆ _common_print() [4/10]
template<typename P >
Integer pair-to-double map print overload. Definition at line 69 of file common_print_overloads.hpp. 71 for (std::map<std::pair<int,int>, double>::const_iterator it = map.begin(); it != map.end(); it++)
void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171 ◆ _common_print() [5/10]
template<typename P >
ModelParameters print overload. Definition at line 81 of file common_print_overloads.hpp. References Gambit::ModelParameters::getValues(). void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171
Here is the call graph for this function:
![]() ◆ _common_print() [6/10]
template<typename P >
Triplet print overload. Definition at line 89 of file common_print_overloads.hpp. References Gambit::triplet< TYPE >::central, Gambit::triplet< TYPE >::lower, and Gambit::triplet< TYPE >::upper. void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171 ◆ _common_print() [7/10]
template<typename P >
DM-nucleon coupling print overload. Definition at line 102 of file common_print_overloads.hpp. void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171 ◆ _common_print() [8/10]
template<typename P >
DM-nucleon coupling print overload (For the fermionic HP) Definition at line 114 of file common_print_overloads.hpp. void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171 ◆ _common_print() [9/10]
template<typename P >
K*->mumu angular observables print overload. Definition at line 126 of file common_print_overloads.hpp. void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171 ◆ _common_print() [10/10]
template<typename P >
BBN observables print overload. Definition at line 145 of file common_print_overloads.hpp. References combine_hdf5::index. void _print(T const &, const std::string &label, const int vertexID, const uint, const ulong) Default _print function. Definition: basebaseprinter.hpp:171 ◆ ADD_ASCII_SIMPLE_PRINTS()
Definition at line 85 of file print_overloads.cpp. References Gambit::Printers::asciiPrinter::addtobuffer(), DM_nucleon_couplings, and USE_COMMON_PRINT_OVERLOAD().
Here is the call graph for this function:
![]() ◆ auto_increment()
Global flag to indicate if auto-incrementing of the PointID by the likelihood container is allowed. Definition at line 20 of file printer_id_tools.cpp. Referenced by Gambit::Scanner::Function_Base< ret(args...)>::operator()(), and Gambit::PostProcessor::PPDriver::run_main_loop().
Here is the caller graph for this function:
![]() ◆ BOOST_PP_SEQ_FOR_EACH_I() [1/2]
Definition at line 33 of file hdf5reader.cpp. References Gambit::Printers::HDF5::hid_t, LOCAL_INFO, Gambit::Printers::HDF5::openFile(), and printer_error(). 42 errmsg << "Error opening HDF5 file '"<<file<<"' for reading! See HDF5 error (stderr) for further details.";
hid_t openFile(const std::string &fname, bool overwrite, bool &oldfile, const char access_type='r') File and group manipulation. Definition: hdf5tools.cpp:182
Here is the call graph for this function:
![]() ◆ BOOST_PP_SEQ_FOR_EACH_I() [2/2]
For debugging; print to stdout all the typeIDs for all types. Definition at line 36 of file baseprinter.cpp. References PRINTABLE_TYPES, and PRINTTYPEID. #define PRINTTYPEID(r, data, elem) ◆ check_for_error_messages()
Definition at line 160 of file hdf5printer.cpp. References Gambit::SignalData::check_if_shutdown_begun(), and Gambit::signaldata(). 162 signaldata().check_if_shutdown_begun(); // Will throw a shutdown exception if an emergency shutdown command is received via MPI EXPORT_SYMBOLS bool check_if_shutdown_begun() Check for signals that early shutdown is required If an MPI message telling us to perform an emergenc... Definition: signal_handling.cpp:379 EXPORT_SYMBOLS SignalData & signaldata() Retrieve global instance of signal handler options struct. Definition: signal_handling.cpp:633
Here is the call graph for this function:
![]() ◆ col_name_callback()Definition at line 43 of file sqlitebase.cpp. Referenced by Gambit::Printers::SQLitePrinter::ensure_column_exists(), and Gambit::Printers::SQLiteBase::get_column_info().
Here is the caller graph for this function:
![]() ◆ comma_unless_last()
template<typename Iter , typename Cont >
Definition at line 82 of file sqlitebase.hpp. References next_el(). Referenced by Gambit::Printers::SQLitePrinter::dump_buffer_as_UPDATE(), Gambit::Printers::SQLiteReader::reset(), Gambit::Printers::SQLitePrinter::reset(), and Gambit::Printers::SQLitePrinter::turn_buffer_into_insert().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ cpp2sql()
template<typename T >
◆ cpp2sql< double >()
template<>
Definition at line 63 of file sqlitebase.cpp. ◆ cpp2sql< long long int >()
template<>
Definition at line 62 of file sqlitebase.cpp. ◆ cpp2sql< std::string >()
template<>
Definition at line 64 of file sqlitebase.cpp. ◆ DEFINE_BUFFMAN_GETTER()
Templated H5P_LocalBufferManager member functions. Definition at line 437 of file hdf5printer.hpp. References LOCAL_INFO, Gambit::Printers::H5P_LocalBufferManager< BuffType >::printer, printer_error(), Gambit::Printers::H5P_LocalBufferManager< BuffType >::ready(), and Gambit::Printers::H5P_LocalBufferManager< BuffType >::synchronised. 459 errmsg << "Error! Tried to initialise a H5P_LocalBufferManager with a null pointer! Need an actual HDF5Printer object in order to work. This is a bug in the HDF5Printer class, please report it."; 466 errmsg << "Error! Tried to initialise a H5P_LocalBufferManager twice! This is a bug in the HDF5Printer class, please report it.";
Here is the call graph for this function:
![]() ◆ define_mpiHDF5bufferchunk()
Referenced by Gambit::Printers::HDF5Printer2::HDF5Printer2(), and operator!=().
Here is the caller graph for this function:
![]() ◆ define_typecodes()
Definition at line 69 of file sqlitebase.cpp. References typecode2sql. ◆ error_if_key_exists()
template<class T , class U >
Helper function to check if a VertexBuffer key already exists in a map. Definition at line 74 of file hdf5printer.hpp. References LOCAL_INFO, and printer_error(). Referenced by Gambit::Printers::H5P_LocalReadBufferManager< uint >::get_buffer(), Gambit::Printers::H5P_LocalBufferManager< BT(int)>::get_buffer(), and Gambit::Printers::HDF5Printer::insert_buffer(). 82 errmsg << "Error! Supplied key for a VertexBuffer already exists in map (tag="<<tag<<")! This is a bug in the HDF5Printer (or Reader) class, please report it.";
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ fill_SQLtype_to_basic()
◆ get_all_params()
Get names of all parameters known to printer system (vector index corresponds to ID number) Get names of all parameters known to printer system (vector index corresponds to ID number) Assumes IDs were assigned starting at zero and incrementing upwards! This should be what is happening, but just keep note of this in case of future changes! Definition at line 37 of file printer_id_tools.cpp. References get_param_id_map(). std::unordered_map< std::string, long long int > & get_param_id_map() Definition: printer_id_tools.cpp:28
Here is the call graph for this function:
![]() ◆ get_aux_param_id() [1/2]
Returns unique negative parameter id; just a thin wrapper for get_param_id. Definition at line 96 of file printer_id_tools.cpp. Referenced by Gambit::Scanner::assign_aux_numbers(). EXPORT_SYMBOLS int get_aux_param_id(const std::string &) Returns unique negative parameter id; just a thin wrapper for get_param_id. Definition: printer_id_tools.cpp:96
Here is the caller graph for this function:
![]() ◆ get_aux_param_id() [2/2]
Extra argument returns true if new ID was assigned. Definition at line 91 of file printer_id_tools.cpp. References get_param_id(). EXPORT_SYMBOLS int get_param_id(const std::string &name, bool &is_new) Consolidated 'get id' function, for both main and aux. Definition: printer_id_tools.cpp:54
Here is the call graph for this function:
![]() ◆ get_main_param_id() [1/2]
Returns unique positive parameter id; just a thin wrapper for get_param_id. Definition at line 85 of file printer_id_tools.cpp. EXPORT_SYMBOLS int get_main_param_id(const std::string &) Returns unique positive parameter id; just a thin wrapper for get_param_id. Definition: printer_id_tools.cpp:85 ◆ get_main_param_id() [2/2]
Extra argument returns true if new ID was assigned. Definition at line 80 of file printer_id_tools.cpp. References get_param_id(). EXPORT_SYMBOLS int get_param_id(const std::string &name, bool &is_new) Consolidated 'get id' function, for both main and aux. Definition: printer_id_tools.cpp:54
Here is the call graph for this function:
![]() ◆ get_param_id() [1/2]
Consolidated 'get id' function, for both main and aux. bjf> I think that there is actually no need or reason to maintain two separate lists of IDs. I am changing this to now use only one list, although both old ways of accessing the IDs (main vs aux) will still exist for backwards compatibility. Definition at line 54 of file printer_id_tools.cpp. References Gambit::EOM, get_param_id_map(), Gambit::LogTags::info, Gambit::logger(), generate_raster_scan_settings::N, and Gambit::LogTags::printers. Referenced by Gambit::Printers::HDF5Reader::_retrieve_template(), get_aux_param_id(), get_main_param_id(), get_param_id(), and Gambit::DRes::DependencyResolver::initialisePrinter(). 67 logger() << LogTags::printers << LogTags::info << "Assigned printer ID '"<<N<<"' to output quantity with label '"<<name<<"'" << EOM; std::unordered_map< std::string, long long int > & get_param_id_map() Definition: printer_id_tools.cpp:28 Definition: log_tags.hpp:36 const Logging::endofmessage EOM Explicit const instance of the end of message struct in Gambit namespace. Definition: logger.hpp:100 EXPORT_SYMBOLS Logging::LogMaster & logger() Function to retrieve a reference to the Gambit global log object. Definition: logger.cpp:95 Definition: log_tags.hpp:53
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ get_param_id() [2/2]
Definition at line 74 of file printer_id_tools.cpp. References get_param_id(). EXPORT_SYMBOLS int get_param_id(const std::string &name, bool &is_new) Consolidated 'get id' function, for both main and aux. Definition: printer_id_tools.cpp:54
Here is the call graph for this function:
![]() ◆ get_param_id_map()
Definition at line 28 of file printer_id_tools.cpp. Referenced by get_all_params(), and get_param_id().
Here is the caller graph for this function:
![]() ◆ get_point_id()
Returns unigue pointid;. Global scan point ID number. Definition at line 13 of file printer_id_tools.cpp. Referenced by Gambit::Printers::HDF5Printer::common_constructor(), Gambit::Scanner::Function_Base< ret(args...)>::getPtID(), Gambit::Printers::HDF5Printer2::HDF5Printer2(), Gambit::Scanner::Function_Base< ret(args...)>::operator()(), Gambit::Scanner::like_ptr::operator()(), Gambit::Scanner::Function_Base< ret(args...)>::setPtID(), and Gambit::Printers::SQLitePrinter::SQLitePrinter().
Here is the caller graph for this function:
![]() ◆ getTypeID()Helper template functions to retrieve type IDs for a type. ID is just a unique integer for each printable type
Definition at line 67 of file basebaseprinter.hpp. References Gambit::LogTags::err, LOCAL_INFO, and printer_error(). 70 err << "getTypeID failed! No typeID known for requested type! (with compiler name: "<<typeid(T).name()<<")";
Definition: log_tags.hpp:38
Here is the call graph for this function:
![]() ◆ h5v2_BEGIN()
Referenced by Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk().
Here is the caller graph for this function:
![]() ◆ h5v2_BLOCK()
Referenced by Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk(), and Gambit::Printers::HDF5Buffer< uint >::N_items_in_buffer().
Here is the caller graph for this function:
![]() ◆ h5v2_bufdata_points()
Referenced by Gambit::Printers::HDF5Buffer< uint >::N_items_in_buffer().
Here is the caller graph for this function:
![]() ◆ h5v2_bufdata_ranks()
Referenced by Gambit::Printers::HDF5Buffer< uint >::N_items_in_buffer().
Here is the caller graph for this function:
![]() ◆ h5v2_bufdata_type()
Referenced by Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk(), and Gambit::Printers::HDF5Buffer< uint >::N_items_in_buffer().
Here is the caller graph for this function:
![]() ◆ h5v2_bufdata_valid()
Referenced by Gambit::Printers::HDF5Buffer< uint >::N_items_in_buffer().
Here is the caller graph for this function:
![]() ◆ h5v2_bufdata_values()
Referenced by Gambit::Printers::HDF5Buffer< uint >::N_items_in_buffer(), and Gambit::Printers::HDF5MasterBuffer::schedule_print().
Here is the caller graph for this function:
![]() ◆ h5v2_bufname()
MPI tags for HDF5 printer v2. Referenced by Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk(), and Gambit::Printers::HDF5Buffer< uint >::N_items_in_buffer().
Here is the caller graph for this function:
![]() ◆ h5v2_type()
template<class T >
Definition at line 278 of file hdf5tools.hpp. ◆ h5v2_type< double >()
template<>
Definition at line 286 of file hdf5tools.hpp. Referenced by Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk(), and Gambit::Printers::HDF5::is_float_type().
Here is the caller graph for this function:
![]() ◆ h5v2_type< float >()
template<>
Definition at line 285 of file hdf5tools.hpp. Referenced by Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk(), and Gambit::Printers::HDF5::is_float_type().
Here is the caller graph for this function:
![]() ◆ h5v2_type< int >()
template<>
Definition at line 279 of file hdf5tools.hpp. Referenced by Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk(), and Gambit::Printers::HDF5::is_float_type().
Here is the caller graph for this function:
![]() ◆ h5v2_type< long >()
template<>
Definition at line 281 of file hdf5tools.hpp. Referenced by Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk(), and Gambit::Printers::HDF5::is_float_type().
Here is the caller graph for this function:
![]() ◆ h5v2_type< long long >()
template<>
Definition at line 283 of file hdf5tools.hpp. Referenced by Gambit::Printers::HDF5::is_float_type().
Here is the caller graph for this function:
![]() ◆ h5v2_type< unsigned int >()
template<>
Definition at line 280 of file hdf5tools.hpp. Referenced by Gambit::Printers::HDF5::is_float_type().
Here is the caller graph for this function:
![]() ◆ h5v2_type< unsigned long >()
template<>
Definition at line 282 of file hdf5tools.hpp. Referenced by Gambit::Printers::HDF5::is_float_type().
Here is the caller graph for this function:
![]() ◆ h5v2_type< unsigned long long >()
template<>
Definition at line 284 of file hdf5tools.hpp. Referenced by Gambit::Printers::HDF5::is_float_type().
Here is the caller graph for this function:
![]() ◆ lsGroup_process()
Definition at line 49 of file hdf5reader.cpp. References Gambit::Utils::endsWith(), and Gambit::Printers::HDF5::lsGroup(). EXPORT_SYMBOLS bool endsWith(const std::string &str, const std::string &suffix) Checks whether `str' ends with `suffix'. Definition: util_functions.cpp:398 std::vector< std::string > lsGroup(hid_t group_id) List object names in a group. Definition: hdf5tools.cpp:593
Here is the call graph for this function:
![]() ◆ next_el()
template<typename Iter >
Definition at line 74 of file sqlitebase.hpp. Referenced by comma_unless_last().
Here is the caller graph for this function:
![]() ◆ open_output_file()
Open file stream with error checking. Definition at line 61 of file asciiprinter.cpp. Referenced by Gambit::Printers::asciiPrinter::common_constructor(), Gambit::Printers::asciiPrinter::dump_buffer(), and Gambit::Printers::asciiPrinter::reset().
Here is the caller graph for this function:
![]() ◆ operator!=() [1/3]Definition at line 43 of file new_mpi_datatypes.cpp. References r. Referenced by Gambit::Printers::PPIDpair::PPIDpair(), Gambit::Printers::VBIDpair::VBIDpair(), and Gambit::Printers::VBIDtrip::VBIDtrip().
Here is the caller graph for this function:
![]() ◆ operator!=() [2/3]Definition at line 53 of file new_mpi_datatypes.cpp. References r. ◆ operator!=() [3/3]Definition at line 76 of file new_mpi_datatypes.cpp. References define_mpiHDF5bufferchunk(), Gambit::Printers::HDF5bufferchunk::NBUFFERS, r, and Gambit::Printers::HDF5bufferchunk::SIZE.
Here is the call graph for this function:
![]() ◆ operator<() [1/3]Definition at line 37 of file new_mpi_datatypes.cpp. References Gambit::Printers::VBIDpair::index, and Gambit::Printers::VBIDpair::vertexID. Referenced by Gambit::Printers::PPIDpair::PPIDpair(), Gambit::Printers::VBIDpair::VBIDpair(), and Gambit::Printers::VBIDtrip::VBIDtrip().
Here is the caller graph for this function:
![]() ◆ operator<() [2/3]Definition at line 47 of file new_mpi_datatypes.cpp. References Gambit::Printers::VBIDtrip::first_tag, Gambit::Printers::VBIDtrip::index, and Gambit::Printers::VBIDtrip::vertexID. ◆ operator<() [3/3]Definition at line 57 of file new_mpi_datatypes.cpp. References LOCAL_INFO, Gambit::Printers::PPIDpair::pointID, Gambit::Printers::PPIDpair::rank, Gambit::utils_error(), and Gambit::Printers::PPIDpair::valid.
Here is the call graph for this function:
![]() ◆ operator<<()
Stream operator overloads. Definition at line 178 of file new_mpi_datatypes.cpp. References Gambit::Printers::PPIDpair::pointID, and Gambit::Printers::PPIDpair::rank. Referenced by Gambit::Printers::PPIDpair::PPIDpair().
Here is the caller graph for this function:
![]() ◆ operator==() [1/3]Definition at line 40 of file new_mpi_datatypes.cpp. References Gambit::Printers::VBIDpair::index, and Gambit::Printers::VBIDpair::vertexID. Referenced by Gambit::Printers::PPIDpair::PPIDpair(), Gambit::Printers::VBIDpair::VBIDpair(), and Gambit::Printers::VBIDtrip::VBIDtrip().
Here is the caller graph for this function:
![]() ◆ operator==() [2/3]Definition at line 50 of file new_mpi_datatypes.cpp. References Gambit::Printers::VBIDtrip::first_tag, Gambit::Printers::VBIDtrip::index, and Gambit::Printers::VBIDtrip::vertexID. ◆ operator==() [3/3]Definition at line 73 of file new_mpi_datatypes.cpp. References Gambit::Printers::PPIDpair::pointID, Gambit::Printers::PPIDpair::rank, and Gambit::Printers::PPIDpair::valid. ◆ pairfunc()
Definition at line 36 of file sqlitebase.hpp. Referenced by Gambit::Printers::SQLitePrinter::insert_data().
Here is the caller graph for this function:
![]() ◆ parse_label_for_ModelParameters()
Helper function for the ModelParameters '_retrieve' functions Parses a printer label and checks if it contains a single model parameter. "out" is a memory location to store the parameter name, if found. "labelroot" is a memory location to store the rest of the label (i.e. minus the parameter name) Definition at line 81 of file baseprinter.cpp. References Gambit::Utils::delimiterSplit(), Gambit::Utils::iequals(), and Gambit::Utils::startsWith(). 104 // Still good so far, check 'rest', should be something like @NormalDist::primary_parameters::mu EXPORT_SYMBOLS bool startsWith(const std::string &str, const std::string &prefix, bool case_sensitive=true) Checks whether `str' begins with `prefix'. Definition: util_functions.cpp:410 EXPORT_SYMBOLS bool iequals(const std::string &a, const std::string &b, bool case_sensitive=false) Perform a (possibly) case-insensitive string comparison. Definition: util_functions.cpp:195 EXPORT_SYMBOLS std::vector< str > delimiterSplit(str s, str delim) Split a string into a vector of strings, using a delimiter, and removing any whitespace around the de... Definition: util_functions.cpp:93
Here is the call graph for this function:
![]() ◆ parse_label_for_spectrum_entry()
Helper function for parsing Spectrum label strings. Helper function for the Spectrum '_retrieve' functions Parses a printer label and checks if it contains a single Spectrum entry. "out" is a memory location to store the spectrum entry name, if found. "labelroot" is a memory location to store the rest of the label (i.e. minus the entry name) Definition at line 129 of file baseprinter.cpp. References Gambit::Utils::delimiterSplit(), and Gambit::Utils::iequals(). EXPORT_SYMBOLS bool iequals(const std::string &a, const std::string &b, bool case_sensitive=false) Perform a (possibly) case-insensitive string comparison. Definition: util_functions.cpp:195 EXPORT_SYMBOLS std::vector< str > delimiterSplit(str s, str delim) Split a string into a vector of strings, using a delimiter, and removing any whitespace around the de... Definition: util_functions.cpp:93
Here is the call graph for this function:
![]() ◆ printAllH5Types()DEBUG: print to stdout all HDF5 type IDs. Definition at line 834 of file hdf5tools.cpp. References H5_OUTPUT_TYPES, and PRINTTYPEID. ◆ printAllTypeIDs()For debugging; print to stdout all the typeIDs for all types. ◆ printer_error()
Printer errors. Definition at line 93 of file standalone_error_handlers.cpp. References Gambit::LogTags::printers. Referenced by Gambit::Printers::HDF5::_checkDatasetReadable_helper(), Gambit::Printers::BaseBasePrinter::_print(), Gambit::Printers::BaseBaseReader::_retrieve(), Gambit::Printers::SQLiteReader::_retrieve_template(), Gambit::Printers::HDF5Printer2::add_aux_buffer(), Gambit::Printers::HDF5Printer::add_PPID_to_list(), Gambit::Printers::asciiPrinter::addtobuffer(), Gambit::Printers::asciiReader::advance_to_point(), Gambit::Printers::VertexBufferNumeric1D< T, CHUNKLENGTH >::append(), Gambit::Printers::asciiReader::asciiReader(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::attempt_postponed_RA_write_to_disk(), Gambit::Printers::HDF5Buffer< uint >::block_flush(), BOOST_PP_SEQ_FOR_EACH_I(), Gambit::Printers::BuffTags::BuffTags(), Gambit::Printers::HDF5Printer2::check_consistency(), Gambit::Printers::HDF5Printer::check_for_new_point(), Gambit::Printers::HDF5Printer::check_sync(), Gambit::Printers::SQLiteBase::check_table_exists(), Gambit::Printers::HDF5::checkDatasetReadable(), Gambit::Printers::HDF5::checkFileReadable(), Gambit::Printers::HDF5::checkGroupReadable(), Gambit::Printers::HDF5MasterBuffer::close_and_unlock_file(), Gambit::Printers::HDF5DataSetBase::close_dataset(), Gambit::Printers::DataSetInterfaceBase< uint, 0, CHUNKLENGTH >::closeDataSet(), Gambit::Printers::HDF5::closeFile(), Gambit::Printers::HDF5Printer::combine_output(), Gambit::Printers::HDF5Printer::combine_output_py(), Gambit::Printers::HDF5Printer::common_constructor(), Gambit::Printers::HDF5DataSetBasic::create_dataset(), Gambit::Printers::HDF5DataSet< uint >::create_dataset(), Gambit::Printers::HDF5::createFile(), Gambit::Printers::HDF5::createGroup(), Gambit::Printers::HDF5DataSetBase::dataset_exists(), DEFINE_BUFFMAN_GETTER(), Gambit::Printers::PrinterManager::delete_reader(), Gambit::Printers::PrinterManager::delete_stream(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::dsetdata(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::dsetvalid(), Gambit::Printers::asciiPrinter::dump_buffer(), Gambit::Printers::HDF5Printer::empty_sync_buffers(), Gambit::Printers::SQLitePrinter::ensure_column_exists(), Gambit::Printers::HDF5DataSetBase::ensure_dataset_is_open(), Gambit::Printers::HDF5MasterBuffer::ensure_file_is_open(), Gambit::Printers::HDF5::hdf5_stuff::Enter_Aux_Parameters(), Gambit::Printers::HDF5::Enter_HDF5(), Gambit::Printers::VertexBufferBase::error_if_done(), error_if_key_exists(), Gambit::Printers::HDF5DataSetBase::extend_dset_to(), Gambit::Printers::VertexBufferBase::fast_forward(), Gambit::Printers::HDF5Printer::finalise(), Gambit::Printers::HDF5Printer::find_temporary_files(), Gambit::Printers::HDF5MasterBuffer::flush(), Gambit::Printers::HDF5MasterBuffer::get_all_dset_names_on_disk(), Gambit::Printers::H5P_LocalReadBufferManager< uint >::get_buffer(), Gambit::Printers::H5P_LocalBufferManager< BT(int)>::get_buffer(), Gambit::Printers::HDF5Printer2::get_buffer_length(), Gambit::Printers::DataSetInterfaceScalar< double, CHUNKLENGTH >::get_chunk(), Gambit::Printers::HDF5DataSet< uint >::get_chunk(), Gambit::Printers::SQLiteReader::get_col_i(), Gambit::Printers::asciiReader::get_column_info(), Gambit::Printers::SQLiteBase::get_column_info(), Gambit::Printers::SQLiteReader::get_dataset_length(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::get_dataset_length(), Gambit::Printers::SQLiteBase::get_db(), Gambit::Printers::DataSetInterfaceBase< uint, 0, CHUNKLENGTH >::get_dset_id(), Gambit::Printers::VertexBufferNumeric1D< T, CHUNKLENGTH >::get_entry(), Gambit::Printers::HDF5Printer2::get_filename(), Gambit::Printers::PrinterManager::get_full_reader(), Gambit::Printers::HDF5Printer::get_global_index(), Gambit::Printers::HDF5Printer2::get_HDF5_primary_printer(), Gambit::Printers::HDF5Printer::get_highest_PPID_from_HDF5(), Gambit::Printers::HDF5MasterBuffer::get_highest_PPIDs(), Gambit::Printers::HDF5Reader::get_index_from_PPID(), Gambit::Printers::HDF5Printer::get_location(), Gambit::Printers::HDF5MasterBuffer::get_next_free_position(), Gambit::Printers::HDF5MasterBuffer::get_position_map(), Gambit::get_pp_reader(), Gambit::Printers::HDF5Printer::get_RA_location(), Gambit::Printers::HDF5::get_RA_write_hash(), Gambit::Printers::PrinterManager::get_stream(), Gambit::Printers::SQLiteReader::get_type(), Gambit::Printers::HDF5Reader::get_type(), Gambit::Printers::HDF5::getChunk(), Gambit::Printers::HDF5::getH5DatasetType(), getTypeID(), Gambit::Printers::HDF5::hdf5_stuff::hdf5_stuff(), Gambit::Printers::HDF5Printer2::HDF5Printer2(), Gambit::Printers::HDF5Reader::HDF5Reader(), Gambit::Printers::SQLitePrinter::insert_data(), Gambit::Printers::HDF5::inttype_from_h5type(), Gambit::Printers::HDF5::isDataSet(), Gambit::Printers::HDF5MasterBuffer::lock_and_open_file(), Gambit::Printers::HDF5::lsGroup(), Gambit::Printers::SQLiteReader::move_to_next_point(), Gambit::Printers::VertexBufferBase::MPImode_only(), Gambit::Printers::HDF5Buffer< uint >::N_items_in_buffer(), Gambit::Printers::PrinterManager::new_reader(), Gambit::Printers::asciiReader::next_row(), Gambit::Printers::HDF5DataSetBase::open_dataset(), Gambit::Printers::SQLiteBase::open_db(), Gambit::Printers::HDF5::openDataset(), Gambit::Printers::HDF5::openFile(), Gambit::Printers::HDF5::openGroup(), Gambit::Printers::HDF5Printer::prepare_and_combine_tmp_files(), Gambit::Printers::PrinterManager::PrinterManager(), Gambit::Printers::VertexBufferNumeric1D< T, CHUNKLENGTH >::RA_flush(), Gambit::Printers::VertexBufferNumeric1D< T, CHUNKLENGTH >::RA_write(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::RA_write_to_disk(), Gambit::Printers::HDF5Buffer< uint >::random_flush(), Gambit::Printers::SQLiteBase::require_output_ready(), Gambit::Printers::asciiReader::reset(), Gambit::Printers::SQLiteReader::reset(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::reset(), Gambit::Printers::HDF5Printer::reset(), Gambit::Printers::HDF5Buffer< uint >::reset(), Gambit::Printers::coutPrinter::resume_reader_options(), Gambit::Printers::nonePrinter::resume_reader_options(), Gambit::Printers::asciiPrinter::resume_reader_options(), Gambit::Printers::HDF5Printer2::resume_reader_options(), Gambit::Printers::HDF5Reader::retrieve_and_add_to_SLHAea(), Gambit::Printers::BaseReader::retrieve_and_print(), Gambit::Printers::HDF5::copy_hdf5::run(), Gambit::Printers::HDF5::ra_copy_hdf5::run(), safe_col_lookup(), Gambit::Printers::HDF5MasterBuffer::schedule_print(), Gambit::Printers::DataSetInterfaceScalar< double, CHUNKLENGTH >::select_chunk(), Gambit::Printers::HDF5DataSetBase::select_hyperslab(), Gambit::Printers::HDF5::selectChunk(), Gambit::Printers::HDF5::setup_hdf5_points(), Gambit::Printers::VertexBufferNumeric1D< T, CHUNKLENGTH >::skip_append(), SQLite_equaltypes(), Gambit::Printers::SQLitePrinter::SQLitePrinter(), SQLiteReader::get_sql_col< std::string >(), Gambit::Printers::SQLiteBase::submit_sql(), Gambit::Printers::HDF5Printer::synchronise_buffers(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::synchronise_output_to_position(), Gambit::Printers::HDF5MasterBuffer::untrack_points(), Gambit::Printers::HDF5MasterBuffer::update_buffer_map(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::update_dset_head_pos(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::VertexBufferNumeric1D_HDF5(), Gambit::Printers::HDF5DataSet< uint >::write_buffer(), Gambit::Printers::HDF5DataSet< uint >::write_RA_buffer(), Gambit::Printers::VertexBufferNumeric1D_HDF5< T, CHUNKLENGTH >::write_to_disk(), and Gambit::Printers::HDF5DataSetBase::~HDF5DataSetBase(). 95 static error local("A problem has occurred in the printer utilities.","printer_error", printers); Definition: log_tags.hpp:53
Here is the caller graph for this function:
![]() ◆ printer_warning()
Printer warnings. Definition at line 100 of file standalone_error_handlers.cpp. References Gambit::LogTags::printers. Referenced by Gambit::Printers::HDF5Printer2::check_consistency(), Gambit::Printers::HDF5Printer2::finalise(), Gambit::Printers::HDF5Printer2::HDF5Printer2(), and Gambit::Printers::HDF5MasterBuffer::schedule_print(). 102 static warning local("A problem has occurred in the printer utilities.","printer_warning", printers); Definition: log_tags.hpp:53
Here is the caller graph for this function:
![]() ◆ safe_col_lookup()
Helper function for map lookup. Definition at line 28 of file asciireader.cpp. References Gambit::LogTags::err, LOCAL_INFO, and printer_error(). 34 err << "Error! asciiReader could not locate the required entry '"<<key<<"' in the info file '"<<fname<<"'. Please check that the supplied filename is a valid 'info' file produced by asciiPrinter in a previous scan." << std::endl;
Definition: log_tags.hpp:38
Here is the call graph for this function:
![]() ◆ set_diff()
template<class T >
Definition at line 101 of file hdf5printer_v2.hpp. Referenced by Gambit::Printers::HDF5Buffer< uint >::block_flush(), and Gambit::Printers::HDF5MasterBuffer::flush().
Here is the caller graph for this function:
![]() ◆ SPECIALISE_HDF5_DATA_TYPE_IF_NEEDED() [1/4]
Typedef'd types; enabled only where they differ from the true types. ◆ SPECIALISE_HDF5_DATA_TYPE_IF_NEEDED() [2/4]
◆ SPECIALISE_HDF5_DATA_TYPE_IF_NEEDED() [3/4]
◆ SPECIALISE_HDF5_DATA_TYPE_IF_NEEDED() [4/4]
◆ SQLite_equaltypes()
Definition at line 125 of file sqlitebase.cpp. References Gambit::LogTags::err, LOCAL_INFO, and printer_error(). Referenced by Gambit::Printers::SQLiteReader::_retrieve_template(). 136 err<<"Could not determine a basic SQLite 'affinity' type for data type named '"<<type1<<"' (first argument to this type checking dunction)"; 142 err<<"Could not determine a basic SQLite 'affinity' type for data type named '"<<type2<<"' (second argument to this type checking dunction)";
Definition: log_tags.hpp:38 const std::map< std::string, std::string, Utils::ci_less > SQLtype_to_basic(fill_SQLtype_to_basic())
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ SQLiteReader::get_sql_col< std::string >()
template<>
Definition at line 79 of file sqlitereader.cpp. References Gambit::LogTags::err, Gambit::Printers::SQLiteReader::get_col_i(), LOCAL_INFO, printer_error(), and Gambit::Printers::SQLiteReader::stmt. Definition: log_tags.hpp:38
Here is the call graph for this function:
![]() ◆ SQLtype_to_basic()
◆ typecode2sql()
◆ USE_COMMON_PRINT_OVERLOAD() [1/10]
◆ USE_COMMON_PRINT_OVERLOAD() [2/10]
◆ USE_COMMON_PRINT_OVERLOAD() [3/10]
◆ USE_COMMON_PRINT_OVERLOAD() [4/10]
◆ USE_COMMON_PRINT_OVERLOAD() [5/10]
◆ USE_COMMON_PRINT_OVERLOAD() [6/10]
◆ USE_COMMON_PRINT_OVERLOAD() [7/10]
◆ USE_COMMON_PRINT_OVERLOAD() [8/10]
◆ USE_COMMON_PRINT_OVERLOAD() [9/10]
◆ USE_COMMON_PRINT_OVERLOAD() [10/10]
Variable Documentation◆ FIRST_EMPTY_TAG
Definition at line 36 of file VertexBuffer_mpitags.hpp. Referenced by Gambit::Printers::BuffTags::BuffTags(). ◆ gambit_registry
Initial value:
{ typedef BasePrinter* create_printer_function(const Options&, BasePrinter* const&) Maps in which to keep factory functions for the printers (printer_creators) and readers (reader_creators) Definition at line 235 of file baseprinter.hpp. Referenced by Gambit::Printers::BaseReader::retrieve(). ◆ nullpointDefine 'nullpoint' const. Definition at line 185 of file new_mpi_datatypes.cpp. Referenced by Gambit::Printers::asciiPrinter::addtobuffer(), Gambit::Printers::SQLiteReader::get_current_point(), Gambit::Printers::HDF5Reader::get_current_point(), Gambit::Printers::SQLiteReader::move_to_next_point(), Gambit::Printers::PPIDEqual::operator()(), Gambit::Printers::SQLiteReader::reset(), Gambit::Printers::asciiPrinter::reset(), Gambit::Printers::HDF5Reader::reset(), Gambit::Printers::BaseBaseReader::retrieve(), Gambit::Printers::BaseBaseReader::retrieve_and_print(), and Gambit::PostProcessor::PPDriver::run_main_loop(). ◆ printer_creators
Definition at line 237 of file baseprinter.hpp. Referenced by Gambit::Printers::PrinterManager::new_stream(), and Gambit::Printers::PrinterManager::PrinterManager(). ◆ reader_creators
Definition at line 240 of file baseprinter.hpp. Referenced by Gambit::Printers::PrinterManager::new_reader(). ◆ SQLtype_to_basic
Referenced by Gambit::Printers::SQLiteReader::_retrieve_template(), and fill_SQLtype_to_basic(). ◆ typecode2sql
Referenced by Gambit::Printers::SQLiteReader::_retrieve_template(), and define_typecodes(). |