|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   34 #ifndef vtkStatisticsAlgorithmPrivate_h 
   35 #define vtkStatisticsAlgorithmPrivate_h 
   58     int rval = this->
Buffer.empty() ? 0 : 1;
 
   67       return this->
Buffer.insert(colName).second ? 1 : 0;
 
   71       return this->
Buffer.erase(colName) ? 1 : 0;
 
   83     return result ? 1 : 0;
 
   93     if (col && strlen(col))
 
   95       std::set<vtkStdString> tmp;
 
   97       if (this->
Requests.insert(tmp).second)
 
  112     if (cola && colb && strlen(cola) && strlen(colb))
 
  114       std::set<vtkStdString> tmp;
 
  117       if (this->
Requests.insert(tmp).second)
 
  141     std::set<std::set<vtkStdString> >::iterator it = this->
Requests.begin();
 
  146     return static_cast<vtkIdType>(it->size());
 
  161     std::set<std::set<vtkStdString> >::const_iterator it = this->
Requests.begin();
 
  166     if (c > 
static_cast<vtkIdType>(it->size()))
 
  170     std::set<vtkStdString>::const_iterator cit = it->begin();
 
  184 #endif // vtkStatisticsAlgorithmPrivate_h 
  
vtkIdType GetNumberOfColumnsForRequest(vtkIdType r)
Return the number of columns associated with request r.
int AddColumnPairToRequests(const char *cola, const char *colb)
This function does not use the buffer like other column selection methods.
int AddBufferToRequests()
int ResetBuffer()
Empty current buffer.
int AddColumnToRequests(const char *col)
This function does not use the buffer like other column selection methods.
std::set< vtkStdString > Buffer
void ResetRequests()
Empty current set of requests.
vtkStatisticsAlgorithmPrivate()
std::set< std::set< vtkStdString > > Requests
~vtkStatisticsAlgorithmPrivate()
vtkIdType GetNumberOfRequests()
Return the number of currently-defined requests.
bool GetColumnForRequest(vtkIdType r, vtkIdType c, vtkStdString &columnName)
Provide the name of the c-th column of the r-th request in columnName.
Wrapper around std::string to keep symbols short.
int SetBufferColumnStatus(const char *colName, int status)