34 #ifndef vtkStatisticsAlgorithmPrivate_h
35 #define vtkStatisticsAlgorithmPrivate_h
65 int rval = this->
Buffer.empty() ? 0 : 1;
74 return this->
Buffer.insert( colName ).second ? 1 : 0;
78 return this->
Buffer.erase( colName ) ? 1 : 0;
86 if ( ! this->
Buffer.empty() )
90 return result ? 1 : 0;
100 if ( col && strlen( col ) )
102 std::set<vtkStdString> tmp;
104 if ( this->
Requests.insert( tmp ).second )
119 if ( cola && colb && strlen( cola ) && strlen( colb ) )
121 std::set<vtkStdString> tmp;
124 if ( this->
Requests.insert( tmp ).second )
138 return static_cast<vtkIdType>( this->
Requests.size() );
147 if ( r < 0 || r > static_cast<vtkIdType>( this->
Requests.size() ) )
151 std::set<std::set<vtkStdString> >::iterator it = this->
Requests.begin();
156 return static_cast<vtkIdType>(it->size());
167 if ( r < 0 || r > static_cast<vtkIdType>( this->
Requests.size() ) || c < 0 )
171 std::set<std::set<vtkStdString> >::const_iterator it = this->
Requests.begin();
176 if ( c > static_cast<vtkIdType>( it->size() ) )
180 std::set<vtkStdString>::const_iterator cit = it->begin();
194 #endif // vtkStatisticsAlgorithmPrivate_h