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

rdbModel::Builder Class Reference

#include <Builder.h>

Inheritance diagram for rdbModel::Builder:

rdbModel::XercesBuilder rdbModel::XercesBuilder List of all members.

Public Member Functions

 Builder ()
 Builder ()
virtual int buildRdb ()=0
virtual int buildRdb ()=0
RdbgetRdb ()
RdbgetRdb ()
virtual unsigned int parseInput (const std::string &)=0
virtual unsigned int parseInput (const std::string &)=0
void setRdb (Rdb *pRdb)
void setRdb (Rdb *pRdb)

Protected Attributes

Rdbm_currentRdb
Rdbm_currentRdb

Detailed Description

This class defines the public interface for the generic functionalities of a builder. Each subclass must provide implementation for its methods.
Author:
J. Bogart, but basically stolen from detModel Builder Many thanks to R. Giannitrapani and D. Favretto


Constructor & Destructor Documentation

rdbModel::Builder::Builder  )  [inline]
 

00021 {};

rdbModel::Builder::Builder  )  [inline]
 

00021 {};


Member Function Documentation

virtual int rdbModel::Builder::buildRdb  )  [pure virtual]
 

This method start the parser (implemented in a concrete subclass of this class) for the sections part and put the result in a private pointer Return is number of tables built. If negative, indicates error.

Implemented in rdbModel::XercesBuilder, and rdbModel::XercesBuilder.

virtual int rdbModel::Builder::buildRdb  )  [pure virtual]
 

This method start the parser (implemented in a concrete subclass of this class) for the sections part and put the result in a private pointer Return is number of tables built. If negative, indicates error.

Implemented in rdbModel::XercesBuilder, and rdbModel::XercesBuilder.

Rdb* rdbModel::Builder::getRdb  )  [inline]
 

This method return a pointer to the internal Rdb

00045 { return m_currentRdb; };

Rdb* rdbModel::Builder::getRdb  )  [inline]
 

This method return a pointer to the internal Rdb

00045 { return m_currentRdb; };

virtual unsigned int rdbModel::Builder::parseInput const std::string &   )  [pure virtual]
 

This method parses the input into an intermediate in-memeory form. For now, the only acceptable input source is an xml file and the intermediate form is its DOM represenation. Conceivably could accept other forms someday. Return is to be interpreted as error code: 0 is ok.

Implemented in rdbModel::XercesBuilder, and rdbModel::XercesBuilder.

virtual unsigned int rdbModel::Builder::parseInput const std::string &   )  [pure virtual]
 

This method parses the input into an intermediate in-memeory form. For now, the only acceptable input source is an xml file and the intermediate form is its DOM represenation. Conceivably could accept other forms someday. Return is to be interpreted as error code: 0 is ok.

Implemented in rdbModel::XercesBuilder, and rdbModel::XercesBuilder.

void rdbModel::Builder::setRdb Rdb pRdb  )  [inline]
 

00040 {m_currentRdb = pRdb;}

void rdbModel::Builder::setRdb Rdb pRdb  )  [inline]
 

00040 {m_currentRdb = pRdb;}


Member Data Documentation

Rdb* rdbModel::Builder::m_currentRdb [protected]
 

This is a private pointer to an Rdb used during the building

Rdb* rdbModel::Builder::m_currentRdb [protected]
 

This is a private pointer to an Rdb used during the building


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 19:21:57 2011 for BOSS6.5.5 by  doxygen 1.3.9.1