CMS 3D CMS Logo

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

#include <ParameterSetDescription.h>

Public Member Functions

edm::value_ptr< ParameterDescriptionNode > const & node () const
 
bool optional () const
 
ParameterDescriptionNodesetNode (std::unique_ptr< ParameterDescriptionNode > node)
 
void setOptional (bool value)
 
void setWriteToCfi (bool value)
 
bool writeToCfi () const
 

Private Attributes

edm::value_ptr< ParameterDescriptionNodenode_
 
bool optional_
 
bool writeToCfi_
 

Detailed Description

Definition at line 54 of file ParameterSetDescription.h.

Member Function Documentation

◆ node()

edm::value_ptr<ParameterDescriptionNode> const& edm::ParameterSetDescription::SetDescriptionEntry::node ( ) const
inline

Definition at line 58 of file ParameterSetDescription.h.

References node_.

Referenced by setNode().

58 { return node_; }
edm::value_ptr< ParameterDescriptionNode > node_

◆ optional()

bool edm::ParameterSetDescription::SetDescriptionEntry::optional ( ) const
inline

◆ setNode()

ParameterDescriptionNode* edm::ParameterSetDescription::SetDescriptionEntry::setNode ( std::unique_ptr< ParameterDescriptionNode node)
inline

Definition at line 61 of file ParameterSetDescription.h.

References eostools::move(), node(), and node_.

61  {
62  node_ = std::move(node);
63  return node_.operator->();
64  }
edm::value_ptr< ParameterDescriptionNode > const & node() const
def move(src, dest)
Definition: eostools.py:511
edm::value_ptr< ParameterDescriptionNode > node_

◆ setOptional()

void edm::ParameterSetDescription::SetDescriptionEntry::setOptional ( bool  value)
inline

◆ setWriteToCfi()

void edm::ParameterSetDescription::SetDescriptionEntry::setWriteToCfi ( bool  value)
inline

◆ writeToCfi()

bool edm::ParameterSetDescription::SetDescriptionEntry::writeToCfi ( ) const
inline

Member Data Documentation

◆ node_

edm::value_ptr<ParameterDescriptionNode> edm::ParameterSetDescription::SetDescriptionEntry::node_
private

Definition at line 69 of file ParameterSetDescription.h.

Referenced by node(), and setNode().

◆ optional_

bool edm::ParameterSetDescription::SetDescriptionEntry::optional_
private

Definition at line 67 of file ParameterSetDescription.h.

Referenced by optional(), and setOptional().

◆ writeToCfi_

bool edm::ParameterSetDescription::SetDescriptionEntry::writeToCfi_
private

Definition at line 68 of file ParameterSetDescription.h.

Referenced by setWriteToCfi(), and writeToCfi().