util::scoped_malloc Class Reference

#include <scoped.hh>

List of all members.

Public Member Functions

 scoped_malloc ()
 scoped_malloc (void *p)
 ~scoped_malloc ()
void reset (void *p=NULL)
void call_realloc (std::size_t to)
void * get ()
const void * get () const


Detailed Description

Definition at line 19 of file scoped.hh.


Constructor & Destructor Documentation

util::scoped_malloc::scoped_malloc (  )  [inline]

Definition at line 21 of file scoped.hh.

util::scoped_malloc::scoped_malloc ( void *  p  )  [inline]

Definition at line 23 of file scoped.hh.

util::scoped_malloc::~scoped_malloc (  ) 

Definition at line 35 of file scoped.cc.


Member Function Documentation

void util::scoped_malloc::call_realloc ( std::size_t  to  ) 

Definition at line 39 of file scoped.cc.

const void* util::scoped_malloc::get (  )  const [inline]

Definition at line 35 of file scoped.hh.

void* util::scoped_malloc::get (  )  [inline]

void util::scoped_malloc::reset ( void *  p = NULL  )  [inline]


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

Generated on Sat Nov 22 00:34:34 2014 for Moses by  doxygen 1.5.9