LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
fhicl::detail::atom Namespace Reference

Functions

std::string printed_prefix (std::string const &key)
 
std::string value (boost::any const &)
 

Function Documentation

std::string fhicl::detail::atom::printed_prefix ( std::string const &  key)

Definition at line 91 of file printing_helpers.cc.

References fhicl::detail::is_sequence_element().

Referenced by fhicl::detail::Prettifier::atom(), fhicl::detail::PrettifierAnnotated::atom(), and fhicl::detail::PrettifierPrefixAnnotated::atom().

92 {
93  return is_sequence_element(key) ? "" : key + ": ";
94 }
bool is_sequence_element(std::string const &key)
std::string fhicl::detail::atom::value ( boost::any const &  a)

Definition at line 97 of file printing_helpers.cc.

Referenced by lar::util::MinMaxCollector< T >::add(), art::FileCatalogMetadata::addMetadata(), art::detail::addr(), art::debugging_allocator< T >::address(), rwgt::GENIEReweight::AddReweightValue(), fhicl::Tuple< TYPES >::assemble_rtype(), art::PtrVector< T >::assign(), art::Assns< L, R, D >::Assns(), fhicl::detail::Prettifier::atom(), fhicl::detail::PrettifierAnnotated::atom(), fhicl::detail::PrettifierPrefixAnnotated::atom(), art::BasicOptionsHandler::BasicOptionsHandler(), art::BasicSourceOptionsHandler::BasicSourceOptionsHandler(), art::MixFilter< T >::beginRun(), art::MixFilter< T >::beginSubRun(), BOOST_PYTHON_MODULE(), cluster::ClusterMerger::bot(), calo::LinearEnergyAlg::CalculateClusterEnergy(), rwgt::GENIEReweight::CalculateSigma(), rwgt::GENIEReweight::ChangeParameterValue(), evdb::ParameterSetEditRow::CheckButtonClicked(), art::Source< T >::checkForNextFile_(), cmtool::ClusterCombinations(), art::detail::TwoArgInsert< cet::map_vector< T > >::concatenate(), lar_content::LArMvaHelper::ConcatenateFeatureLists(), detinfo::LArPropertiesStandard::Configure(), fhicl::TupleAs< T(ARGS...)>::conversion_comment(), lar::details::CounterBlock< COUNTER, NCounters >::CounterBlock(), art::detail::CPCSentry::CPCSentry(), art::RootOutputFile::currentFileName(), fhicl::detail::decode(), fhicl::detail::decode_tuple(), lar::util::detail::DereferenceIteratorBase< Iter, Value >::DereferenceIteratorBase(), art::Wrapper< T >::do_getElementAddresses(), art::Wrapper< T >::do_makePartner(), art::Wrapper< T >::do_setPtr(), art::detail::ServiceWrapper< T, SCOPE >::doRegisterProducts(), recob::dumper::DumpPCAxis(), fhicl::detail::encode(), lar::util::GaussianFit< T >::EncodeExtractor< Pred, void >::EncodeExtractor(), art::MixFilter< T >::endRun(), art::MixFilter< T >::endSubRun(), art::ensurePointer(), export_G4ApplicationState(), export_G4ClassificationOfNewTrack(), export_G4ExceptionSeverity(), export_G4Material(), export_G4ProcessManager(), export_G4ProcessType(), export_G4StepStatus(), export_G4TrackStatus(), export_G4VisAttributes(), export_G4VisManager(), export_geomdefs(), proxy::details::extendAndAssign(), genf::RKTrackRep::Extrap(), art::detail::fhicl_key(), evgen::MARLEYHelper::fhicl_optional_atom_to_json(), art::FileCatalogOptionsHandler::FileCatalogOptionsHandler(), art::detail::BcollHelper< ProdB >::fill(), fhicl::OptionalTuple< ARGS... >::fill_return_element(), fhicl::Tuple< TYPES >::fill_return_element(), fhicl::Tuple< TYPES >::fill_tuple_element(), fhicl::Tuple< TYPES >::fill_tuple_elements(), art::RootOutputFile::fillBranches(), art::MixFilter< T >::filter(), fhicl::Tuple< TYPES >::finalize_elements(), fragmentAngularDistributionHistogram(), cluster::EndPointAlg::Gaussian(), vertex::HarrisVertexFinder::Gaussian(), cluster::EndPointAlg::GaussianDerivativeX(), vertex::HarrisVertexFinder::GaussianDerivativeX(), cluster::EndPointAlg::GaussianDerivativeY(), vertex::HarrisVertexFinder::GaussianDerivativeY(), art::detail::ServiceWrapper< T, SCOPE >::get(), shims::map< Key, T, Compare, Allocator >::iter< Category, TT, Distance, Pointer, Reference >::get(), art::detail::ServiceWrapper< T, art::ServiceScope::PER_SCHEDULE >::get(), fhicl::ParameterSet::get_if_present(), rndm::NuRandomServiceHelper::MapKeyIterator< typename map_t::const_iterator >::get_key(), art::detail::ServiceWrapper< T, SCOPE >::getAs(), art::Ptr< T >::getData_(), pyG4ParticleTable::GetParticleList(), art::RootOutputFile::getProduct(), cluster::ClusterParamsImportWrapper< Algo >::ImportHits(), art::detail::BcollHelper< ProdB >::init(), evgen::details::Average< T >::insert(), fhicl::intermediate_table::insert(), sim::LArVoxelList::insert(), sim::LArVoxelData::insert(), art::PtrVector< T >::insert(), fhicl::ParameterSet::insert_or_replace_(), fhicl::ParameterSet::insert_or_replace_compatible_(), fhicl::detail::is_table(), geo::GeometryCore::IterateROPIDs(), sim::ParticleList::KnownParticle(), evgen::MARLEYHelper::load_full_paths_into_json(), nutools::dbi::Table::LoadFromCSV(), geo::LocalTransformation< TGeoHMatrix >::LocalToWorld(), geo::LocalTransformation< TGeoHMatrix >::LocalToWorldVect(), geo::LocalTransformation< TGeoHMatrix >::LocalTransformation(), art::make_tool(), cluster::BlurredClusteringAlg::MakeKernels(), art::EmptyEvent::makePlugin_(), art::OutputModule::makePlugins_(), art::detail::makeServiceFrom(), rndm::details::PerEventPolicy< SEED >::makeValid(), lar::util::MinMaxCollector< float >::MinMaxCollector(), art::MixFilter< T >::MixFilter(), mf::service::ELdestination::MsgFormatSettings::MsgFormatSettings(), art::detail::mix_offset< cet::map_vector< P > >::offset(), shims::map< Key, T, Compare, Allocator >::iter< Category, TT, Distance, Pointer, Reference >::operator!=(), util::SumSecondFunction< _Key, _Value, _BinaryOperation >::operator()(), art::detail::do_not_call_startEvent< T >::operator()(), lar::util::details::hash< T >::operator()(), geo::part::details::PartitionRangeLowerBoundExtractor< Range >::operator()(), lar::util::GaussianFit< T >::EncodeExtractor< Pred, void >::operator()(), sim::operator*(), sim::LArVoxelList::operator*(), sim::LArVoxelData::operator*(), sim::LArVoxelList::operator*=(), sim::LArVoxelData::operator*=(), sim::LArVoxelList::operator+(), util::details::RangeForWrapperIterator< BeginIter, EndIter >::operator-(), fhicl::detail::yes_defaults::operator<<(), art::PtrVector< T >::operator=(), cluster::details::MultiValue::operator=(), shims::operator==(), lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::operator[](), PyG4ParticleList::p_begin(), PyG4ParticleList::p_end(), evdb::parse_pset_string(), art::pointersEqual(), util::FileCatalogMetadataExtras::postBeginJob(), util::FileCatalogMetadataExtras::postOpenOutputFile(), art::RootInput::postSeekChecks(), fhicl::Tuple< TYPES >::prepare_element_for_validation(), art::PtrVector< T >::PtrVector(), art::PtrVector< T >::push_back(), fhicl::ParameterSet::put(), fhicl::intermediate_table::put(), fhicl::ParameterSetRegistry::put(), fhicl::ParameterSet::put_or_replace(), fhicl::ParameterSet::put_or_replace_compatible(), evdb::ParameterSetEditRow::RadioButtonClicked(), lar::example::details::readROOTobject(), lar_content::SupportVectorMachine::ReadSupportVector(), pmtana::AlgoSiPM::RecoPulse(), pmtana::AlgoSlidingWindow::RecoPulse(), pmtana::AlgoThreshold::RecoPulse(), lar::example::SpacePointIsolationAlg::removeIsolatedPoints(), art::MixFilter< T >::respondToCloseInputFile(), art::MixFilter< T >::respondToCloseOutputFiles(), art::MixFilter< T >::respondToOpenInputFile(), art::MixFilter< T >::respondToOpenOutputFiles(), hit::HitAnaAlg::ROIInfo(), geo::vect::extra::roundValue01(), art::RootInput::seekToEvent(), cluster::HoughTransformCounters< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::set(), geo::BoxBoundedGeo::set_max(), geo::BoxBoundedGeo::set_min(), art::BranchMapper::setDelayedRead(), pma::Track3D::SetEndSegWeight(), evd::InfoTransfer::SetEvtNumber(), pma::Track3D::SetMaxHitsPerSeg(), cmtool::CBAlgoProhibitAllTracks::SetMinEP(), cmtool::CBAlgoStartTrack::SetMinEP(), cmtool::CBAlgoStartTrack::SetMinHits(), cmtool::CBAlgoStartTrack::SetMinOpeningAngle(), cmtool::CBAlgoStartTrack::SetMinWidth(), pma::Element3D::SetOptFactor(), pma::Track3D::SetPenalty(), art::RootOutputFile::setRunAuxiliaryRangeSetID(), evd::InfoTransfer::SetRunNumber(), pma::Hit3D::SetSigmaFactor(), evd::InfoTransfer::SetSubRunNumber(), pma::Track3D::SetTag(), evd::InfoTransfer::SetTestFlag(), recob::dumper::SpacePointPrintOptions_t::SpacePointPrintOptions_t(), art::ValidHandle< T >::swap(), util::TensorIndices< 1U >::TensorIndices(), util::TensorIndices< DIMS >::TensorIndices(), art::detail::throw_if_invalid(), cluster::ClusterMerger::top(), util::PxHitConverter::ToPxHit(), lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::unchecked_set(), cluster::HoughTransformCounters< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::unchecked_set_range(), art::SummedValue< T >::update(), geo::LocalTransformation< TGeoHMatrix >::WorldToLocal(), lar_content::LArMvaHelper::WriteFeaturesToFile(), and geo::details::writeToString().

98 {
99  using ps_atom_t = std::string;
100  std::string const str = boost::any_cast<ps_atom_t>(a);
101  return str == std::string(9, '\0') ? "@nil" : str;
102 }
std::string ps_atom_t
Definition: coding.h:45