AttributeDescription Class Reference
AttributeDescription provides generic information about a single attribute (used by DataSetStats). More...
#include "AttributeDescription.hpp"
Public Member Functions | |
| bool | isSetName () const |
| bool | isSetType () const |
| bool | isSetStorageSize () const |
| bool | isSetCount () const |
| bool | isSetMin () const |
| bool | isSetMax () const |
| bool | isSetMean () const |
| bool | isSetStd () const |
| bool | isSetNoDataIndicator () const |
| String | getName () const |
| get attribute name | |
| String | getType () const |
| get attribute type | |
| unsigned | getStorageSize () const |
| storage size of attribute in bytes | |
| long long | getCount () const |
| number of elements | |
| double | getMin () const |
| minimum attribute value | |
| double | getMax () const |
| maximum attribute value | |
| double | getMean () const |
| mean attribute value | |
| double | getStd () const |
| standard deviation | |
| double | getNoDataIndicator () const |
| no value indicator | |
| void | reset () |
| void | setAttributeDescription (const String &Name, const String &Type, const unsigned &StorageSize, const long long &Count, const double &Min, const double &Max, const double &Mean, const double &Std, const double &NoData) |
| void | setName (const String &Name) |
| void | setType (const String &Type) |
| void | setStorageSize (const unsigned &StorageSize) |
| void | setCount (const long long &Count) |
| void | setMin (const double &Min) |
| void | setMax (const double &Max) |
| void | setMean (const double &Mean) |
| void | setStd (const double &Std) |
| void | setNoDataIndicator (const double &NoData) |
| String | logAttributeDescription () const |
| for xml output | |
| String | printAttributeDescription () const |
| for log output (in more readable format) | |
Static Public Member Functions | |
| static String | printAttributeHeader () |
| for log the header line | |
Detailed Description
AttributeDescription provides generic information about a single attribute (used by DataSetStats).
Beside the name, type, storage size (in bytes) and a nodata indicator of the attribute the class provides basic statistic information such as min, max, mean and the standard deviation. If a specific information is really set, can be retrieved by the corresponding isSet function. Depending on the data type a specific no data value is used to indicate unset values.
- Date
- 24.05.2012
