14 #ifndef AB_STRINGLIST_HPP 15 #define AB_STRINGLIST_HPP 17 #include <gwenhywfar/stringlist.h> 41 StringList(
const std::vector<std::string>& other);
45 bool empty()
const {
return size() == 0; }
48 std::string
operator[](size_type i)
const {
return at(i); }
51 GWEN_StringList_AppendString(m_ptr, s.c_str(),
false,
false);
55 GWEN_StringList_InsertString(m_ptr, s.c_str(),
false,
false);
57 std::vector<std::string> toVector()
const;
63 #endif // AB_STRINGLIST_HPP
#define AB_CXXWRAP_GET1_CONST(cxxname, type1, cname)
void push_back(const std::string &s)
#define AB_CXXWRAP_SET0(cxxname, cname)
GWEN_STRINGLIST wrapped_type
std::string operator[](size_type i) const
#define AB_CXXWRAP_CONSTRUCTORS(cxxname, cprefix)
#define AB_CXXWRAP_CONSTRUCTOR0(cxxname, cprefix)
void push_front(const std::string &s)
#define AB_CXXWRAP_GET0_CONST(cxxname, cname)