Public Types | Public Member Functions

AB::StringList Class Reference

#include <stringlist.hpp>

Public Types

typedef GWEN_STRINGLIST wrapped_type
typedef std::size_t size_type
typedef std::string value_type

Public Member Functions

 StringList ()
 ~StringList ()
 StringList (const wrapped_type *other)
 StringList (const StringList &other)
StringListoperator= (const StringList &other)
 operator const wrapped_type * () const
 operator wrapped_type * ()
const wrapped_typeptr () const
wrapped_typeptr ()
 StringList (const std::vector< std::string > &other)
void clear ()
size_type size () const
bool empty () const
std::string front () const
std::string at (size_type arg1) const
std::string operator[] (size_type i) const
void push_back (const std::string &s)
void push_front (const std::string &s)
std::vector< std::string > toVector () const

Detailed Description

A wrapper class around the GWEN_STRINGLIST type

Definition at line 28 of file stringlist.hpp.


Member Typedef Documentation

typedef std::size_t AB::StringList::size_type

Definition at line 32 of file stringlist.hpp.

typedef std::string AB::StringList::value_type

Definition at line 33 of file stringlist.hpp.

typedef GWEN_STRINGLIST AB::StringList::wrapped_type

Definition at line 31 of file stringlist.hpp.


Constructor & Destructor Documentation

AB::StringList::StringList (  )  [inline]

Definition at line 39 of file stringlist.hpp.

AB::StringList::~StringList (  )  [inline]

Definition at line 40 of file stringlist.hpp.

AB::StringList::StringList ( const wrapped_type other  )  [inline]

Definition at line 40 of file stringlist.hpp.

AB::StringList::StringList ( const StringList other  )  [inline]

Definition at line 40 of file stringlist.hpp.

AB::StringList::StringList ( const std::vector< std::string > &  other  ) 

Member Function Documentation

std::string AB::StringList::at ( size_type  arg1  )  const [inline]

Definition at line 47 of file stringlist.hpp.

void AB::StringList::clear (  )  [inline]

Definition at line 43 of file stringlist.hpp.

bool AB::StringList::empty (  )  const [inline]

Definition at line 45 of file stringlist.hpp.

std::string AB::StringList::front (  )  const [inline]

Definition at line 46 of file stringlist.hpp.

AB::StringList::operator const wrapped_type * (  )  const [inline]

Definition at line 40 of file stringlist.hpp.

AB::StringList::operator wrapped_type * (  )  [inline]

Definition at line 40 of file stringlist.hpp.

StringList& AB::StringList::operator= ( const StringList other  )  [inline]

Definition at line 40 of file stringlist.hpp.

std::string AB::StringList::operator[] ( size_type  i  )  const [inline]

Definition at line 48 of file stringlist.hpp.

const wrapped_type* AB::StringList::ptr (  )  const [inline]

Definition at line 40 of file stringlist.hpp.

wrapped_type* AB::StringList::ptr (  )  [inline]

Definition at line 40 of file stringlist.hpp.

void AB::StringList::push_back ( const std::string &  s  )  [inline]

Definition at line 49 of file stringlist.hpp.

void AB::StringList::push_front ( const std::string &  s  )  [inline]

Definition at line 53 of file stringlist.hpp.

size_type AB::StringList::size (  )  const [inline]

Definition at line 44 of file stringlist.hpp.

std::vector<std::string> AB::StringList::toVector (  )  const

The documentation for this class was generated from the following file: