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.

58 { return node_; }

References node_.

Referenced by setNode().

◆ optional()

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

Definition at line 56 of file ParameterSetDescription.h.

56 { return optional_; }

References optional_.

◆ setNode()

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

Definition at line 61 of file ParameterSetDescription.h.

61  {
62  node_ = std::move(node);
63  return node_.operator->();
64  }

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

◆ setOptional()

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

Definition at line 59 of file ParameterSetDescription.h.

59 { optional_ = value; }

References optional_, and relativeConstraints::value.

◆ setWriteToCfi()

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

Definition at line 60 of file ParameterSetDescription.h.

60 { writeToCfi_ = value; }

References relativeConstraints::value, and writeToCfi_.

◆ writeToCfi()

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

Definition at line 57 of file ParameterSetDescription.h.

57 { return writeToCfi_; }

References writeToCfi_.

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().

edm::ParameterSetDescription::SetDescriptionEntry::node_
edm::value_ptr< ParameterDescriptionNode > node_
Definition: ParameterSetDescription.h:69
edm::ParameterSetDescription::SetDescriptionEntry::node
edm::value_ptr< ParameterDescriptionNode > const & node() const
Definition: ParameterSetDescription.h:58
edm::ParameterSetDescription::SetDescriptionEntry::optional_
bool optional_
Definition: ParameterSetDescription.h:67
edm::ParameterSetDescription::SetDescriptionEntry::writeToCfi_
bool writeToCfi_
Definition: ParameterSetDescription.h:68
eostools.move
def move(src, dest)
Definition: eostools.py:511
relativeConstraints.value
value
Definition: relativeConstraints.py:53