Lumiera  0.pre.03
»edit your freedom«
BufferMetadataKey_test Class Reference

Description

Test:
verify calculation and relations of Buffer metadata type keys.

These are used internally within the standard implementation of BufferProvider to keep track of various kinds of buffers, to provide a service for attaching metadata, e.g. a state flag. These metadata key entries are based on chained hash values, thus forming sort-of a "type" hierarchy.

  • the actual BufferProvider instance-ID is the top level
  • second level is the size of the buffer required
  • optionally, custom ctor/dtor functions can be registered
  • also optionally, implementation might attach an private-ID

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

Private Member Functions

void buildSimpleKeys ()
 
bool ensure_proper_fixture ()
 
virtual void run (Arg)
 
void verifyChainedHashes ()
 
template<size_t SIZ>
void verifyTypeHandler ()
 
void verifyTypeSpecialisation ()
 
+ Inheritance diagram for BufferMetadataKey_test:
+ Collaboration diagram for BufferMetadataKey_test:

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