atlas  0.6
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
atlas::interpreter::String_pool Class Reference

#include <buffer.h>

Collaboration diagram for atlas::interpreter::String_pool:
Collaboration graph
[legend]

Public Member Functions

 String_pool (size_t b=default_block_size)
 
char * store (const char *s, size_t length)
 
 ~String_pool ()
 

Static Public Attributes

static const size_t default_block_size =512
 

Private Member Functions

 String_pool (const String_pool &)
 
String_pooloperator= (const String_pool &)
 

Private Attributes

const size_t block_size
 
char * start
 
char * point
 
size_t chars_left
 
const String_poolprev
 

Constructor & Destructor Documentation

atlas::interpreter::String_pool::String_pool ( size_t  b = default_block_size)
atlas::interpreter::String_pool::~String_pool ( )
atlas::interpreter::String_pool::String_pool ( const String_pool )
private

Member Function Documentation

char * atlas::interpreter::String_pool::store ( const char *  s,
size_t  length 
)

Member Data Documentation

const size_t atlas::interpreter::String_pool::block_size
private
size_t atlas::interpreter::String_pool::chars_left
private
const size_t atlas::interpreter::String_pool::default_block_size =512
static
char* atlas::interpreter::String_pool::point
private
const String_pool* atlas::interpreter::String_pool::prev
private
char* atlas::interpreter::String_pool::start
private

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