ACE_Svc_Conf_Lexer Class Reference

#include <Svc_Conf_Lexer.h>

List of all members.

Static Public Member Functions

static int yylex (YYSTYPE *ace_yylval, ACE_Svc_Conf_Param *param)

Static Private Member Functions

static size_t input (ACE_Svc_Conf_Param *param, char *buf, size_t max_size)
static int scan (YYSTYPE *ace_yylval, ACE_Svc_Conf_Param *param)
static bool convert_to_utf8 (ACE_Svc_Conf_Param *param, size_t skip_bytes, ACE_Encoding_Converter_Factory::Encoding_Hint hint)
static bool convert_from_utf8 (ACE_Encoding_Converter *converter, const char *source, size_t source_size, ACE_TCHAR *target, size_t target_size, size_t &length)
static
ACE_Encoding_Converter_Factory::Encoding_Hint 
locate_bom (char *source, size_t source_size, size_t &bytes_used)

Detailed Description

This class lexes the classic ACE Service Configurator language. The entry point is similar to what flex would generate. However, it is a static method in this class (which is really just name space).


Member Function Documentation

static bool ACE_Svc_Conf_Lexer::convert_from_utf8 ( ACE_Encoding_Converter converter,
const char *  source,
size_t  source_size,
ACE_TCHAR target,
size_t  target_size,
size_t &  length 
) [static, private]
static bool ACE_Svc_Conf_Lexer::convert_to_utf8 ( ACE_Svc_Conf_Param param,
size_t  skip_bytes,
ACE_Encoding_Converter_Factory::Encoding_Hint  hint 
) [static, private]
static size_t ACE_Svc_Conf_Lexer::input ( ACE_Svc_Conf_Param param,
char *  buf,
size_t  max_size 
) [static, private]
static ACE_Encoding_Converter_Factory::Encoding_Hint ACE_Svc_Conf_Lexer::locate_bom ( char *  source,
size_t  source_size,
size_t &  bytes_used 
) [static, private]
static int ACE_Svc_Conf_Lexer::scan ( YYSTYPE ace_yylval,
ACE_Svc_Conf_Param param 
) [static, private]
static int ACE_Svc_Conf_Lexer::yylex ( YYSTYPE ace_yylval,
ACE_Svc_Conf_Param param 
) [static]

This is similar to the C function, ace_yylex, which a bison generated parser expects. It returns information in the ace_yylval parameter and uses input stored in the param parameter.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Nov 30 00:53:50 2009 for ACE by  doxygen 1.6.1