Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

SizeAssert.H File Reference

Go to the source code of this file.

Defines

#define sizeof_assert(a, b)

Functions

void sizeof_assert_fail (const char *typ, unsigned long gotsize, unsigned long targsize, const char *fname, unsigned int line, bool die)


Define Documentation

#define sizeof_assert a,
 ) 
 

Value:

((sizeof(a) == (b)) ? (b) : \
    (sizeof_assert_fail(#a, sizeof(a), b, __FILE__, __LINE__, false), \
     sizeof(a)))

Definition at line 46 of file SizeAssert.H.

Referenced by CacheEntry::Indices::Log(), CacheEntry::Indices::Read(), CacheEntry::Indices::ReadImmutable(), CacheEntry::Indices::Recover(), CacheEntry::Indices::Write(), Derived::Indices::Log(), Derived::Indices::Read(), Derived::Indices::Recover(), Derived::Indices::Write(), FP::Tag::Extend(), FP::Tag::ExtendRaw(), TextVC::FingerPrint(), IntegerVC::FingerPrint(), BooleanVC::FingerPrint(), GraphLog::Root::Log(), GraphLog::Node::Log(), PickleC::PickleInt16(), PickleC::PickleInt32(), PickleC::PickleInt64(), PickleC::PickleInt8(), PickleC::PickleLongId(), RootTbl::Read(), GraphLog::Root::Read(), GraphLog::Node::Read(), GraphLog::Entry::Read(), GraphLog::Root::Recover(), GraphLog::Node::Recover(), GraphLog::Entry::Recover(), Weeder::RecoverMiscVars(), FP::Tag::Send(), PickleC::UnpickleInt16(), PickleC::UnpickleInt32(), PickleC::UnpickleInt64(), PickleC::UnpickleInt8(), PickleC::UnpicklLongId(), RootTbl::Write(), GraphLog::Root::Write(), GraphLog::Node::Write(), and Weeder::WriteMiscVars().


Function Documentation

void sizeof_assert_fail const char *  typ,
unsigned long  gotsize,
unsigned long  targsize,
const char *  fname,
unsigned int  line,
bool  die
 

Definition at line 46 of file SizeAssert.C.


Generated on Mon May 8 00:49:00 2006 for Vesta by  doxygen 1.4.2