1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
.TH ACE_Svc_Conf_Lexer_Guard 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_Svc_Conf_Lexer_Guard \- "Guard" that ensures lexer buffer switching is exception-safe.
.SH SYNOPSIS
.br
.PP
\fC#include <Svc_Conf_Lexer_Guard.h>\fR
.PP
.SS Public Methods
.in +1c
.ti -1c
.RI "\fBACE_Svc_Conf_Lexer_Guard\fR (\fBACE_Svc_Conf_Param\fR *param)"
.br
.RI "\fIConstructor.\fR"
.ti -1c
.RI "\fB~ACE_Svc_Conf_Lexer_Guard\fR (void)"
.br
.RI "\fIDestructor.\fR"
.in -1c
.SS Private Attributes
.in +1c
.ti -1c
.RI "ace_yy_buffer_state* \fBbuffer_\fR"
.br
.RI "\fILexer buffer that corresponds to the current Service Configurator file/direct scan.\fR"
.in -1c
.SH DETAILED DESCRIPTION
.PP
"Guard" that ensures lexer buffer switching is exception-safe.
.PP
.PP
Buffers are switched, if necessary, each time a token is parsed/scanned. The buffer switching must be synchronized externally. This class performs no synchronization.
.PP
\fBNote: \fR
.in +1c
Note that allocation/deallocation is done once during the processing of a service configurator directive. Memory managements is done at a higher level, not in this class. This is necessary to prevent an allocation/deallocation from occurring when parsing/scanning each token.
.PP
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP
.SS ACE_Svc_Conf_Lexer_Guard::ACE_Svc_Conf_Lexer_Guard (\fBACE_Svc_Conf_Param\fR * param)
.PP
Constructor.
.PP
Switches buffers, if necessary, when token scanning first begins. Allocation of the buffer will also occur if one has not already been allocated. This operation effectively pushes a buffer on to a stack.
.SS ACE_Svc_Conf_Lexer_Guard::~ACE_Svc_Conf_Lexer_Guard (void)
.PP
Destructor.
.PP
Switches buffers, if necessary when token scanning completes. No buffer deallocation occurs here. Buffers are deallocated when parsing of the entire directive is done, not when scanning of a single token is done. This operation effective pops a buffer off of a stack.
.SH MEMBER DATA DOCUMENTATION
.PP
.SS ace_yy_buffer_state * ACE_Svc_Conf_Lexer_Guard::buffer_\fC [private]\fR
.PP
Lexer buffer that corresponds to the current Service Configurator file/direct scan.
.PP
.SH AUTHOR
.PP
Generated automatically by Doxygen for ACE from the source code.
|