File: ACE_Svc_Conf_Param.3

package info (click to toggle)
ace 5.2.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 26,856 kB
  • ctags: 18,677
  • sloc: cpp: 171,831; makefile: 48,840; sh: 10,192; perl: 8,582; exp: 787; yacc: 387; lex: 140; csh: 20
file content (133 lines) | stat: -rw-r--r-- 3,606 bytes parent folder | download
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.TH ACE_Svc_Conf_Param 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_Svc_Conf_Param \- An instance of this object will be passed down to the yyparse() and yylex() functions. 
.SH SYNOPSIS
.br
.PP
\fC#include <Svc_Conf.h>\fR
.PP
.SS Public Types

.in +1c
.ti -1c
.RI "enum \fBSVC_CONF_PARAM_TYPE\fR { \fBSVC_CONF_FILE\fR, \fBSVC_CONF_DIRECTIVE\fR }"
.br
.in -1c
.SS Public Methods

.in +1c
.ti -1c
.RI "\fBACE_Svc_Conf_Param\fR (FILE *\fBfile\fR)"
.br
.RI "\fIConstructor.\fR"
.ti -1c
.RI "\fBACE_Svc_Conf_Param\fR (const \fBACE_TCHAR\fR *\fBdirective\fR)"
.br
.RI "\fIConstructor.\fR"
.ti -1c
.RI "\fB~ACE_Svc_Conf_Param\fR (void)"
.br
.in -1c
.SS Public Attributes

.in +1c
.ti -1c
.RI "union {"
.br
.ti -1c
.RI "  FILE* \fBfile\fR"
.br
.ti -1c
.RI "  const \fBACE_TCHAR\fR* \fBdirective\fR"
.br
.ti -1c
.RI "} \fBsource\fR"
.br
.RI ""
.br
.ti -1c
.RI "\fBSVC_CONF_PARAM_TYPE\fR \fBtype\fR"
.br
.ti -1c
.RI "int \fByyerrno\fR"
.br
.RI "\fIKeeps track of the number of errors encountered so far.\fR"
.ti -1c
.RI "int \fByylineno\fR"
.br
.RI "\fIKeeps track of the current line number for error-handling routine.\fR"
.ti -1c
.RI "ace_yy_buffer_state* \fBbuffer\fR"
.br
.RI "\fILexer buffer that corresponds to the current Service Configurator file/direct scan.\fR"
.ti -1c
.RI "\fBACE_Obstack_T\fR<\fBACE_TCHAR\fR> \fBobstack\fR"
.br
.RI "\fIObstack used for efficient memory allocation when parsing/scanning a service configurator directive.\fR"
.in -1c
.SH DETAILED DESCRIPTION
.PP 
An instance of this object will be passed down to the yyparse() and yylex() functions.
.PP
.PP
 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 \fBACE_Task\fR, for example, as a result of processing the directives in that file. 
.PP
.SH MEMBER ENUMERATION DOCUMENTATION
.PP 
.SS enum ACE_Svc_Conf_Param::SVC_CONF_PARAM_TYPE
.PP
\fBEnumeration values:\fR
.in +1c
.TP
\fB\fISVC_CONF_FILE\fR \fRThe lexer will scan a file containing one or more directives.
.TP
\fB\fISVC_CONF_DIRECTIVE\fR \fRThe lexer will scan a string containing a directive.
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP 
.SS ACE_Svc_Conf_Param::ACE_Svc_Conf_Param (FILE * file)\fC [inline]\fR
.PP
Constructor.
.PP
.SS ACE_Svc_Conf_Param::ACE_Svc_Conf_Param (const \fBACE_TCHAR\fR * directive)\fC [inline]\fR
.PP
Constructor.
.PP
.SS ACE_Svc_Conf_Param::~ACE_Svc_Conf_Param (void)\fC [inline]\fR
.PP
.SH MEMBER DATA DOCUMENTATION
.PP 
.SS ace_yy_buffer_state * ACE_Svc_Conf_Param::buffer
.PP
Lexer buffer that corresponds to the current Service Configurator file/direct scan.
.PP
.SS const \fBACE_TCHAR\fR* ACE_Svc_Conf_Param::directive
.PP
String containing directive that will be scanned and parsed.
.PP
.SS FILE* ACE_Svc_Conf_Param::file
.PP
FILE stream from which directives will be scanned and parsed.
.PP
.SS \fBACE_Obstack_T\fR< \fBACE_TCHAR\fR > ACE_Svc_Conf_Param::obstack
.PP
Obstack used for efficient memory allocation when parsing/scanning a service configurator directive.
.PP
.SS union { ... }   ACE_Svc_Conf_Param::source
.PP
.SS \fBSVC_CONF_PARAM_TYPE\fR ACE_Svc_Conf_Param::type
.PP
.SS int ACE_Svc_Conf_Param::yyerrno
.PP
Keeps track of the number of errors encountered so far.
.PP
.SS int ACE_Svc_Conf_Param::yylineno
.PP
Keeps track of the current line number for error-handling routine.
.PP


.SH AUTHOR
.PP 
Generated automatically by Doxygen for ACE from the source code.