NAME

OTC_Alignment - Provides alignment information.

SYNOPSIS


#include <OTC/memory/align.hh>

class OTC_Alignment
{
  public:
    static size_t ofChar();
    static size_t ofShort();
    static size_t ofInt();
    static size_t ofLong();
    static size_t ofFloat();
    static size_t ofDouble();
    static size_t ofStruct();
    static size_t ofWPtr();
    static size_t ofBPtr();
};

DESCRIPTION

Provides a means of obtaining alignment information. This sort of information is handy for when writing memory managers. All values are expressed in terms of bytes.

ALIGNMENT DATA

static size_t ofChar();
static size_t ofShort();
static size_t ofInt();
static size_t ofLong();
static size_t ofFloat();
static size_t ofDouble();
static size_t ofStruct();
static size_t ofWPtr();
static size_t ofBPtr();

LIBRARY

OTC

AUTHOR(S)

Graham Dumpleton

COPYRIGHT

Copyright 1994 TELSTRA CORPORATION LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED