User Manual, Developers Guide and API Documentation

wns::probe::bus::detail::Sorter Class Reference

Helper class for equidistant sorting.

#include <probe/bus/detail/Sorter.hpp>

Collaboration diagram for wns::probe::bus::detail::Sorter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool checkIndex (IDType id) const
std::string getIdName () const
int getIndex (IDType id) const
std::string getInterval (int index) const
IDType getMin (int index) const
int getResolution () const
 Sorter (std::string _idName, IDType _min, IDType _max, int _resolution)
 Sorter (const wns::pyconfig::View &pyco)

Private Member Functions

int calcIndex (IDType id) const

Private Attributes

std::string idName_
IDType max_
IDType min_
int resolution_
IDType stepsize_


Detailed Description

Definition at line 38 of file Sorter.hpp.


Constructor & Destructor Documentation

Sorter::Sorter ( const wns::pyconfig::View pyco  ) 

Definition at line 33 of file Sorter.cpp.

Sorter::Sorter ( std::string  _idName,
IDType  _min,
IDType  _max,
int  _resolution 
)

Definition at line 43 of file Sorter.cpp.


Member Function Documentation

int Sorter::calcIndex ( IDType  id  )  const [private]

Definition at line 52 of file Sorter.cpp.

bool Sorter::checkIndex ( IDType  id  )  const

Definition at line 68 of file Sorter.cpp.

std::string Sorter::getIdName (  )  const

Definition at line 104 of file Sorter.cpp.

int Sorter::getIndex ( IDType  id  )  const

Definition at line 61 of file Sorter.cpp.

std::string Sorter::getInterval ( int  index  )  const

Definition at line 79 of file Sorter.cpp.

IDType Sorter::getMin ( int  index  )  const

Definition at line 95 of file Sorter.cpp.

int Sorter::getResolution (  )  const

Definition at line 89 of file Sorter.cpp.


Member Data Documentation

Definition at line 40 of file Sorter.hpp.

Definition at line 42 of file Sorter.hpp.

Definition at line 41 of file Sorter.hpp.

Definition at line 43 of file Sorter.hpp.

Definition at line 44 of file Sorter.hpp.


The documentation for this class was generated from the following files:

Generated on Sun May 27 03:33:02 2012 for openWNS by  doxygen 1.5.5