llvm::sys::MemoryBlock Class Reference

This class encapsulates the notion of a memory block which has an address and a size. More...

#include <Memory.h>

List of all members.

Public Member Functions

 MemoryBlock ()
 MemoryBlock (void *addr, size_t size)
void * base () const
size_t size () const

Private Attributes

void * Address
 Address of first byte of memory area.
size_t Size
 Size, in bytes of the memory area.

Friends

class Memory

Detailed Description

This class encapsulates the notion of a memory block which has an address and a size.

It is used by the Memory class (a friend) as the result of various memory allocation operations.

See also:
Memory Memory block abstraction.

Constructor & Destructor Documentation

llvm::sys::MemoryBlock::MemoryBlock (  )  [inline]
llvm::sys::MemoryBlock::MemoryBlock ( void *  addr,
size_t  size 
) [inline]

Member Function Documentation

void* llvm::sys::MemoryBlock::base (  )  const [inline]
size_t llvm::sys::MemoryBlock::size (  )  const [inline]

Friends And Related Function Documentation

friend class Memory [friend]

Member Data Documentation

Address of first byte of memory area.

size_t llvm::sys::MemoryBlock::Size [private]

Size, in bytes of the memory area.


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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1