antlr3string.h

Langue: en

Version: 380391 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

include/antlr3string.h -

Simple string interface allows indiscriminate allocation of strings such that they can be allocated all over the place and released in one chunk via a string factory - saves lots of hassle in remembering what strings were allocated where.

SYNOPSIS


#include <antlr3defs.h>
#include <antlr3collections.h>

Data Structures


struct ANTLR3_STRING_FACTORY_struct
Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes.
struct ANTLR3_STRING_struct
Base string class tracks the allocations and provides simple string tracking functions.

Typedefs


typedef struct ANTLR3_STRING_struct ANTLR3_STRING
Base string class tracks the allocations and provides simple string tracking functions.
typedef struct ANTLR3_STRING_FACTORY_struct ANTLR3_STRING_FACTORY
Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes.

Detailed Description

Simple string interface allows indiscriminate allocation of strings such that they can be allocated all over the place and released in one chunk via a string factory - saves lots of hassle in remembering what strings were allocated where.

Typedef Documentation

typedef struct ANTLR3_STRING_struct


     ANTLR3_STRING"

Base string class tracks the allocations and provides simple string tracking functions. Mostly you can work directly on the string for things that don't reallocate it, like strchr() etc. Perhaps someone will want to provide implementations for UTF8 and so on.

typedef struct ANTLR3_STRING_FACTORY_struct


     ANTLR3_STRING_FACTORY"

Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes.

Author

Generated automatically by Doxygen for ANTLR3C from the source code.