1#ifndef OPAL_PlaceRep_HH
2#define OPAL_PlaceRep_HH
51 explicit PlaceRep(
const std::string &);
58 void append(
const std::string &,
int occur);
83 void print(std::ostream &os)
const;
87 typedef std::vector<std::pair<std::string, int> >
Data;
97 mutable Data::size_type
seen;
std::ostream & operator<<(std::ostream &os, const PlaceRep &data)
Representation of a place within a beam line or sequence.
bool isActive() const
Return status.
void print(std::ostream &os) const
Print in input format.
std::vector< std::pair< std::string, int > > Data
void initialize()
Initialise data for search.
PlaceRep()
Default constructor.
void enter(const FlaggedElmPtr &) const
Enter an element or line.
bool isSelected() const
Return select flag.
void append(const std::string &, int occur)
Add a name/occurrence pair.
const PlaceRep & operator=(const PlaceRep &)
void leave(const FlaggedElmPtr &) const
Leave an element or line.
A section of a beam line.