|
ProteoWizard
|
#include <Bin.hpp>
Public Member Functions | |
| Bin () | |
| Bin (const vector< pair< pair< double, double >, T > > &objects, double binSizeX, double binSizeY) | |
| inline implementation | |
| Bin (const vector< pair< pair< double, double >, boost::shared_ptr< T > > > &objects, double binSizeX, double binSizeY) | |
| Bin (const Bin< T > &b) | |
| double | getBinSizeX () |
| double | getBinSizeY () |
| void | update (const T &t, pair< double, double > coordinates) |
| void | erase (const T &t, pair< double, double > coordinates) |
| void | rebin (const double &binSizeX, const double &binSizeY) |
| size_t | size () const |
| size_t | count (pair< int, int > coordinates) const |
| void | getBinContents (const pair< int, int > &coordinates, vector< T > &result) const |
| void | getBinContents (const pair< double, double > &coordinates, vector< boost::shared_ptr< T > > &result) const |
| void | getAdjacentBinContents (pair< double, double > coordinates, vector< boost::shared_ptr< T > > &result) |
| const vector < boost::shared_ptr< T > > & | getAllContents () const |
| const vector< pair< pair < double, double > , boost::shared_ptr< T > > > & | getObjects () const |
| const multimap< const pair < int, int > , boost::shared_ptr< T > > & | getData () const |
| pair< double, double > | getBinSizes () const |
| bool | operator== (const Bin &that) |
| bool | operator!= (const Bin &that) |
Private Attributes | |
| vector< boost::shared_ptr< T > > | _allContents |
| vector< pair< pair< double, double >, boost::shared_ptr< T > > > | _objects |
| multimap< const pair< int, int > , boost::shared_ptr< T > > | _data |
| double | _binSizeX |
| double | _binSizeY |
| pwiz::Bin< T >::Bin | ( | const vector< pair< pair< double, double >, T > > & | objects, |
| double | binSizeX, | ||
| double | binSizeY | ||
| ) |
inline implementation
Definition at line 90 of file Bin.hpp.
References pwiz::Bin< T >::_allContents, pwiz::Bin< T >::_binSizeX, pwiz::Bin< T >::_binSizeY, pwiz::Bin< T >::_data, and pwiz::Bin< T >::_objects.
| pwiz::Bin< T >::Bin | ( | const vector< pair< pair< double, double >, boost::shared_ptr< T > > > & | objects, |
| double | binSizeX, | ||
| double | binSizeY | ||
| ) |
Definition at line 111 of file Bin.hpp.
References pwiz::Bin< T >::_allContents, pwiz::Bin< T >::_binSizeX, pwiz::Bin< T >::_binSizeY, pwiz::Bin< T >::_data, and pwiz::Bin< T >::_objects.
|
inline |
|
inline |
| void pwiz::Bin< T >::update | ( | const T & | t, |
| pair< double, double > | coordinates | ||
| ) |
Definition at line 128 of file Bin.hpp.
| void pwiz::Bin< T >::erase | ( | const T & | t, |
| pair< double, double > | coordinates | ||
| ) |
Definition at line 160 of file Bin.hpp.
| void pwiz::Bin< T >::rebin | ( | const double & | binSizeX, |
| const double & | binSizeY | ||
| ) |
|
inline |
|
inline |
| void pwiz::Bin< T >::getBinContents | ( | const pair< int, int > & | coordinates, |
| vector< T > & | result | ||
| ) | const |
Definition at line 202 of file Bin.hpp.
| void pwiz::Bin< T >::getBinContents | ( | const pair< double, double > & | coordinates, |
| vector< boost::shared_ptr< T > > & | result | ||
| ) | const |
Definition at line 219 of file Bin.hpp.
| void pwiz::Bin< T >::getAdjacentBinContents | ( | pair< double, double > | coordinates, |
| vector< boost::shared_ptr< T > > & | result | ||
| ) |
Definition at line 240 of file Bin.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 284 of file Bin.hpp.
References pwiz::Bin< T >::_allContents, pwiz::Bin< T >::_binSizeX, pwiz::Bin< T >::_binSizeY, pwiz::Bin< T >::_data, and pwiz::Bin< T >::_objects.
|
private |
Definition at line 77 of file Bin.hpp.
Referenced by pwiz::Bin< T >::Bin(), pwiz::Bin< FeatureSequenced >::getAllContents(), and pwiz::Bin< T >::operator==().
|
private |
Definition at line 78 of file Bin.hpp.
Referenced by pwiz::Bin< T >::Bin(), pwiz::Bin< FeatureSequenced >::getObjects(), and pwiz::Bin< T >::operator==().
|
private |
Definition at line 80 of file Bin.hpp.
Referenced by pwiz::Bin< T >::Bin(), pwiz::Bin< FeatureSequenced >::count(), pwiz::Bin< FeatureSequenced >::getData(), pwiz::Bin< T >::operator==(), and pwiz::Bin< FeatureSequenced >::size().
|
private |
Definition at line 81 of file Bin.hpp.
Referenced by pwiz::Bin< T >::Bin(), pwiz::Bin< FeatureSequenced >::getBinSizes(), pwiz::Bin< FeatureSequenced >::getBinSizeX(), and pwiz::Bin< T >::operator==().
|
private |
Definition at line 82 of file Bin.hpp.
Referenced by pwiz::Bin< T >::Bin(), pwiz::Bin< FeatureSequenced >::getBinSizes(), pwiz::Bin< FeatureSequenced >::getBinSizeY(), and pwiz::Bin< T >::operator==().
1.8.1.1