CMS 3D CMS Logo

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

#include <FileID.h>

Public Member Functions

std::string const & fid () const
 
 FileID ()
 
 FileID (std::string const &id)
 
bool isValid () const
 

Private Attributes

std::string fid_
 

Detailed Description

Definition at line 14 of file FileID.h.

Constructor & Destructor Documentation

◆ FileID() [1/2]

edm::FileID::FileID ( )
inline

Definition at line 16 of file FileID.h.

16 : fid_() {}

◆ FileID() [2/2]

edm::FileID::FileID ( std::string const &  id)
inlineexplicit

Definition at line 17 of file FileID.h.

17 : fid_(id) {}

Member Function Documentation

◆ fid()

std::string const& edm::FileID::fid ( ) const
inline

◆ isValid()

bool edm::FileID::isValid ( void  ) const
inline

Definition at line 18 of file FileID.h.

18 { return !fid().empty(); }

References fid().

Referenced by ntupleDataFormat._Object::_checkIsValid(), core.AutoHandle.AutoHandle::ReallyLoad(), and edm::RootFile::validateFile().

Member Data Documentation

◆ fid_

std::string edm::FileID::fid_
private

Definition at line 22 of file FileID.h.

Referenced by fid().

edm::FileID::fid_
std::string fid_
Definition: FileID.h:22
edm::FileID::fid
std::string const & fid() const
Definition: FileID.h:19