ReactOS 0.4.16-dev-91-g764881a
PartitionTest::less_n Struct Reference
Collaboration diagram for PartitionTest::less_n:

Public Member Functions

 less_n (int limit, size_t &nb_calls)
 
bool operator() (int a_) const
 

Public Attributes

int _limit
 
size_t_nb_calls
 

Private Member Functions

less_noperator= (less_n const &)
 

Detailed Description

Definition at line 31 of file partition_test.cpp.

Constructor & Destructor Documentation

◆ less_n()

PartitionTest::less_n::less_n ( int  limit,
size_t nb_calls 
)
inline

Definition at line 32 of file partition_test.cpp.

33 : _limit(limit), _nb_calls(nb_calls) {}
GLint limit
Definition: glext.h:10326

Member Function Documentation

◆ operator()()

bool PartitionTest::less_n::operator() ( int  a_) const
inline

Definition at line 35 of file partition_test.cpp.

35 {
36 ++_nb_calls;
37 return a_ < _limit;
38 }

◆ operator=()

less_n & PartitionTest::less_n::operator= ( less_n const )
private

Member Data Documentation

◆ _limit

int PartitionTest::less_n::_limit

Definition at line 40 of file partition_test.cpp.

Referenced by operator()().

◆ _nb_calls

size_t& PartitionTest::less_n::_nb_calls

Definition at line 41 of file partition_test.cpp.

Referenced by operator()().


The documentation for this struct was generated from the following file: