ReactOS 0.4.15-dev-8428-g6910fa6
test_insert_value< C > Struct Template Reference

#include <test_insert.h>

Collaboration diagram for test_insert_value< C >:

Public Member Functions

 test_insert_value (const C &orig)
void operator() (C &c) const

Private Attributes

C::value_type fInsVal
const Coriginal

Detailed Description

template<class C>
struct test_insert_value< C >

Definition at line 403 of file test_insert.h.

Constructor & Destructor Documentation

◆ test_insert_value()

template<class C >
test_insert_value< C >::test_insert_value ( const C orig)

Definition at line 405 of file test_insert.h.

406 : original( orig )
407 {
409 gTestController.SetCurrentTestName("insertion of random value");
410 }
TestController gTestController
Definition: nc_alloc.cpp:46
static void SetCurrentTestName(const char *str)
Definition: nc_alloc.h:172
C::value_type fInsVal
Definition: test_insert.h:422
const C & original
Definition: test_insert.h:423
void MakeRandomValue(bool &b)
Definition: test_insert.h:322

Member Function Documentation

◆ operator()()

template<class C >
void test_insert_value< C >::operator() ( C c) const

Definition at line 412 of file test_insert.h.

413 {
414 c.insert( fInsVal );
416 // Prevent simulated failures during verification
418 // Success. Check results.
419 VerifyInsertion( original, c, &fInsVal, 1+&fInsVal, size_t(0) );
420 }
const GLubyte * c
Definition: glext.h:8905
static void CancelFailureCountdown()
Definition: nc_alloc.h:143
void VerifyInsertion(const C &original, const C &result, const SrcIter &firstNew, const SrcIter &lastNew, size_t, associative_container_tag)
Definition: test_insert.h:165

Member Data Documentation

◆ fInsVal

template<class C >
C::value_type test_insert_value< C >::fInsVal

◆ original

template<class C >
const C& test_insert_value< C >::original

Definition at line 423 of file test_insert.h.

Referenced by test_insert_value< C >::operator()().

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