23 typedef std::map<std::string, std::vector<FWRepresentationInfo> >
TypeToReps;
72 it->second.push_back(info);
81 for(std::vector<std::shared_ptr<FWRepresentationCheckerBase> >::const_iterator it =iOther.
m_checkers.begin(),
92 const std::vector<FWRepresentationInfo>&
95 TypeToReps::const_iterator itFound =
m_typeToReps.find(iTypeName);
97 std::vector<FWRepresentationInfo> reps;
99 for(std::vector<std::shared_ptr<FWRepresentationCheckerBase> >::const_iterator it =
m_checkers.begin(),
106 reps.push_back(info);
113 return itFound->second;
std::vector< std::shared_ptr< FWRepresentationCheckerBase > > m_checkers
virtual ~FWTypeToRepresentations()
const std::vector< FWRepresentationInfo > & representationsForType(const std::string &iTypeName) const
void insert(const FWTypeToRepresentations &)
void add(std::shared_ptr< FWRepresentationCheckerBase > iChecker)
std::map< std::string, std::vector< FWRepresentationInfo > > TypeToReps
std::map< std::string, std::vector< FWRepresentationInfo > > m_typeToReps
FWTypeToRepresentations()