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

Field of a table. More...

#include "C16/Field.hpp"

Detailed Description

Field of a table.

Public Types

enum  Collation {
  Collation::BINARY, Collation::CASE, Collation::UMLAUTS, Collation::SPECIAL_CHARACTERS,
  Collation::SOUNDEX_1, Collation::SOUNDEX_2
}
 Collation of a field. More...
 

Public Member Functions

virtual Databasedatabase () const =0
 Gets the database of the field. More...
 
virtual const Tabletable () const =0
 Gets the table of the field. More...
 
virtual const Subrecordsubrecord () const =0
 Gets the subrecord of the field. More...
 
virtual int number () const =0
 Gets the number of the field. More...
 
virtual const std::string & name () const =0
 Gets the name of the field. More...
 
virtual Type type () const =0
 Gets the type of the field. More...
 
virtual int length () const =0
 Gets the length of the field. More...
 
virtual int right_input () const =0
 Gets the right required by a user to input the field. More...
 
virtual int right_output () const =0
 Gets the right required by a user to output the field. More...
 

Member Enumeration Documentation

◆ Collation

enum C16::Field::Collation
strong

Collation of a field.

Enumerator
BINARY 

Binary collation.

CASE 

Case insensitive collation.

UMLAUTS 

Umlaut converting collation.

SPECIAL_CHARACTERS 

Special character converting collation.

SOUNDEX_1 

Soundex 1 collation.

SOUNDEX_2 

Soundex 2 collation.

Member Function Documentation

◆ database()

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

Gets the database of the field.

◆ table()

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

Gets the table of the field.

◆ subrecord()

virtual const Subrecord& C16::Field::subrecord ( ) const
pure virtual

Gets the subrecord of the field.

◆ number()

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

Gets the number of the field.

◆ name()

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

Gets the name of the field.

◆ type()

virtual Type C16::Field::type ( ) const
pure virtual

Gets the type of the field.

◆ length()

virtual int C16::Field::length ( ) const
pure virtual

Gets the length of the field.

◆ right_input()

virtual int C16::Field::right_input ( ) const
pure virtual

Gets the right required by a user to input the field.

◆ right_output()

virtual int C16::Field::right_output ( ) const
pure virtual

Gets the right required by a user to output the field.