![]() |
|
|
Generated: 24 Nov 2008 |
#include "GaudiKernel/SmartIF.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/SvcFactory.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/IJobOptionsSvc.h"
#include "GaudiKernel/DataObject.h"
#include "GaudiKernel/IRegistry.h"
#include "HistogramPersistencySvc.h"
#include "AIDA/IBaseHistogram.h"

Go to the source code of this file.
Defines | |
| #define | PERSISTENCYSVC_HISTOGRAMPERSISTENCYSVC_CPP |
Functions | |
| bool | match (const std::string &name, const std::string &pat) |
| check the match of the full name and the pattern | |
| const std::string & | oname (const DataObject *obj) |
| get the ful name of data object | |
| bool | match (const DataObject *obj, const std::string &pat) |
| check the match of the full name of data object with the pattern | |
Variables | |
| const std::string | s_NULL = "<NULL>" |
| invalid name | |
| #define PERSISTENCYSVC_HISTOGRAMPERSISTENCYSVC_CPP |
Definition at line 21 of file HistogramPersistencySvc.cpp.
| bool @621::match | ( | const DataObject * | obj, | |
| const std::string & | pat | |||
| ) | [inline, static] |
check the match of the full name of data object with the pattern
| obj | the object | |
| pat | the pattern |
Definition at line 192 of file HistogramPersistencySvc.cpp.
00194 { 00195 if ( 0 == obj ) { return false ; } 00196 return match ( oname ( obj ) , pat ) ; 00197 }
| bool @621::match | ( | const std::string & | name, | |
| const std::string & | pat | |||
| ) | [inline, static] |
check the match of the full name and the pattern
| obj | the object | |
| pat | the pattern |
Definition at line 169 of file HistogramPersistencySvc.cpp.
00171 { 00172 // the most primitive match 00173 return std::string::npos != name.find ( pat ); 00174 }
| const std::string& @621::oname | ( | const DataObject * | obj | ) | [inline, static] |
get the ful name of data object
| obj | the object |
Definition at line 180 of file HistogramPersistencySvc.cpp.
00181 { 00182 if ( 0 == obj ) { return s_NULL ; } 00183 const IRegistry* reg = obj->registry() ; 00184 return ( 0 == reg ) ? obj -> name () : reg -> identifier () ; 00185 }
const std::string s_NULL = "<NULL>" [static] |