#include <Svc_Conf.h>
Collaboration diagram for ACE_Svc_Conf_Param:

Public Types | |
| enum | SVC_CONF_PARAM_TYPE { SVC_CONF_FILE, SVC_CONF_DIRECTIVE } |
Public Methods | |
| ACE_Svc_Conf_Param (FILE *file) | |
| Constructor. More... | |
| ACE_Svc_Conf_Param (const ACE_TCHAR *directive) | |
| Constructor. More... | |
| ~ACE_Svc_Conf_Param (void) | |
Public Attributes | |
| union { | |
| FILE * file | |
| const ACE_TCHAR * directive | |
| } | source |
| SVC_CONF_PARAM_TYPE | type |
| Discriminant use to determine which union member to use. More... | |
| int | yyerrno |
| Keeps track of the number of errors encountered so far. More... | |
| int | yylineno |
| Keeps track of the current line number for error-handling routine. More... | |
| ace_yy_buffer_state * | buffer |
| Lexer buffer that corresponds to the current Service Configurator file/direct scan. More... | |
| ACE_Obstack_T< ACE_TCHAR > | obstack |
| Obstack used for efficient memory allocation when parsing/scanning a service configurator directive. More... | |
This class retains the state for a given parse/scan. It primarily makes it possible to hold the static object lock in the scanner for as short a period of time as possible. The resulting finer grained locking prevents deadlocks from occuring when scanning a `svc.conf' file and activating an ACE_Task, for example, as a result of processing the directives in that file.
|
|
|
|
|
Constructor.
|
|
|
Constructor.
|
|
|
|
|
|
Lexer buffer that corresponds to the current Service Configurator file/direct scan.
|
|
|
String containing directive that will be scanned and parsed.
|
|
|
FILE stream from which directives will be scanned and parsed.
|
|
|
Obstack used for efficient memory allocation when parsing/scanning a service configurator directive.
|
|
|
|
|
|
Discriminant use to determine which union member to use.
|
|
|
Keeps track of the number of errors encountered so far.
|
|
|
Keeps track of the current line number for error-handling routine.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001