File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ namespace edm {
4444
4545 void cacheToken (EDGetToken) const ;
4646
47+ bool isUninitialized () const ;
48+
4749 static const std::string kSkipCurrentProcess ;
4850 static const std::string kCurrentProcess ;
4951
Original file line number Diff line number Diff line change @@ -108,6 +108,10 @@ namespace edm {
108108
109109 void InputTag::cacheToken (EDGetToken token) const { token_.store (token); }
110110
111+ bool InputTag::isUninitialized () const {
112+ return label_.empty () and instance_.empty () and process_.empty ();
113+ }
114+
111115 std::ostream& operator <<(std::ostream& ost, InputTag const & tag) {
112116 static std::string const process (" , process = " );
113117 ost << " InputTag: label = " << tag.label () << " , instance = " << tag.instance ()
You can’t perform that action at this time.
0 commit comments