1 #ifndef _PFC_STRING_LIST_H_ 2 #define _PFC_STRING_LIST_H_ 28 template<
typename t_what>
void _append(
const t_what & p_source) {
29 const t_size toadd = p_source.get_size(), base =
m_data.get_size();
30 m_data.set_size(base+toadd);
31 for(
t_size n=0;n<toadd;n++)
m_data[base+n] = p_source[n];
34 template<
typename t_what>
void _copy(
const t_what & p_source) {
35 const t_size newcount = p_source.get_size();
44 #endif //_PFC_STRING_LIST_H_ pfc::array_t< pfc::string8, pfc::alloc_fast > m_data
void add_items(const t_what &p_source)
void add_item(const char *p_string)
t_size append_t(t_array &p_array, const T &p_item)
list_base_const_t< const char * > string_list_const
void get_item_ex(const char *&p_out, t_size n) const
void _copy(const t_what &p_source)
const char * operator[](t_size n) const
string_list_impl & operator+=(const t_what &p_source)
string_list_impl & operator|=(const string_list_impl &p_source)
string_list_impl(const t_what &p_source)
string_list_impl & operator=(const t_what &p_source)
void _append(const t_what &p_source)