TeSlice Class Reference

#include <TeSlice.h>


Detailed Description

A Slice is a structure that defines an interval of values and associates a number of objects that have a certain property, or attribute, whithin this interval.
Examples:

rasterSlicing.cpp.

Definition at line 42 of file TeSlice.h.


Public Member Functions

TeSliceoperator= (const TeSlice &slice)
 TeSlice (const TeSlice &slice)
 TeSlice (const string &from, const string &to, int count=0)
 Constructor.
 TeSlice ()
 interval upper value

Data Fields

int count_
string from_
 number of objects container in the interval
string to_
 interval lower value

Constructor & Destructor Documentation

TeSlice::TeSlice (  )  [inline]

Constructor

Definition at line 50 of file TeSlice.h.

00050 : count_(0),from_(""),to_("") {}

TeSlice::TeSlice ( const string from,
const string to,
int  count = 0 
) [inline]

Definition at line 53 of file TeSlice.h.

00053                                                                    :
00054      count_(count),
00055                 from_(from),
00056                 to_(to) {}

TeSlice::TeSlice ( const TeSlice slice  )  [inline]

Definition at line 58 of file TeSlice.h.

References count_, from_, and to_.

00059         {
00060                 from_ = slice.from_;
00061                 to_ = slice.to_;
00062                 count_ = slice.count_;
00063         }


Member Function Documentation

TeSlice& TeSlice::operator= ( const TeSlice slice  )  [inline]

Definition at line 65 of file TeSlice.h.

References count_, from_, and to_.

00066         {
00067                 from_ = slice.from_;
00068                 to_ = slice.to_;
00069                 count_ = slice.count_;
00070                 return *this;
00071         }


Field Documentation

int TeSlice::count_

Definition at line 45 of file TeSlice.h.

Referenced by TeTheme::buildGrouping(), TeExternalTheme::buildGrouping(), operator=(), TeElemCountingBySlice(), TeGroupByEqualStep(), TeGroupByUniqueValue(), and TeSlice().

string TeSlice::from_

Definition at line 46 of file TeSlice.h.

Referenced by TeTheme::buildGrouping(), TeExternalTheme::buildGrouping(), TeLegendEntry::clear(), TeLegendEntry::label(), operator=(), TeElemCountingBySlice(), TeGroupByEqualStep(), TeGroupByQuantil(), TeGroupByStdDev(), TeGroupByUniqueValue(), TeLegendEntry::TeLegendEntry(), and TeSlice().

string TeSlice::to_

Definition at line 47 of file TeSlice.h.

Referenced by TeLegendEntry::clear(), TeLegendEntry::label(), operator=(), TeElemCountingBySlice(), TeGroupByEqualStep(), TeGroupByQuantil(), TeGroupByStdDev(), TeLegendEntry::TeLegendEntry(), and TeSlice().


The documentation for this class was generated from the following file:
Generated on Sun Jul 29 04:10:22 2012 for TerraLib - Development Source by  doxygen 1.5.3