diff options
Diffstat (limited to 'Build/source/libs/poppler/poppler-0.18.0/poppler/ProfileData.h')
-rw-r--r-- | Build/source/libs/poppler/poppler-0.18.0/poppler/ProfileData.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/poppler-0.18.0/poppler/ProfileData.h b/Build/source/libs/poppler/poppler-0.18.0/poppler/ProfileData.h new file mode 100644 index 00000000000..418ee010755 --- /dev/null +++ b/Build/source/libs/poppler/poppler-0.18.0/poppler/ProfileData.h @@ -0,0 +1,41 @@ +//======================================================================== +// +// ProfileData.h +// +// Copyright 2005 Jonathan Blandford <jrb@gnome.org> +// +//======================================================================== + +#ifndef PROFILE_DATA_H +#define PROFILE_DATA_H + +#ifdef USE_GCC_PRAGMAS +#pragma interface +#endif + +//------------------------------------------------------------------------ +// ProfileData +//------------------------------------------------------------------------ + +class ProfileData { +public: + + // Constructor. + ProfileData (); + + // Destructor. + ~ProfileData() {} + + void addElement (double elapsed); + int getCount () { return count; } + double getTotal () { return total; } + double getMin () { return max; } + double getMax () { return max; } +private: + int count; // size of <elems> array + double total; // number of elements in array + double min; // reference count + double max; // reference count +}; + +#endif |