Lines Matching full:container
47 template <typename SpecificAttr, typename Container = AttrVec>
49 typedef typename Container::const_iterator Iterator;
114 template <typename SpecificAttr, typename Container>
115 inline specific_attr_iterator<SpecificAttr, Container>
116 specific_attr_begin(const Container& container) { in specific_attr_begin() argument
117 return specific_attr_iterator<SpecificAttr, Container>(container.begin()); in specific_attr_begin()
119 template <typename SpecificAttr, typename Container>
120 inline specific_attr_iterator<SpecificAttr, Container>
121 specific_attr_end(const Container& container) { in specific_attr_end() argument
122 return specific_attr_iterator<SpecificAttr, Container>(container.end()); in specific_attr_end()
125 template <typename SpecificAttr, typename Container>
126 inline bool hasSpecificAttr(const Container& container) { in hasSpecificAttr() argument
127 return specific_attr_begin<SpecificAttr>(container) != in hasSpecificAttr()
128 specific_attr_end<SpecificAttr>(container); in hasSpecificAttr()
130 template <typename SpecificAttr, typename Container>
131 inline SpecificAttr *getSpecificAttr(const Container& container) { in getSpecificAttr() argument
132 specific_attr_iterator<SpecificAttr, Container> i = in getSpecificAttr()
133 specific_attr_begin<SpecificAttr>(container); in getSpecificAttr()
134 if (i != specific_attr_end<SpecificAttr>(container)) in getSpecificAttr()