Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ClntParser.cpp File Reference

#include <stdio.h>
#include <iostream>
#include <string>
#include <malloc.h>
#include "DHCPConst.h"
#include "SmartPtr.h"
#include "Container.h"
#include "ClntParser.h"
#include "ClntParsGlobalOpt.h"
#include "ClntCfgIface.h"
#include "ClntCfgAddr.h"
#include "ClntCfgIA.h"
#include "ClntCfgGroup.h"
#include "Logger.h"
#include "FlexLexer.h"

Namespaces

namespace  std

Classes

union  yy_clntParser_stype
struct  yy_clntParser_stype::SDuid
class  YY_clntParser_INHERIT

Defines

#define YY_clntParser_h_included
#define YY_USE_CLASS
#define YY_USE_CLASS
#define const
#define YYBISON   1
#define YY_USE_CLASS
#define YY_clntParser_MEMBERS
#define YY_clntParser_CONSTRUCTOR_PARAM   yyFlexLexer * lex
#define YY_clntParser_CONSTRUCTOR_CODE
#define YY_clntParser_STYPE   yy_clntParser_stype
#define YY_clntParser_BISON   1
#define YY_clntParser_COMPATIBILITY   0
#define YY_clntParser_USE_GOTO   0
#define YY_clntParser_PARSE   yyparse
#define YY_clntParser_LEX   yylex
#define YY_clntParser_LVAL   yylval
#define YY_clntParser_LLOC   yylloc
#define YY_clntParser_CHAR   yychar
#define YY_clntParser_NERRS   yynerrs
#define YY_clntParser_DEBUG_FLAG   yydebug
#define YY_clntParser_ERROR   yyerror
#define YY_clntParser_PARSE_PARAM   void
#define YY_clntParser_CLASS   clntParser
#define YY_clntParser_USE_CONST_TOKEN   0
#define YYFINAL   158
#define YYFLAG   -32768
#define YYNTBASE   41
#define YYTRANSLATE(x)   ((unsigned)(x) <= 292 ? yytranslate[x] : 97)
#define YYLAST   186
#define YYGOTO(lb)   goto lb
#define YYBEGINGOTO
#define YYLABEL(lb)   lb:
#define YYENDGOTO
#define YYBEGINDECLARELABEL
#define YYDECLARELABEL(lb)
#define YYENDDECLARELABEL
#define __ALLOCA_return(num)   do { return(num); } while(0)
#define __ALLOCA_alloca(size)   alloca(size)
#define __ALLOCA_free(ptr, ref)
#define yyerrok   (yyerrstatus = 0)
#define yyclearin   (YY_clntParser_CHAR = YYEMPTY)
#define YYEMPTY   -2
#define YYEOF   0
#define YYACCEPT   __ALLOCA_return(0)
#define YYABORT   __ALLOCA_return(1)
#define YYERROR   YYGOTO(yyerrlab1)
#define YYFAIL   YYGOTO(yyerrlab)
#define YYRECOVERING()   (!!yyerrstatus)
#define YYBACKUP(token, value)
#define YYTERROR   1
#define YYERRCODE   256
#define YYLEX   YY_clntParser_LEX()
#define YYINITDEPTH   200
#define YYMAXDEPTH   10000
#define YYPOPSTACK   (yyvsp--, yyssp--)

Functions

YYBEGINDECLARELABEL YYDECLARELABEL (yyerrlab) YYDECLARELABEL(yyerrlab1) YYDECLARELABEL(yyerrdefault) YYDECLARELABEL(yyerrpop) YYENDDECLARELABELstatic void __yy_bcopy(from

Variables

YYBEGINDECLARELABEL to
YYBEGINDECLARELABEL count
char * 
from
int count

Define Documentation

#define __ALLOCA_alloca size   )     alloca(size)
 

#define __ALLOCA_free ptr,
ref   ) 
 

#define __ALLOCA_return num   )     do { return(num); } while(0)
 

#define const
 

#define YY_clntParser_BISON   1
 

#define YY_clntParser_CHAR   yychar
 

#define YY_clntParser_CLASS   clntParser
 

#define YY_clntParser_COMPATIBILITY   0
 

#define YY_clntParser_CONSTRUCTOR_CODE
 

Value:

this->lex = lex;                                                        \
    ParserOptStack.append(new TClntParsGlobalOpt());                        \
    ParserOptStack.getFirst()->setIAIDCnt(1);                               \
    ParserOptStack.getLast();

#define YY_clntParser_CONSTRUCTOR_PARAM   yyFlexLexer * lex
 

#define YY_clntParser_DEBUG_FLAG   yydebug
 

#define YY_clntParser_ERROR   yyerror
 

#define YY_clntParser_h_included
 

