CONZEPT 16 C++ API
C16::Link Class Referenceabstract

Link of a table. More...

#include "C16/Link.hpp"

Detailed Description

Link of a table.

Classes

class  Field
 Field of a link. More...
 

Public Member Functions

virtual Databasedatabase () const =0
 Gets the database of the link. More...
 
virtual const Tabletable () const =0
 Gets the table of the link. More...
 
virtual int number () const =0
 Gets the number of the link. More...
 
virtual const std::string & name () const =0
 Gets the name of the link. More...
 
virtual const Tabledestination_table () const =0
 Gets the destination table of the link. More...
 
virtual const Keydestination_key () const =0
 Gets destination key of the link. More...
 
virtual const Series< Field > & fields () const =0
 Gets the fields of the link. More...
 

Member Function Documentation

◆ database()

virtual Database& C16::Link::database ( ) const
pure virtual

Gets the database of the link.

◆ table()

virtual const Table& C16::Link::table ( ) const
pure virtual

Gets the table of the link.

◆ number()

virtual int C16::Link::number ( ) const
pure virtual

Gets the number of the link.

◆ name()

virtual const std::string& C16::Link::name ( ) const
pure virtual

Gets the name of the link.

◆ destination_table()

virtual const Table& C16::Link::destination_table ( ) const
pure virtual

Gets the destination table of the link.

◆ destination_key()

virtual const Key& C16::Link::destination_key ( ) const
pure virtual

Gets destination key of the link.

◆ fields()

virtual const Series<Field>& C16::Link::fields ( ) const
pure virtual

Gets the fields of the link.

Returns
Series of fields of the link
Examples
#include "C16/Library.hpp"
using namespace C16;
void link_fields_iterate(const Link& link)
{
// const-Iteration
for (const Link::Field& field : link.fields())
{
...
}
}
Library.hpp
CONZEPT 16 C++ API.
C16
Namespace.
Definition: Array.hpp:6