aqbanking  5.7.8
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

◆ size_type

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

Definition at line 32 of file stringlist.hpp.

◆ value_type

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

Definition at line 33 of file stringlist.hpp.

◆ wrapped_type

typedef GWEN_STRINGLIST AB::StringList::wrapped_type

Definition at line 31 of file stringlist.hpp.

Constructor & Destructor Documentation

◆ StringList()

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

Member Function Documentation

◆ AB_CXXWRAP_CONSTRUCTOR0()

AB::StringList::AB_CXXWRAP_CONSTRUCTOR0 ( StringList  ,
GWEN_StringList   
)

◆ AB_CXXWRAP_CONSTRUCTORS()

AB::StringList::AB_CXXWRAP_CONSTRUCTORS ( StringList  ,
GWEN_StringList   
)

◆ AB_CXXWRAP_GET0_CONST() [1/2]

size_type AB::StringList::AB_CXXWRAP_GET0_CONST ( size  ,
GWEN_StringList_Count   
)

◆ AB_CXXWRAP_GET0_CONST() [2/2]

std::string AB::StringList::AB_CXXWRAP_GET0_CONST ( front  ,
GWEN_StringList_FirstString   
)

◆ AB_CXXWRAP_GET1_CONST()

std::string AB::StringList::AB_CXXWRAP_GET1_CONST ( at  ,
size_type  ,
GWEN_StringList_StringAt   
)

◆ AB_CXXWRAP_SET0()

AB::StringList::AB_CXXWRAP_SET0 ( clear  ,
GWEN_StringList_Clear   
)

◆ empty()

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

Definition at line 45 of file stringlist.hpp.

References AB_CXXWRAP_GET0_CONST, and AB_CXXWRAP_GET1_CONST.

◆ operator[]()

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

Definition at line 48 of file stringlist.hpp.

◆ push_back()

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

Definition at line 49 of file stringlist.hpp.

◆ push_front()

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

Definition at line 53 of file stringlist.hpp.

◆ toVector()

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

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