Lumiera  0.pre.03
»edit your freedom«
PlacedNumbers< siz > Struct Template Reference

Description

template<size_t siz>
struct steam::engine::metadata::test::anonymous_namespace{buffer-metadata-key-test.cpp}::PlacedNumbers< siz >

Test Mock to verify the attachment of objects to the buffer.

An instance of this class overwrites the occupied storage with an ascending sequence of numbers on construction, and clears the memory area on destruction.

This allows to verify that an instance of this class has actually been placed into the buffer, and will be cleaned up properly

Definition at line 65 of file buffer-metadata-key-test.cpp.

Public Types

typedef char Pattern[siz]
 

Static Public Member Functions

static bool verifyCleared (const void *buff)
 
static bool verifyFilled (const void *buff)
 

Public Attributes

Pattern pattern_
 
+ Collaboration diagram for PlacedNumbers< siz >:

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