StormByte C++ Library: Database module 0.0.9999
StormByte-Database is a StormByte library module for handling database connections
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::Database::Rows Class Reference

Rows class for databases. More...

#include <rows.hxx>

Inheritance diagram for StormByte::Database::Rows:
Inheritance graph
[legend]
Collaboration diagram for StormByte::Database::Rows:
Collaboration graph
[legend]

Public Member Functions

 Rows () noexcept=default
 Adds a row to the Rows.
 
 Rows (const Rows &other)=default
 Copy Constructor.
 
 Rows (Rows &&other) noexcept=default
 Move Constructor.
 
 ~Rows () noexcept override=default
 Destructor.
 
Rowsoperator= (const Rows &other)=default
 Copy Assignment Operator.
 
Rowsoperator= (Rows &&other) noexcept=default
 Move Assignment Operator.
 
std::size_t Count () const noexcept
 Gets the number of rows.
 

Detailed Description

Rows class for databases.

Constructor & Destructor Documentation

◆ Rows() [1/3]

StormByte::Database::Rows::Rows ( )
defaultnoexcept

Adds a row to the Rows.

Parameters
rowRow to add

◆ Rows() [2/3]

StormByte::Database::Rows::Rows ( const Rows other)
default

Copy Constructor.

Parameters
otherOther Rows to copy from

◆ Rows() [3/3]

StormByte::Database::Rows::Rows ( Rows &&  other)
defaultnoexcept

Move Constructor.

Parameters
otherOther Rows to move from

Member Function Documentation

◆ Count()

std::size_t StormByte::Database::Rows::Count ( ) const
inlinenoexcept

Gets the number of rows.

Returns
Number of rows

◆ operator=() [1/2]

Rows & StormByte::Database::Rows::operator= ( const Rows other)
default

Copy Assignment Operator.

Parameters
otherOther Rows to copy from
Returns
Reference to this Rows

◆ operator=() [2/2]

Rows & StormByte::Database::Rows::operator= ( Rows &&  other)
defaultnoexcept

Move Assignment Operator.

Parameters
otherOther Rows to move from
Returns
Reference to this Rows

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