aqbanking  5.1.0beta
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

 AB_CXXWRAP_CONSTRUCTOR0 (StringList, GWEN_StringList)
 
 AB_CXXWRAP_CONSTRUCTORS (StringList, GWEN_StringList)
 
 StringList (const std::vector< std::string > &other)
 
 AB_CXXWRAP_SET0 (clear, GWEN_StringList_Clear)
 
size_type AB_CXXWRAP_GET0_CONST (size, GWEN_StringList_Count)
 
bool empty () const
 
std::string AB_CXXWRAP_GET0_CONST (front, GWEN_StringList_FirstString)
 
std::string AB_CXXWRAP_GET1_CONST (at, size_type, GWEN_StringList_StringAt)
 
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 ( const std::vector< std::string > &  other)

Member Function Documentation

AB::StringList::AB_CXXWRAP_CONSTRUCTOR0 ( StringList  ,
GWEN_StringList   
)
AB::StringList::AB_CXXWRAP_CONSTRUCTORS ( StringList  ,
GWEN_StringList   
)
size_type AB::StringList::AB_CXXWRAP_GET0_CONST ( size  ,
GWEN_StringList_Count   
)
std::string AB::StringList::AB_CXXWRAP_GET0_CONST ( front  ,
GWEN_StringList_FirstString   
)
std::string AB::StringList::AB_CXXWRAP_GET1_CONST ( at  ,
size_type  ,
GWEN_StringList_StringAt   
)
AB::StringList::AB_CXXWRAP_SET0 ( clear  ,
GWEN_StringList_Clear   
)
bool AB::StringList::empty ( ) const
inline

Definition at line 45 of file stringlist.hpp.

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

Definition at line 48 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.

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

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