wxSQLite3  4.4.6
Public Member Functions | Protected Member Functions | Friends | List of all members
wxSQLite3StringCollection Class Reference

Represents a named string value collection. More...

#include <wxsqlite3.h>

Inheritance diagram for wxSQLite3StringCollection:
wxSQLite3NamedCollection

Public Member Functions

 wxSQLite3StringCollection ()
 Default constructor. More...
 
 wxSQLite3StringCollection (const wxSQLite3StringCollection &collection)
 Copy constructor. More...
 
wxSQLite3StringCollectionoperator= (const wxSQLite3StringCollection &collection)
 Assignment constructor. More...
 
virtual ~wxSQLite3StringCollection ()
 Destructor. More...
 
void Bind (const wxArrayString &stringCollection)
 Bind a new array of integer values. More...
 
- Public Member Functions inherited from wxSQLite3NamedCollection
 wxSQLite3NamedCollection (const wxSQLite3NamedCollection &collection)
 Copy constructor. More...
 
wxSQLite3NamedCollectionoperator= (const wxSQLite3NamedCollection &collection)
 Assignment constructor. More...
 
virtual ~wxSQLite3NamedCollection ()
 Destructor. More...
 
const wxString & GetName () const
 Get the name of the collection. More...
 
bool IsOk () const
 Gets state of the collection. More...
 
 operator bool () const
 Gets state of the collection (same as IsOk() method) More...
 

Protected Member Functions

 wxSQLite3StringCollection (const wxString &collectionName, void *collectionData)
 Constructor (internal use only) More...
 
- Protected Member Functions inherited from wxSQLite3NamedCollection
 wxSQLite3NamedCollection (const wxString &collectionName, void *collectionData)
 Constructor (internal use only) More...
 
 wxSQLite3NamedCollection ()
 Default constructor. More...
 

Friends

class wxSQLite3Database
 

Additional Inherited Members

- Protected Attributes inherited from wxSQLite3NamedCollection
wxString m_name
 Name of the collection. More...
 
void * m_data
 Reference to the actual array of values representing the collection. More...
 

Detailed Description

Represents a named string value collection.

Constructor & Destructor Documentation

◆ wxSQLite3StringCollection() [1/3]

wxSQLite3StringCollection::wxSQLite3StringCollection ( )
inline

Default constructor.

Creates completely empty collection instance that must be set by assignment, be careful

◆ wxSQLite3StringCollection() [2/3]

wxSQLite3StringCollection::wxSQLite3StringCollection ( const wxSQLite3StringCollection collection)

Copy constructor.

◆ ~wxSQLite3StringCollection()

wxSQLite3StringCollection::~wxSQLite3StringCollection ( )
virtual

Destructor.

◆ wxSQLite3StringCollection() [3/3]

wxSQLite3StringCollection::wxSQLite3StringCollection ( const wxString &  collectionName,
void *  collectionData 
)
protected

Constructor (internal use only)

Member Function Documentation

◆ Bind()

void wxSQLite3StringCollection::Bind ( const wxArrayString &  stringCollection)

Bind a new array of integer values.

Bind a new array of integer values to this named collection object.

Parameters
stringCollectionarray of integer values to be bound
Note
Binding values to a named collection after closing the corresponding database results in undefined behavior, i.e. the application is likely to crash.

◆ operator=()

wxSQLite3StringCollection & wxSQLite3StringCollection::operator= ( const wxSQLite3StringCollection collection)

Assignment constructor.

Friends And Related Function Documentation

◆ wxSQLite3Database

friend class wxSQLite3Database
friend

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