Rhino C++ API  8.14
Classes | Public Member Functions | List of all members
ON_UniqueTester Class Reference

#include <opennurbs_compstat.h>

Public Member Functions

 ON_UniqueTester ()=default
 
 ON_UniqueTester (const ON_UniqueTester &)
 
 ~ON_UniqueTester ()
 
bool AddToList (ON__UINT_PTR x)
 
void ClearList ()
 
unsigned int Count () const
 
void ExpertAddNewToList (ON__UINT_PTR x)
 
bool InList (ON__UINT_PTR x) const
 
ON_UniqueTesteroperator= (const ON_UniqueTester &)
 

Detailed Description

ON_UniqueTester

Constructor & Destructor Documentation

◆ ON_UniqueTester() [1/2]

ON_UniqueTester::ON_UniqueTester ( )
default

◆ ~ON_UniqueTester()

ON_UniqueTester::~ON_UniqueTester ( )

◆ ON_UniqueTester() [2/2]

ON_UniqueTester::ON_UniqueTester ( const ON_UniqueTester )

Member Function Documentation

◆ AddToList()

bool ON_UniqueTester::AddToList ( ON__UINT_PTR  x)

Description: If p is not in the list, it is added. Returns: True if p is not in the list and was added. False if p was already in the list.

◆ ClearList()

void ON_UniqueTester::ClearList ( )

◆ Count()

unsigned int ON_UniqueTester::Count ( ) const

◆ ExpertAddNewToList()

void ON_UniqueTester::ExpertAddNewToList ( ON__UINT_PTR  x)

Description: Add x to the list. The expert caller is certain that x is not already in the list. For large lists, using this function when appropriate, can result in substantial speed improvements. Parameters: x - [in] A value that is known to not be in the list.

◆ InList()

bool ON_UniqueTester::InList ( ON__UINT_PTR  x) const

Description: If p is not in the list, it is added. Returns: True if p is in the list.

◆ operator=()

ON_UniqueTester& ON_UniqueTester::operator= ( const ON_UniqueTester )