#include <primer.h>
Inheritance diagram for Primer:
Public Member Functions | |
Primer () | |
Reverse lookup for locating a tag for a given UL. | |
UInt32 | ReadValue (const UInt8 *Buffer, UInt32 Size) |
Read the primer from a buffer. | |
UInt32 | WritePrimer (DataChunkPtr &Buffer) |
Write this primer to a memory buffer. | |
Tag | Lookup (ULPtr ItemUL, Tag TryTag=0) |
Determine the tag to use for a given UL. | |
std::pair< iterator, bool > | insert (value_type Val) |
Insert a new child type. | |
Static Public Member Functions | |
static Tag | StaticLookup (ULPtr ItemUL, Tag TryTag=0) |
Determine the tag to use for a given UL - when no primer is availabe. | |
Protected Attributes | |
Tag | NextDynamic |
std::map< UL, Tag > | TagLookup |
Next dynamic tag to try. |
Read the primer from a buffer.
UInt32 WritePrimer | ( | DataChunkPtr & | Buffer | ) |
Write this primer to a memory buffer.
The primer will be appended to the DataChunk
Determine the tag to use for a given UL - when no primer is availabe.
std::pair<iterator, bool> insert | ( | value_type | Val | ) | [inline] |
Insert a new child type.
Tag NextDynamic [protected] |