TxtWithImageFileComparator.R
TxtWithImageFileComparator.R
verifyr2::FileComparator -> verifyr2::BinaryFileComparator -> verifyr2::TxtFileComparator -> TxtWithImagesFileComparator
file1_images_rawlocal property for storing image1 raw data
file2_images_rawlocal property for storing image2 raw data
Inherited methods
verifyr2::FileComparator$vrf_add_debug()verifyr2::FileComparator$vrf_add_debug_files()verifyr2::FileComparator$vrf_close_debug()verifyr2::FileComparator$vrf_details()verifyr2::FileComparator$vrf_open_debug()verifyr2::FileComparator$vrf_option_value()verifyr2::FileComparator$vrf_summary()verifyr2::BinaryFileComparator$vrf_contents()verifyr2::TxtFileComparator$vrf_contents_inner()verifyr2::TxtFileComparator$vrf_details_supported()
new()Initialize a TxtWithImagesFileComparator instance
TxtWithImagesFileComparator$new(file1 = NULL, file2 = NULL)file1First file to compare.
file2Second file to compare.
vrf_summary_inner()Method for comparing the inner part for the details query. This method can be overwritten by more specialized comparator classes. This method is intended to be called only by the comparator classes in the processing and shouldn't be called directly by the user.
TxtWithImagesFileComparator$vrf_summary_inner(config, omit)configconfiguration values
omitstring pattern to omit from the comparison
vrf_details_inner()Method for comparing the inner part for the details query. This method can be overwritten by more specialized comparator classes. This method is intended to be called only by the comparator classes in the processing and shouldn't be called directly by the user.
TxtWithImagesFileComparator$vrf_details_inner(config, omit)configconfiguration values
omitstring pattern to omit from the comparison
vrf_images()"Abstract" method for getting the raw image hex vector array from the given source file.
TxtWithImagesFileComparator$vrf_images(file)filefile for which to get the embedded image details
hex2raw()Internal helper method for converting a hex string to raw vector.
TxtWithImagesFileComparator$hex2raw(hex_string)hex_stringhexadecimal string to be converted to raw vector
clone()The objects of this class are cloneable with this method.
TxtWithImagesFileComparator$clone(deep = FALSE)deepWhether to make a deep clone.
"Abstract" comparator for txt based comparator classes that can additionally contain embedded images. This abstraction level contains generic logic for handling embedded images and storing the related data.