Links of a database.
More...
#include "C16/Links.hpp"
|
virtual Database & | database () const =0 |
| Gets the database of the links. More...
|
|
virtual const Link & | get (int table_number, int number) const =0 |
| Gets a link by means of the number of the table and the number of the link. More...
|
|
virtual const Link & | get (const std::string &name) const =0 |
| Gets a link by means of its name. More...
|
|
virtual const Link & | get (int table_number, const std::string &name) const =0 |
| Gets a link by means of the number of the table and the name of the link. More...
|
|
virtual const Link * | get_if_existent (int table_number, int number) const =0 |
| Gets a link by means of the number of the table and the number of the link, if existent. More...
|
|
virtual const Link * | get_if_existent (const std::string &name) const =0 |
| Gets a link by means of its name, if existent. More...
|
|
virtual const Link * | get_if_existent (int table_number, const std::string &name) const =0 |
| Gets a link by means of the number of the table and the name of the link, if existent. More...
|
|
◆ database()
virtual Database& C16::Links::database |
( |
| ) |
const |
|
pure virtual |
◆ get() [1/3]
virtual const Link& C16::Links::get |
( |
int |
table_number, |
|
|
int |
number |
|
) |
| const |
|
pure virtual |
Gets a link by means of the number of the table and the number of the link.
- Parameters
-
table_number | Number of the table |
number | Number of the link |
- Exceptions
-
◆ get() [2/3]
virtual const Link& C16::Links::get |
( |
const std::string & |
name | ) |
const |
|
pure virtual |
Gets a link by means of its name.
- Parameters
-
name | Name of the link (case insensitive) |
- Exceptions
-
◆ get() [3/3]
virtual const Link& C16::Links::get |
( |
int |
table_number, |
|
|
const std::string & |
name |
|
) |
| const |
|
pure virtual |
Gets a link by means of the number of the table and the name of the link.
- Parameters
-
table_number | Number of the table |
name | Name of the link (case insensitive) |
- Exceptions
-
◆ get_if_existent() [1/3]
virtual const Link* C16::Links::get_if_existent |
( |
int |
table_number, |
|
|
int |
number |
|
) |
| const |
|
pure virtual |
Gets a link by means of the number of the table and the number of the link, if existent.
- Parameters
-
table_number | Number of the table |
number | Number of the link |
- Return values
-
!= nullptr | Pointer to the link. |
nullptr | Link inexistent. |
◆ get_if_existent() [2/3]
virtual const Link* C16::Links::get_if_existent |
( |
const std::string & |
name | ) |
const |
|
pure virtual |
Gets a link by means of its name, if existent.
- Parameters
-
name | Name of the link (case insensitive) |
- Return values
-
!= nullptr | Pointer to the link. |
nullptr | Link inexistent. |
◆ get_if_existent() [3/3]
virtual const Link* C16::Links::get_if_existent |
( |
int |
table_number, |
|
|
const std::string & |
name |
|
) |
| const |
|
pure virtual |
Gets a link by means of the number of the table and the name of the link, if existent.
- Parameters
-
table_number | Number of the table |
name | Name of the link (case insensitive) |
- Return values
-
!= nullptr | Pointer to the link. |
nullptr | Link inexistent. |