#include <VarState.h>

Inheritance diagram for ESIVariableUserAgent:
Collaboration diagram for ESIVariableUserAgent:

Public Member Functions

 ~ESIVariableUserAgent ()
 
 ESIVariableUserAgent (ESIVarState &state)
 
virtual void eval (ESIVarState &state, char const *, char const *) const
 

Private Types

enum  esiUserOs_t {
  ESI_OS_WIN,
  ESI_OS_MAC,
  ESI_OS_UNIX,
  ESI_OS_OTHER
}
 

Private Member Functions

esiUserOs_t identifyOs (char const *) const
 
char const * browserVersion () const
 
char * getProductVersion (char const *s)
 

Private Attributes

esiUserOs_t UserOs
 
esiBrowser_t browser
 
char * browserversion
 

Static Private Attributes

static char const * esiUserOs []
 

Detailed Description

Definition at line 146 of file VarState.h.

Member Enumeration Documentation

Enumerator
ESI_OS_WIN 
ESI_OS_MAC 
ESI_OS_UNIX 
ESI_OS_OTHER 

Definition at line 156 of file VarState.h.

Constructor & Destructor Documentation

ESIVariableUserAgent::~ESIVariableUserAgent ( )

Definition at line 291 of file VarState.cc.

References browserversion, and safe_free.

Member Function Documentation

char const* ESIVariableUserAgent::browserVersion ( ) const
inlineprivate

Definition at line 163 of file VarState.h.

References browserversion.

Referenced by eval().

void ESIVariableUserAgent::eval ( ESIVarState state,
char const *  subref,
char const *  found_default 
) const
virtual
char * ESIVariableUserAgent::getProductVersion ( char const *  s)
private

Definition at line 149 of file VarState.cc.

References len, xstrdup, and xstrndup().

Referenced by ESIVariableUserAgent().

ESIVariableUserAgent::esiUserOs_t ESIVariableUserAgent::identifyOs ( char const *  s) const
private

Definition at line 358 of file VarState.cc.

References ESI_OS_MAC, ESI_OS_OTHER, ESI_OS_UNIX, and ESI_OS_WIN.

Referenced by ESIVariableUserAgent().

Member Data Documentation

esiBrowser_t ESIVariableUserAgent::browser
private

Definition at line 167 of file VarState.h.

Referenced by ESIVariableUserAgent(), and eval().

char* ESIVariableUserAgent::browserversion
private

Definition at line 168 of file VarState.h.

Referenced by browserVersion(), ESIVariableUserAgent(), and ~ESIVariableUserAgent().

char const * ESIVariableUserAgent::esiUserOs
staticprivate
Initial value:
= {
"WIN",
"MAC",
"UNIX",
"OTHER"
}

Definition at line 155 of file VarState.h.

Referenced by eval().

esiUserOs_t ESIVariableUserAgent::UserOs
private

Definition at line 166 of file VarState.h.

Referenced by ESIVariableUserAgent(), and eval().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors