ScoutingInfo Class Reference

List of all members.

Public Member Functions

void add (CLID clid, std::string name)
 add a new element to m_clidName
void add (std::pair< CLID, std::string > clid_Name)
 add a new element to m_clidName
void add (const std::vector< std::pair< CLID, std::string > > &clid_Name)
 add elements in the vector passed into m_clidName
void add (const std::set< std::pair< CLID, std::string > > &clid_Name)
 add elements in the set passed into m_clidName
void get (std::set< std::pair< CLID, std::string > > &clid_Name) const
 gets back all elements in m_clidName (fills up clid_Name vector given by reference)
const std::set< std::pair
< CLID, std::string > > & 
get () const
 gets back all <CLID, CollectionName> added
void getclid (std::vector< CLID > &clid) const
 gets back all CLIDs in m_clidName (fills up clid vector given by reference)
void getName (std::vector< std::string > &name) const
 gets back all CollectionNames in m_clidName (fills up name vector given by reference)
void clear ()
 clears the vector of <CLID, CollectionName>
void merge (const ScoutingInfo &sI)
 merges two ScoutingInfo objects I.e. it the subject of the method invocation will have a vector of pairs of CLID and CollectionName which is union of the two

Member Function Documentation

void ScoutingInfo::add ( const std::set< std::pair< CLID, std::string > > &  clid_Name  ) 

add elements in the set passed into m_clidName

void ScoutingInfo::add ( const std::vector< std::pair< CLID, std::string > > &  clid_Name  ) 

add elements in the vector passed into m_clidName

void ScoutingInfo::add ( std::pair< CLID, std::string >  clid_Name  ) 

add a new element to m_clidName

void ScoutingInfo::add ( CLID  clid,
std::string  name 
)

add a new element to m_clidName

void ScoutingInfo::clear (  ) 

clears the vector of <CLID, CollectionName>

const std::set< std::pair< CLID, std::string > > & ScoutingInfo::get (  )  const

gets back all <CLID, CollectionName> added

void ScoutingInfo::get ( std::set< std::pair< CLID, std::string > > &  clid_Name  )  const

gets back all elements in m_clidName (fills up clid_Name vector given by reference)

Warning:
note that vector is not cleared
void ScoutingInfo::getclid ( std::vector< CLID > &  clid  )  const

gets back all CLIDs in m_clidName (fills up clid vector given by reference)

Warning:
note that vector is not cleared
void ScoutingInfo::getName ( std::vector< std::string > &  name  )  const

gets back all CollectionNames in m_clidName (fills up name vector given by reference)

Warning:
note that vector is not cleared

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1