Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bdld::Datum_Helpers Struct Reference

#include <bdld_datum.h>

List of all members.

Static Public Member Functions

template<class Type >
static Type load (const void *source, int offset)
template<class Type >
static Type store (void *destination, int offset, Type value)

Detailed Description

This struct contains helper functions used to access typed objects within a buffer. The functions assume that objects within the buffers have proper alignment and use casts to suppress compiler warnings about possible alignment problems.

See Component bdld_datum


Member Function Documentation

template<class Type >
static Type bdld::Datum_Helpers::load ( const void *  source,
int  offset 
) [static]

Return the typed value found at the specified offset within the specified source.

template<class Type >
static Type bdld::Datum_Helpers::store ( void *  destination,
int  offset,
Type  value 
) [static]

Store the specified typed value at the specified offset within the specified destination and return value.


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