33 #ifndef __vtkStatisticsAlgorithmPrivate_h
34 #define __vtkStatisticsAlgorithmPrivate_h
38 #include <vtksys/stl/set>
53 return this->
Buffer.insert( colName ).second ? 1 : 0;
57 return this->
Buffer.erase( colName ) ? 1 : 0;
64 if ( ! this->
Buffer.empty() )
68 return result ? 1 : 0;
73 vtksys_stl::set<vtkStdString>::iterator it;
74 for ( it = this->
Buffer.begin(); it != this->
Buffer.end(); ++ it )
76 vtksys_stl::set<vtkStdString> tmp;
78 if ( this->
Requests.insert( tmp ).second )
88 vtksys_stl::pair<vtksys_stl::set<vtksys_stl::set<vtkStdString> >::iterator,
bool> result;
89 vtksys_stl::set<vtkStdString>::iterator it;
90 for ( it = this->
Buffer.begin(); it != this->
Buffer.end(); ++ it )
92 vtksys_stl::set<vtkStdString>::iterator it2 = it;
93 for ( ++ it2; it2 != this->
Buffer.end(); ++ it2 )
95 vtksys_stl::set<vtkStdString> tmp;
98 if ( this->
Requests.insert( tmp ).second )
109 if ( cola && colb && strlen( cola ) && strlen( colb ) )
111 vtksys_stl::set<vtkStdString> tmp;
114 if ( this->
Requests.insert( tmp ).second )
127 int rval = this->
Buffer.empty() ? 0 : 1;
139 if ( r < 0 || r > static_cast<vtkIdType>( this->
Requests.size() ) )
143 vtksys_stl::set<vtksys_stl::set<vtkStdString> >::iterator it = this->
Requests.begin();
155 if ( r < 0 || r > static_cast<vtkIdType>( this->
Requests.size() ) || c < 0 )
159 vtksys_stl::set<vtksys_stl::set<vtkStdString> >::const_iterator it = this->
Requests.begin();
164 if ( c > static_cast<vtkIdType>( it->size() ) )
168 vtksys_stl::set<vtkStdString>::const_iterator cit = it->begin();
177 vtksys_stl::set<vtksys_stl::set<vtkStdString> >
Requests;
181 #endif // __vtkStatisticsAlgorithmPrivate_h