00001 #ifndef ParameterSet_OperandNode_h 00002 #define ParameterSet_OperandNode_h 00003 00004 00005 #include "FWCore/ParameterSet/interface/Node.h" 00006 00007 00008 namespace edm { 00009 namespace pset { 00010 00011 /* 00012 ----------------------------------------- 00013 Operands hold: leaf in the path expression - names of modules/sequences 00014 */ 00015 00016 class OperandNode : public Node 00017 { 00018 public: 00019 OperandNode(const std::string& type, const std::string& name, int line=-1); 00020 virtual Node * clone() const { return new OperandNode(*this);} 00021 virtual std::string type() const; 00022 virtual void print(std::ostream& ost, PrintOptions options) const; 00023 00024 virtual void accept(Visitor& v) const; 00025 00026 private: 00027 std::string type_; 00028 }; 00029 00030 00031 00032 00033 } 00034 } 00035 #endif