CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
edm::PathContext Class Reference

#include <PathContext.h>

Public Types

enum  PathType { PathType::kPath, PathType::kEndPath }
 

Public Member Functions

bool isEndPath () const
 
 PathContext (std::string const &pathName, StreamContext const *streamContext, unsigned int pathID, PathType pathType)
 
unsigned int pathID () const
 
std::string const & pathName () const
 
PathType pathType () const
 
StreamContext const * streamContext () const
 

Private Attributes

unsigned int pathID_
 
std::string pathName_
 
PathType pathType_
 
StreamContext const * streamContext_
 

Detailed Description

Description: This is intended primarily to be passed to Services as an argument to their callback functions.

Usage:

Definition at line 24 of file PathContext.h.

Member Enumeration Documentation

Enumerator
kPath 
kEndPath 

Definition at line 26 of file PathContext.h.

26 { kPath, kEndPath };

Constructor & Destructor Documentation

edm::PathContext::PathContext ( std::string const &  pathName,
StreamContext const *  streamContext,
unsigned int  pathID,
PathType  pathType 
)

Definition at line 8 of file PathContext.cc.

std::string const & pathName() const
Definition: PathContext.h:30
StreamContext const * streamContext_
Definition: PathContext.h:39
std::string pathName_
Definition: PathContext.h:38
PathType pathType() const
Definition: PathContext.h:33
unsigned int pathID() const
Definition: PathContext.h:32
PathType pathType_
Definition: PathContext.h:41
StreamContext const * streamContext() const
Definition: PathContext.h:31
unsigned int pathID_
Definition: PathContext.h:40

Member Function Documentation

bool edm::PathContext::isEndPath ( ) const
inline
unsigned int edm::PathContext::pathID ( ) const
inline
std::string const& edm::PathContext::pathName ( ) const
inline
PathType edm::PathContext::pathType ( ) const
inline

Definition at line 33 of file PathContext.h.

References pathType_.

Referenced by edm::operator<<().

33 { return pathType_; }
PathType pathType_
Definition: PathContext.h:41
StreamContext const* edm::PathContext::streamContext ( ) const
inline

Member Data Documentation

unsigned int edm::PathContext::pathID_
private

Definition at line 40 of file PathContext.h.

Referenced by pathID().

std::string edm::PathContext::pathName_
private

Definition at line 38 of file PathContext.h.

Referenced by pathName().

PathType edm::PathContext::pathType_
private

Definition at line 41 of file PathContext.h.

Referenced by isEndPath(), and pathType().

StreamContext const* edm::PathContext::streamContext_
private

Definition at line 39 of file PathContext.h.

Referenced by streamContext().