CMS 3D CMS Logo

lat::PushBackBuffer Class Reference

#include <Iguana/Utilities/classlib/iotools/PushBackBuffer.h>

List of all members.

Public Types

enum  { DEFAULT_SIZE = 100 }

Public Member Functions

IOSize capacity (void) const
unsigned char * current (void) const
unsigned char * end (void) const
void get (void *into, IOSize n)
PushBackBufferoperator= (const PushBackBuffer &x)
 PushBackBuffer (const PushBackBuffer &x)
 PushBackBuffer (IOSize bufsize=DEFAULT_SIZE)
void reset (void)
IOSize size (void) const
void skip (IOSize n)
void unget (const void *data, IOSize n)
 ~PushBackBuffer (void)

Private Attributes

unsigned char * m_buffer
unsigned char * m_current
unsigned char * m_limit


Detailed Description

Definition at line 16 of file PushBackBuffer.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
DEFAULT_SIZE 

Definition at line 19 of file PushBackBuffer.h.

00019 { DEFAULT_SIZE = 100 }; //< Default buffer size.


Constructor & Destructor Documentation

lat::PushBackBuffer::PushBackBuffer ( IOSize  bufsize = DEFAULT_SIZE  ) 

lat::PushBackBuffer::PushBackBuffer ( const PushBackBuffer x  ) 

lat::PushBackBuffer::~PushBackBuffer ( void   ) 


Member Function Documentation

IOSize lat::PushBackBuffer::capacity ( void   )  const

unsigned char* lat::PushBackBuffer::current ( void   )  const

unsigned char* lat::PushBackBuffer::end ( void   )  const

void lat::PushBackBuffer::get ( void into,
IOSize  n 
)

PushBackBuffer& lat::PushBackBuffer::operator= ( const PushBackBuffer x  ) 

void lat::PushBackBuffer::reset ( void   ) 

IOSize lat::PushBackBuffer::size ( void   )  const

void lat::PushBackBuffer::skip ( IOSize  n  ) 

void lat::PushBackBuffer::unget ( const void data,
IOSize  n 
)


Member Data Documentation

unsigned char* lat::PushBackBuffer::m_buffer [private]

Definition at line 38 of file PushBackBuffer.h.

unsigned char* lat::PushBackBuffer::m_current [private]

Definition at line 39 of file PushBackBuffer.h.

unsigned char* lat::PushBackBuffer::m_limit [private]

Definition at line 40 of file PushBackBuffer.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:34 2009 for CMSSW by  doxygen 1.5.4