Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BdbTagPersistentAccessorFactory Class Reference
[BdbTagFilterInput]

#include <BdbTagPersistentAccessorFactory.hh>

Inheritance diagram for BdbTagPersistentAccessorFactory:

PrsAttrAccessorFactory List of all members.

Public Methods

 BdbTagPersistentAccessorFactory ()
virtual ~BdbTagPersistentAccessorFactory ()
virtual PrsAttrGettergetter (const std::string &name1, const std::string &name2="")
virtual PrsAttrSetter * setter (const std::string &name)
bool setupTag (BdbHandle(BdbEventTag)&theTag, BdbHandle(HepExplorableDescr)&theDesc)

Private Types

typedef BdbTagPersistentAccessor GetterType
typedef std::map< std::string,
GetterType * > 
AccessorMap

Private Methods

 BdbTagPersistentAccessorFactory (const BdbTagPersistentAccessorFactory &)
BdbTagPersistentAccessorFactory & operator= (const BdbTagPersistentAccessorFactory &)

Private Attributes

AccessorMap _map

Detailed Description

Attribute accessor class for the BDB persistent tags.

See also:
BdbTagFilterInput
Version:
Id:
BdbTagPersistentAccessorFactory.hh,v 1.1 2002/05/31 18:42:23 salnikov Exp

Author:
Andy Salnikov originator

Definition at line 58 of file BdbTagPersistentAccessorFactory.hh.


Member Typedef Documentation

typedef std::map<std::string,GetterType*> BdbTagPersistentAccessorFactory::AccessorMap [private]
 

Definition at line 111 of file BdbTagPersistentAccessorFactory.hh.

typedef BdbTagPersistentAccessor BdbTagPersistentAccessorFactory::GetterType [private]
 

Definition at line 110 of file BdbTagPersistentAccessorFactory.hh.

Referenced by getter().


Constructor & Destructor Documentation

BdbTagPersistentAccessorFactory::BdbTagPersistentAccessorFactory  
 

Definition at line 52 of file BdbTagPersistentAccessorFactory.cc.

BdbTagPersistentAccessorFactory::~BdbTagPersistentAccessorFactory   [virtual]
 

Definition at line 61 of file BdbTagPersistentAccessorFactory.cc.

References _map.

BdbTagPersistentAccessorFactory::BdbTagPersistentAccessorFactory const BdbTagPersistentAccessorFactory &    [private]
 


Member Function Documentation

PrsAttrGetter * BdbTagPersistentAccessorFactory::getter const std::string &    name1,
const std::string &    name2 = ""
[virtual]
 

create a "getter" accessor. This method is called when parser encounters identifier in the expression on the right side of assignment (or any expression without assignment).

Parameters:
name1  in case of the non-dotted identifier this will be the full identifier, in case of dotted identifier this will be before-dot part of the name
name2  in case of the non-dotted identifier this will be empty string, in case of dotted identifier this will be after-dot part of the name

Definition at line 82 of file BdbTagPersistentAccessorFactory.cc.

References _map, getter(), and GetterType.

Referenced by getter().

BdbTagPersistentAccessorFactory& BdbTagPersistentAccessorFactory::operator= const BdbTagPersistentAccessorFactory &    [private]
 

PrsAttrSetter * BdbTagPersistentAccessorFactory::setter const std::string &    name [virtual]
 

create a "setter" accessor This method is called when parser encounters identifier on the left side of assignment.

Parameters:
name  the identifier name

Definition at line 110 of file BdbTagPersistentAccessorFactory.cc.

bool BdbTagPersistentAccessorFactory::setupTag BdbHandle(BdbEventTag)&    theTag,
BdbHandle(HepExplorableDescr)&    theDesc
 

Returns:
Setup of tag for analysis within input module

Definition at line 121 of file BdbTagPersistentAccessorFactory.cc.

References _map.

Referenced by BdbTagFilterInput::setupTag().


Member Data Documentation

AccessorMap BdbTagPersistentAccessorFactory::_map [private]
 

Definition at line 114 of file BdbTagPersistentAccessorFactory.hh.

Referenced by getter(), setupTag(), and ~BdbTagPersistentAccessorFactory().


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

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002