Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

px7xpdbc Class Reference

#include <XPDBC.h>

Inheritance diagram for px7xpdbc

Inheritance graph

[legend]
Collaboration diagram for px7xpdbc:

Collaboration graph

[legend]
List of all members.

Public Methods

virtual NS_DECL_ISUPPORTS
nsresult 
NewPage (px7IChain **_retval)
 px7xpdbc ()
virtual ~px7xpdbc ()
TemplatefindTemplate (DBPage* page, const char *filename)
 Find a template in the cache. More...

ConnectiongetConnection (const nsAReadableString& pool)

Static Public Methods

px7xpdbc* GetSingleton ()
void FreeSingleton ()

Static Public Attributes

const bool m_optimize = true

Private Types

typedef std::map<const char*,
Template*, compareChar
mapStringTemplate

Private Attributes

mapStringTemplate m_templateCache
PRLock* m_mTemplate
ConnectionPoolManagerm_pPoolManager

Member Typedef Documentation

typedef std::map<const char*,Template*, compareChar> px7xpdbc::mapStringTemplate [private]
 

Definition at line 38 of file XPDBC.h.


Constructor & Destructor Documentation

px7xpdbc::px7xpdbc ( )
 

Definition at line 39 of file XPDBC.cpp.

Referenced by GetSingleton().

px7xpdbc::~px7xpdbc ( ) [virtual]
 

Definition at line 51 of file XPDBC.cpp.


Member Function Documentation

void px7xpdbc::FreeSingleton ( ) [static]
 

Definition at line 77 of file XPDBC.cpp.

Referenced by PR_STATIC_CALLBACK().

px7xpdbc * px7xpdbc::GetSingleton ( ) [static]
 

Definition at line 66 of file XPDBC.cpp.

NS_IMETHODIMP px7xpdbc::NewPage ( px7IChain ** _retval ) [virtual]
 

Definition at line 87 of file XPDBC.cpp.

Template * px7xpdbc::findTemplate ( DBPage * page,
const char * filename )
 

Find a template in the cache.

If the template is not cached, find the source file for it, compile it and place it in the cache.

Parameters:
request   Used to resolve the path to the Datatype definition
source   SAX InputSource to the source XML document

Definition at line 112 of file XPDBC.cpp.

Connection * px7xpdbc::getConnection ( const nsAReadableString & pool )
 

Definition at line 171 of file XPDBC.cpp.


Member Data Documentation

PRLock * px7xpdbc::m_mTemplate [private]
 

Definition at line 40 of file XPDBC.h.

const bool px7xpdbc::m_optimize = true [static]
 

Definition at line 32 of file XPDBC.h.

ConnectionPoolManager * px7xpdbc::m_pPoolManager [private]
 

Definition at line 41 of file XPDBC.h.

mapStringTemplate px7xpdbc::m_templateCache [private]
 

Definition at line 39 of file XPDBC.h.


The documentation for this class was generated from the following files:
Generated at Tue Sep 12 16:29:55 2000 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000