#define YY_clntParser_LEX   yylex
 

#define YY_clntParser_LLOC   yylloc
 

#define YY_clntParser_LVAL   yylval
 

#define YY_clntParser_MEMBERS
 

Value:

yyFlexLexer * lex;                                          \
/*List of options in scope stack,the most fresh is last in the list*/       \
TContainer<SmartPtr<TClntParsGlobalOpt> > ParserOptStack;                   \
/*List of parsed interfaces/IAs/Addresses, last */                          \
/*interface/IA/address is just being parsing or have been just parsed*/     \
/*FIXME:Don't forget to clear this lists in apropriate moment*/             \
TContainer<SmartPtr<TClntCfgIface> > ClntCfgIfaceLst;                       \
TContainer<SmartPtr<TClntCfgGroup> > ClntCfgGroupLst;                       \
TContainer<SmartPtr<TClntCfgIA> >    ClntCfgIALst;                          \
TContainer<SmartPtr<TClntCfgAddr> >  ClntCfgAddrLst;                        \
/*Pointer to list which should contain either rejected servers or */        \
/*preffered servers*/                                                       \
TContainer<SmartPtr<TStationID> > PresentStationLst;                        \
TContainer<SmartPtr<TIPv6Addr> > PresentAddrLst;                            \
TContainer<SmartPtr<string> > PresentStringLst;                             \
/*method check whether interface with id=ifaceNr has been */                \
/*already declared */                                                       \
bool CheckIsIface(int ifaceNr);                                             \
/* method check if interface with id=ifaceName has been already declared */ \
bool CheckIsIface(string ifaceName);                                        \
void StartIfaceDeclaration();                                               \
bool EndIfaceDeclaration();                                                 \
void EmptyIface();                                                          \
void StartIADeclaration(bool aggregation);                                  \
void EndIADeclaration(long iaCnt);                                          \
void EmptyIA();                                                             \
void EmptyAddr();                                                           \
virtual ~clntParser();

#define YY_clntParser_NERRS   yynerrs
 

#define YY_clntParser_PARSE   yyparse
 

#define YY_clntParser_PARSE_PARAM   void
 

#define YY_clntParser_STYPE   yy_clntParser_stype
 

#define YY_clntParser_USE_CONST_TOKEN   0
 

#define YY_clntParser_USE_GOTO   0
 

#define YY_USE_CLASS
 

#define YY_USE_CLASS
 

#define YY_USE_CLASS
 

#define YYABORT   __ALLOCA_return(1)
 

#define YYACCEPT   __ALLOCA_return(0)
 

#define YYBACKUP token,
value   ) 
 

Value:

do                                                              \
  if (YY_clntParser_CHAR == YYEMPTY && yylen == 1)                               \
    { YY_clntParser_CHAR = (token), YY_clntParser_LVAL = (value);                 \
      yychar1 = YYTRANSLATE (YY_clntParser_CHAR);                                \
      YYPOPSTACK;                                               \
      YYGOTO(yybackup);                                            \
    }                                                           \
  else                                                          \
    { YY_clntParser_ERROR ("syntax error: cannot back up"); YYERROR; }   \
while (0)

#define YYBEGINDECLARELABEL
 

#define YYBEGINGOTO
 

#define YYBISON   1
 

#define yyclearin   (YY_clntParser_CHAR = YYEMPTY)
 

#define YYDECLARELABEL lb   ) 
 

#define YYEMPTY   -2
 

#define YYENDDECLARELABEL
 

#define YYENDGOTO
 

#define YYEOF   0
 

#define YYERRCODE   256
 

#define yyerrok   (yyerrstatus = 0)
 

#define YYERROR   YYGOTO(yyerrlab1)
 

#define YYFAIL   YYGOTO(yyerrlab)
 

#define YYFINAL   158
 

#define YYFLAG   -32768
 

#define YYGOTO lb   )     goto lb
 

#define YYINITDEPTH   200
 

#define YYLABEL lb   )     lb:
 

#define YYLAST   186
 

#define YYLEX   YY_clntParser_LEX()
 

#define YYMAXDEPTH   10000
 

#define YYNTBASE   41
 

#define YYPOPSTACK   (yyvsp--, yyssp--)
 

 
#define YYRECOVERING  )     (!!yyerrstatus)
 

#define YYTERROR   1
 

#define YYTRANSLATE  )     ((unsigned)(x) <= 292 ? yytranslate[x] : 97)
 


Function Documentation

YYBEGINDECLARELABEL YYDECLARELABEL yyerrlab   ) 
 


Variable Documentation

int count
 

YYBEGINDECLARELABEL count char* from
 

char * to
 


Generated on Mon Dec 27 21:55:23 2004 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1