ECC-1508: Update hierarchy docs

This commit is contained in:
Shahram Najm 2023-01-29 14:17:12 +00:00
parent 2df3f5518a
commit 1e99dbd71a
4 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,7 @@
Accessor Class Hierarchy.
Generated by src/make_accessor_class_hierarchy_dirs.sh
|-grib_accessor_class_forward
|-grib_accessor_class_gen
|---grib_accessor_class_abstract_long_vector
|-----grib_accessor_class_g1step_range
@ -17,11 +18,11 @@ Generated by src/make_accessor_class_hierarchy_dirs.sh
|-----grib_accessor_class_mars_param
|-----grib_accessor_class_mars_step
|-----grib_accessor_class_sprintf
|-----grib_accessor_class_trim
|---grib_accessor_class_assert
|---grib_accessor_class_bits
|---grib_accessor_class_blob
|---grib_accessor_class_box
|---grib_accessor_class_bufr_data
|---grib_accessor_class_bufr_data_array
|---grib_accessor_class_bufr_data_element
|---grib_accessor_class_bufr_elements_table
@ -40,6 +41,7 @@ Generated by src/make_accessor_class_hierarchy_dirs.sh
|-------grib_accessor_class_padtoeven
|-------grib_accessor_class_padtomultiple
|-------grib_accessor_class_section_padding
|---grib_accessor_class_change_alternative_row_scanning
|---grib_accessor_class_change_scanning_direction
|---grib_accessor_class_codetable_title
|---grib_accessor_class_codetable_units
@ -61,6 +63,7 @@ Generated by src/make_accessor_class_hierarchy_dirs.sh
|-------grib_accessor_class_statistics
|-------grib_accessor_class_statistics_spectral
|-------grib_accessor_class_vector
|-----grib_accessor_class_closest_date
|-----grib_accessor_class_divdouble
|-----grib_accessor_class_from_scale_factor_scaled_value
|-----grib_accessor_class_g1area
@ -170,10 +173,12 @@ Generated by src/make_accessor_class_hierarchy_dirs.sh
|---grib_accessor_class_number_of_values_data_raw_packing
|---grib_accessor_class_pack_bufr_values
|---grib_accessor_class_position
|---grib_accessor_class_proj_string
|---grib_accessor_class_raw
|---grib_accessor_class_section
|---grib_accessor_class_section_pointer
|---grib_accessor_class_smart_table_column
|---grib_accessor_class_step_human_readable
|---grib_accessor_class_to_double
|-----grib_accessor_class_sexagesimal2decimal
|---grib_accessor_class_to_integer
@ -193,6 +198,7 @@ Generated by src/make_accessor_class_hierarchy_dirs.sh
|-----grib_accessor_class_data_g22order_packing
|-----grib_accessor_class_data_png_packing
|-----grib_accessor_class_data_raw_packing
|-----grib_accessor_class_data_run_length_packing
|-----grib_accessor_class_data_simple_packing
|-------grib_accessor_class_data_complex_packing
|---------grib_accessor_class_data_g1complex_packing

View File

@ -1,5 +1,5 @@
Action Class Hierarchy
|action
|-action_class_alias
|-action_class_assert

View File

@ -1,5 +1,5 @@
Iterator Class Hierarchy
|-grib_iterator_class_gen
|---grib_iterator_class_gaussian_reduced
|---grib_iterator_class_lambert_azimuthal_equal_area

View File

@ -10,8 +10,8 @@ ROOT=$TMPDIR/ecCodes_Accessor_Class_Hierarchy
rm -fr $ROOT; mkdir $ROOT
# Assume we're in the src directory
for f in grib_accessor_class_*.c; do
fbase=`echo $f | sed -e 's/\.c$//'`
for f in grib_accessor_class_*.cpp; do
fbase=`echo $f | sed -e 's/\.cpp$//'`
super=`grep 'SUPER *= *' $f | awk '{print $3}'`
if [ "$super" != "" ] ; then
super_path=`find $ROOT -type d -name $super`