wxSQLite3 4.9.12
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
wxSQLite3IntegerCollection Class Reference

Represents a named integer value collection. More...

#include <wxsqlite3.h>

Inheritance diagram for wxSQLite3IntegerCollection:
wxSQLite3NamedCollection

Public Member Functions

 wxSQLite3IntegerCollection ()
 Default constructor.
 
 wxSQLite3IntegerCollection (const wxSQLite3IntegerCollection &collection)
 Copy constructor.
 
wxSQLite3IntegerCollectionoperator= (const wxSQLite3IntegerCollection &collection)
 Assignment constructor.
 
virtual ~wxSQLite3IntegerCollection ()
 Destructor.
 
void Bind (const wxArrayInt &integerCollection)
 Bind a new array of integer values.
 
void Bind (int n, int *integerCollection)
 Bind a new array of integer values.
 
- Public Member Functions inherited from wxSQLite3NamedCollection
 wxSQLite3NamedCollection (const wxSQLite3NamedCollection &collection)
 Copy constructor.
 
wxSQLite3NamedCollectionoperator= (const wxSQLite3NamedCollection &collection)
 Assignment constructor.
 
virtual ~wxSQLite3NamedCollection ()
 Destructor.
 
const wxString & GetName () const
 Get the name of the collection.
 
bool IsOk () const
 Gets state of the collection.
 
 operator bool () const
 Gets state of the collection (same as IsOk() method)
 

Protected Member Functions

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

Friends

class wxSQLite3Database
 

Additional Inherited Members

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

Detailed Description

Represents a named integer value collection.

Constructor & Destructor Documentation

◆ wxSQLite3IntegerCollection() [1/3]

wxSQLite3IntegerCollection::wxSQLite3IntegerCollection ( )
inline

Default constructor.

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

◆ wxSQLite3IntegerCollection() [2/3]

wxSQLite3IntegerCollection::wxSQLite3IntegerCollection ( const wxSQLite3IntegerCollection & collection)

Copy constructor.

◆ ~wxSQLite3IntegerCollection()

wxSQLite3IntegerCollection::~wxSQLite3IntegerCollection ( )
virtual

Destructor.

◆ wxSQLite3IntegerCollection() [3/3]

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

Constructor (internal use only)

Member Function Documentation

◆ Bind() [1/2]

void wxSQLite3IntegerCollection::Bind ( const wxArrayInt & integerCollection)

Bind a new array of integer values.

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

Parameters
integerCollectionarray 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.

◆ Bind() [2/2]

void wxSQLite3IntegerCollection::Bind ( int n,
int * integerCollection )

Bind a new array of integer values.

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

Parameters
nnumber of elements in the array
integerCollectionarray 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=()

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

Assignment constructor.

Friends And Related Symbol Documentation

◆ wxSQLite3Database

friend class wxSQLite3Database
friend

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