XIOS  1.0
Xml I/O Server
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Amis Macros
Référence du fichier exception.hpp
#include "xios_spl.hpp"
#include "object.hpp"
#include <iomanip>
#include <stdexcept>
+ Graphe des dépendances par inclusion de exception.hpp:
+ Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :

Aller au code source de ce fichier.

Classes

class  xios::CException
 ////////////////////// Déclarations ////////////////////// /// Plus de détails...
 
struct  xios::CException::StackInfo
 

Espaces de nommage

 xios
 boost headers ///
 

Macros

#define FILE_NAME   (std::strrchr("/" __FILE__, '/') + 1)
 //////////////////////////// Macros //////////////////////////// /// Plus de détails...
 
#define FUNCTION_NAME
 
#define INFO(x)   "In file \""<< FILE_NAME <<"\", function \"" << BOOST_CURRENT_FUNCTION <<"\", line " << __LINE__ << " -> " x << std::endl;
 
#define DEBUG(x)
 
#define ERROR(id, x)
 
#define TRY
 
#define CATCH
 
#define CATCH_DUMP_ATTR
 
#define CATCH_DUMP_STACK
 

Documentation des macros

#define CATCH

Définition à la ligne 155 du fichier exception.hpp.

#define CATCH_DUMP_ATTR

Définition à la ligne 156 du fichier exception.hpp.

Référencé par xios::CDomain::checkDomain(), et xios::CGrid::checkGridMask().

#define CATCH_DUMP_STACK

Définition à la ligne 157 du fichier exception.hpp.

#define ERROR (   id,
 
)
Valeur :
{ \
xios::CException exc(id); \
exc.getStream() << INFO(x); \
error << exc.getMessage() << std::endl; \
throw exc; \
}
#define INFO(x)
Definition: exception.hpp:64
CLog error("error", cerr.rdbuf())
Definition: log.hpp:57

Définition à la ligne 73 du fichier exception.hpp.

