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

StringsHolder Struct Reference

#include <stringsholder.h>

List of all members.

Public Member Functions

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

Private Attributes

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

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

The string copies kept.


The documentation for this struct was generated from the following files:
Generated on Wed Feb 16 20:54:57 2005 for Fixpoint Engine by  doxygen 1.3.9.1