This file is indexed.

/usr/include/CLAM/DataUtil.hxx is in libclam-dev 1.4.0-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef _DataUtil_
#define _DataUtil_

#include "Frame.hxx"
#include "SpectralPeakArray.hxx"
#include "Spectrum.hxx"

namespace CLAM
{
	
/**
* This class simply holds a few miscellaneous utility methods that are used
* by multiple classes, but don't fit very well in any class.
*
* \author greg kellum [gkellum@iua.upf.edu] 08/20/2007
* \since CLAM v1.1
*/
class DataUtil
{
public:
	/**
	* This copies the frame center time, the spectral peak array, and the 
	* residual from the source frame to the target frame.
	*/
	static void CopyFrameMembers(Frame& sourceFrame, Frame& targetFrame);

	/**
	* This copies the spectral peak array values from the source to the target
	*/
	static void CopySpectralPeakArraysMembers(SpectralPeakArray& sourceSpectralPeaks,
											SpectralPeakArray& targetSpectralPeaks );

	/**
	* This copies the residual values from the source to the target
	*/
	static void CopyResidualSpectrumsMembers(Spectrum& sourceResidualSpectrum,
											Spectrum& targetResidualSpectrum);

	/**
	* This checks that the frame center time, the spectral peak array, and the 
	* residual of the source frame and the target frame are identical.
	*/
	static bool CheckMembers(Frame& sourceFrame, Frame& targetFrame);
	
	static void PrintSpectralPeakArray(SpectralPeakArray& sourceSpectralPeaks);
};

} // end namespace CLAM 

#endif