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

StringsHolder Class Reference

#include <stringsholder.hpp>

List of all members.

Public Member Functions

char * add (const char *text)
void delete_strings ()

Private Attributes

std::vector< char * > strings


Detailed Description

This class holds strings found during scanning the program input.


Member Function Documentation

char * StringsHolder::add const char *  text  ) 
 

Adds a string to the holder.

Parameters:
text the string.
Returns:
A pointer to a copy of the string.

void StringsHolder::delete_strings  ) 
 

Garbage collector that clears all memory allocated for the string copies.


Member Data Documentation

std::vector<char*> StringsHolder::strings [private]
 

The string copies kept.


The documentation for this class was generated from the following files:
Generated on Mon Mar 21 00:08:47 2005 for Fixpoint Engine by  doxygen 1.3.9.1