Référencé par xios::CDomainAlgorithmGenerateRectilinear::computeDistributionGridDestination(), cxios_context_handle_create(), cxios_date_convert_to_string(), cxios_duration_convert_to_string(), cxios_get_axis_axis_ref(), cxios_get_axis_axis_type(), cxios_get_axis_bounds_name(), cxios_get_axis_comment(), cxios_get_axis_dim_name(), cxios_get_axis_formula(), cxios_get_axis_formula_bounds(), cxios_get_axis_formula_term(), cxios_get_axis_formula_term_bounds(), cxios_get_axis_long_name(), cxios_get_axis_name(), cxios_get_axis_positive(), cxios_get_axis_standard_name(), cxios_get_axis_unit(), cxios_get_axisgroup_axis_ref(), cxios_get_axisgroup_axis_type(), cxios_get_axisgroup_bounds_name(), cxios_get_axisgroup_comment(), cxios_get_axisgroup_dim_name(), cxios_get_axisgroup_formula(), cxios_get_axisgroup_formula_bounds(), cxios_get_axisgroup_formula_term(), cxios_get_axisgroup_formula_term_bounds(), cxios_get_axisgroup_group_ref(), cxios_get_axisgroup_long_name(), cxios_get_axisgroup_name(), cxios_get_axisgroup_positive(), cxios_get_axisgroup_standard_name(), cxios_get_axisgroup_unit(), cxios_get_calendar_wrapper_comment(), cxios_get_calendar_wrapper_start_date(), cxios_get_calendar_wrapper_time_origin(), cxios_get_calendar_wrapper_type(), cxios_get_compute_connectivity_domain_type(), cxios_get_context_output_dir(), cxios_get_current_date(), cxios_get_day_length_in_seconds(), cxios_get_domain_bounds_lat_name(), cxios_get_domain_bounds_lon_name(), cxios_get_domain_comment(), cxios_get_domain_dim_i_name(), cxios_get_domain_dim_j_name(), cxios_get_domain_domain_ref(), cxios_get_domain_lat_name(), cxios_get_domain_lon_name(), cxios_get_domain_long_name(), cxios_get_domain_name(), cxios_get_domain_standard_name(), cxios_get_domain_type(), cxios_get_domaingroup_bounds_lat_name(), cxios_get_domaingroup_bounds_lon_name(), cxios_get_domaingroup_comment(), cxios_get_domaingroup_dim_i_name(), cxios_get_domaingroup_dim_j_name(), cxios_get_domaingroup_domain_ref(), cxios_get_domaingroup_group_ref(), cxios_get_domaingroup_lat_name(), cxios_get_domaingroup_lon_name(), cxios_get_domaingroup_long_name(), cxios_get_domaingroup_name(), cxios_get_domaingroup_standard_name(), cxios_get_domaingroup_type(), cxios_get_expand_domain_type(), cxios_get_extract_domain_to_axis_direction(), cxios_get_field_axis_ref(), cxios_get_field_cell_methods(), cxios_get_field_cell_methods_mode(), cxios_get_field_comment(), cxios_get_field_domain_ref(), cxios_get_field_expr(), cxios_get_field_field_ref(), cxios_get_field_grid_path(), cxios_get_field_grid_ref(), cxios_get_field_long_name(), cxios_get_field_name(), cxios_get_field_operation(), cxios_get_field_scalar_ref(), cxios_get_field_standard_name(), cxios_get_field_unit(), cxios_get_fieldgroup_axis_ref(), cxios_get_fieldgroup_cell_methods(), cxios_get_fieldgroup_cell_methods_mode(), cxios_get_fieldgroup_comment(), cxios_get_fieldgroup_domain_ref(), cxios_get_fieldgroup_expr(), cxios_get_fieldgroup_field_ref(), cxios_get_fieldgroup_grid_path(), cxios_get_fieldgroup_grid_ref(), cxios_get_fieldgroup_group_ref(), cxios_get_fieldgroup_long_name(), cxios_get_fieldgroup_name(), cxios_get_fieldgroup_operation(), cxios_get_fieldgroup_scalar_ref(), cxios_get_fieldgroup_standard_name(), cxios_get_fieldgroup_unit(), cxios_get_file_comment(), cxios_get_file_convention(), cxios_get_file_convention_str(), cxios_get_file_description(), cxios_get_file_format(), cxios_get_file_mode(), cxios_get_file_name(), cxios_get_file_name_suffix(), cxios_get_file_par_access(), cxios_get_file_split_freq_format(), cxios_get_file_split_last_date(), cxios_get_file_time_counter(), cxios_get_file_time_counter_name(), cxios_get_file_time_stamp_format(), cxios_get_file_time_stamp_name(), cxios_get_file_time_units(), cxios_get_file_timeseries(), cxios_get_file_ts_prefix(), cxios_get_file_type(), cxios_get_file_uuid_format(), cxios_get_file_uuid_name(), cxios_get_filegroup_comment(), cxios_get_filegroup_convention(), cxios_get_filegroup_convention_str(), cxios_get_filegroup_description(), cxios_get_filegroup_format(), cxios_get_filegroup_group_ref(), cxios_get_filegroup_mode(), cxios_get_filegroup_name(), cxios_get_filegroup_name_suffix(), cxios_get_filegroup_par_access(), cxios_get_filegroup_split_freq_format(), cxios_get_filegroup_split_last_date(), cxios_get_filegroup_time_counter(), cxios_get_filegroup_time_counter_name(), cxios_get_filegroup_time_stamp_format(), cxios_get_filegroup_time_stamp_name(), cxios_get_filegroup_time_units(), cxios_get_filegroup_timeseries(), cxios_get_filegroup_ts_prefix(), cxios_get_filegroup_type(), cxios_get_filegroup_uuid_format(), cxios_get_filegroup_uuid_name(), cxios_get_grid_comment(), cxios_get_grid_description(), cxios_get_grid_name(), cxios_get_gridgroup_comment(), cxios_get_gridgroup_description(), cxios_get_gridgroup_group_ref(), cxios_get_gridgroup_name(), cxios_get_interpolate_axis_coordinate(), cxios_get_interpolate_axis_type(), cxios_get_interpolate_domain_mode(), cxios_get_interpolate_domain_read_write_convention(), cxios_get_interpolate_domain_weight_filename(), cxios_get_reduce_axis_to_axis_operation(), cxios_get_reduce_axis_to_scalar_operation(), cxios_get_reduce_domain_to_axis_direction(), cxios_get_reduce_domain_to_axis_operation(), cxios_get_reduce_domain_to_scalar_operation(), cxios_get_reduce_scalar_to_scalar_operation(), cxios_get_scalar_axis_type(), cxios_get_scalar_bounds_name(), cxios_get_scalar_comment(), cxios_get_scalar_label(), cxios_get_scalar_long_name(), cxios_get_scalar_name(), cxios_get_scalar_positive(), cxios_get_scalar_scalar_ref(), cxios_get_scalar_standard_name(), cxios_get_scalar_unit(), cxios_get_scalargroup_axis_type(), cxios_get_scalargroup_bounds_name(), cxios_get_scalargroup_comment(), cxios_get_scalargroup_group_ref(), cxios_get_scalargroup_label(), cxios_get_scalargroup_long_name(), cxios_get_scalargroup_name(), cxios_get_scalargroup_positive(), cxios_get_scalargroup_scalar_ref(), cxios_get_scalargroup_standard_name(), cxios_get_scalargroup_unit(), cxios_get_variable_name(), cxios_get_variable_ts_target(), cxios_get_variable_type(), cxios_get_variablegroup_group_ref(), cxios_get_variablegroup_name(), cxios_get_variablegroup_ts_target(), cxios_get_variablegroup_type(), cxios_get_year_length_in_seconds(), getCalendar(), xios::COperatorExpr::getOpField(), xios::COperatorExpr::getOpFieldField(), xios::COperatorExpr::getOpFieldFieldField(), xios::COperatorExpr::getOpFieldFieldScalar(), xios::COperatorExpr::getOpFieldScalar(), xios::COperatorExpr::getOpFieldScalarField(), xios::COperatorExpr::getOpFieldScalarScalar(), xios::COperatorExpr::getOpScalar(), xios::COperatorExpr::getOpScalarField(), xios::COperatorExpr::getOpScalarFieldField(), xios::COperatorExpr::getOpScalarFieldScalar(), xios::COperatorExpr::getOpScalarScalar(), xios::COperatorExpr::getOpScalarScalarField(), xios::COperatorExpr::getOpScalarScalarScalar(), xios::operator<<(), xios::operator>>(), et yyerror().

#define FILE_NAME   (std::strrchr("/" __FILE__, '/') + 1)

//////////////////////////// Macros //////////////////////////// ///

Définition à la ligne 59 du fichier exception.hpp.

Référencé par xios::xml::CXMLParser::ParseStream().

#define FUNCTION_NAME
Valeur :
(StdString(BOOST_CURRENT_FUNCTION).length() > 100 ? \
StdString(BOOST_CURRENT_FUNCTION).substr(0,100).append("...)") : BOOST_CURRENT_FUNCTION)
std::string StdString
Definition: xios_spl.hpp:48

Définition à la ligne 61 du fichier exception.hpp.

Référencé par xios::xml::CXMLParser::ParseStream().

#define INFO (   x)    "In file \""<< FILE_NAME <<"\", function \"" << BOOST_CURRENT_FUNCTION <<"\", line " << __LINE__ << " -> " x << std::endl;

Définition à la ligne 64 du fichier exception.hpp.

#define TRY

Définition à la ligne 154 du fichier exception.hpp.