CONZEPT 16 C++ API
Library.hpp File Reference

CONZEPT 16 C++ API. More...

#include "Exception.hpp"
#include "Flags.hpp"
#include "Place.hpp"
#include "Locking.hpp"
#include "Type.hpp"
#include "Value/Native.hpp"
#include "Value/Decimal.hpp"
#include "Value/Date.hpp"
#include "Value/Time.hpp"
#include "Value/Moment.hpp"
#include "Variant.hpp"
#include "Array.hpp"
#include "Series.hpp"
#include "Server.hpp"
#include "Database.hpp"
#include "Tables.hpp"
#include "Table.hpp"
#include "Subrecords.hpp"
#include "Subrecord.hpp"
#include "Fields.hpp"
#include "Field.hpp"
#include "Keys.hpp"
#include "Key.hpp"
#include "Links.hpp"
#include "Link.hpp"
#include "Users.hpp"
#include "User.hpp"
#include "Transactions.hpp"
#include "Transaction.hpp"
#include "Records.hpp"
#include "RecordsKey.hpp"
#include "RecordsLink.hpp"
#include "Record.hpp"
#include "Texts.hpp"
#include "Text.hpp"
#include "Procedures.hpp"
#include "Procedure.hpp"
#include "Filesystem.hpp"

Detailed Description

CONZEPT 16 C++ API.

This header contains all members of the CONZEPT 16 C++ API that can be used by applications (programming interface) and extensions (library interface).

C16::Key::Field::collation
virtual C16::Field::Collation collation() const =0
Gets the collation of the field.
C16::Text::unload
void unload()
Unloads the loaded text.
C16::Procedure::Compilation::Error::INVALID_NAME
@ INVALID_NAME
Invalid name.
C16::Procedure::Execution::Exception::Exception
Exception(Error error)
Constructs an exception of the execution of a procedure.
C16::Database::~Database
~Database()
Disconnects from and destructs the database.
C16::Procedure::Compilation::Error::LINE_TOO_LONG
@ LINE_TOO_LONG
Line too long.
C16::Procedure::Execution::Error::PROCEDURE_CODE_INEXISTENT
@ PROCEDURE_CODE_INEXISTENT
Procedure code inexistent.
C16::Procedure::Compilation::Error::WRONG_OPERAND_TYPE
@ WRONG_OPERAND_TYPE
Wrong operand type.
C16::Record::lock
Result lock(Locking locking=Locking::LOCK_EXCLUSIVE)
Applies a locking to the loaded record.
C16::Field::Collation::SOUNDEX_1
@ SOUNDEX_1
Soundex 1 collation.
C16::Value::Date::YEAR_EPOCH
static const int YEAR_EPOCH
Epoch year of dates.
Definition: Date.hpp:20
C16::Filesystem::Error
Error
Error of a filesystem.
Definition: Filesystem.hpp:17
C16::Database::Connection::Error::DATABASE_LOCKED_BY_SERVICE
@ DATABASE_LOCKED_BY_SERVICE
Database locked by service.
C16::Result::LOCKED
@ LOCKED
Entity locked.
C16::Procedure::Compilation::Error::NAME_TOO_LONG
@ NAME_TOO_LONG
Name too long.
C16::Record::FieldGeneric::record
const Record & record() const override
Gets the record buffer of the field buffer.
C16::Record::read_position_key
Result read_position_key(int key_number, long int position, Locking locking=Locking::NONE, bool reverse=false)
Reads a record by means of its position dependent on a key into the record buffer.
C16::Array::IteratorConst::operator+
IteratorConst operator+(difference_type offset) const
Gets an incremented iterator.
C16::Binary::unload
virtual void unload()=0
Unloads the loaded binary.
C16::BinaryObject::content_export_to_file
Result content_export_to_file(const std::string &file_path, const std::string &cipher_key=std::string()) const
Exports the content of the loaded binary object to a file.
C16::Value::Date::operator<
bool operator<(const Date &other) const
Gets if the date is earlier than another date.
C16::Procedure::Compilation::Result::procedure_name
std::string procedure_name
Name of the procedure that caused the error.
Definition: Procedure.hpp:678
C16::Value::Int
std::int32_t Int
Integer number (signed, 32 bits).
Definition: Native.hpp:24
C16::BinaryObject::compression
Compression compression() const
Gets the compression of the loaded binary object.
C16::Binary
Generic binary buffer to operate on binaries.
Definition: Binary.hpp:25
C16::BinaryObject::type_set
void type_set(const std::string &type)
Sets the type of the loaded binary object.
C16::RecordsSelection::count
long int count() const override
Gets the count of records of the record set.
C16::Procedure::Compilation::Error::MISSING_THEN
@ MISSING_THEN
Missing THEN.
C16::Value::Float
double Float
Floating point number (64 bits).
Definition: Native.hpp:28
C16::BinaryDirectory::BinaryDirectory
BinaryDirectory()
Constructs a binary directory buffer.
C16::Database::subrecords
const Subrecords & subrecords() const
Gets the subrecords of the database.
C16::Text::StreamBufferInput::dissociate
void dissociate() override
Dissociates an associated text buffer from the input stream buffer.
C16::Field::subrecord
virtual const Subrecord & subrecord() const =0
Gets the subrecord of the field.
C16::Key::Field
Field of a key.
Definition: Key.hpp:174
C16::User::last_request_time
const Value::Time & last_request_time() const
Gets the time of the last request of the loaded user to the database.
C16::Series
Series of elements.
Definition: Series.hpp:29
C16::BinaryDirectory::erase_directory
Result erase_directory(const std::string &path) const
Deletes a binary directory within the loaded binary directory.
C16::Transaction::level
int level() const
Gets the level of the transaction.
C16::Database::Diagnosis::Option::EXTENDED
@ EXTENDED
Option to perform an extended diagnosis.
C16::Binary::name
const std::string & name() const
Gets the name of the loaded binary.
C16::Binary::rename
virtual Result rename(const std::string &name)
Renames the loaded binary.
C16::Array::IteratorConst::operator->
pointer operator->() const
Gets the element of the iterator.
C16::Subrecords
Subrecords of a database.
Definition: Subrecords.hpp:14
C16::Binary::database
const Database * database() const
Gets the database of the loaded binary.
C16::Field::type
virtual Type type() const =0
Gets the type of the field.
C16::Procedure::Execution::argument_add_value
void argument_add_value(const Value::Alpha &argument)
Adds a single argument to the execution which is passed by value.
C16::User::last_request_date
const Value::Date & last_request_date() const
Gets the date of the last request of the loaded user to the database.
C16::Fields
Fields of a database.
Definition: Fields.hpp:13
C16::Value::Moment::Moment
Moment()
Constructs an empty moment.
C16::Result::MULTI_KEY
@ MULTI_KEY
Operation succeeded (Non-unique key).
C16::Record::loaded
bool loaded() const
Gets if a record is loaded into the record buffer.
C16::Array::IteratorConst::IteratorConst
IteratorConst()
Constructs an invalid iterator.
C16::Variant::value_decimal_const
const Value::Decimal & value_decimal_const() const
Short name alias for value<Value::Decimal>() const.
C16::Database::Connection::Error
Error
Error of the connection to a database.
Definition: Database.hpp:54
C16::Tables::get
virtual const Table & get(int number) const =0
Gets a table by means of its number.
C16::Value::Moment::centiseconds
int centiseconds() const
Gets the centiseconds of the moment since the last second.
C16::Text::StreamOutput::text
Text * text()
Gets the text buffer associated with the stream, if associated.
C16::Key::fields
virtual const Series< Field > & fields() const =0
Gets the fields of the key.
C16::Result::NO_LOCK
@ NO_LOCK
Entity not locked.
C16::Value::Time::operator==
bool operator==(const Time &other) const
Gets if the time is equal to another time.
C16::Procedure::Compilation::Error::WRONG_ARGUMENT_TYPE
@ WRONG_ARGUMENT_TYPE
Wrong argument type.
C16::Binary::Exception::error
Error error() const
Gets the error of the operation on a binary.
C16::Procedure::Compilation::Error::UNKNOWN_WORD
@ UNKNOWN_WORD
Unknown word.
C16::Type::INT
@ INT
Value::Int.
C16::Text::created_user
const std::string & created_user() const
Gets the user who created the loaded text.
C16::Variant::value_logic_const
const Value::Logic & value_logic_const() const
Short name alias for value<Value::Logic>() const.
C16::Selection::modified_time
const Value::Time & modified_time() const
Gets the time of the last modification of the loaded selection.
C16::Record::unload
void unload()
Unloads the loaded record.
C16::Text::StreamBufferOutput
Output stream buffer for writing texts.
Definition: Text.hpp:711
C16::Selection::table
const Table & table() const
Gets the table of the selection buffer.
C16::Variant::Alternative::ARRAY_FLOAT
@ ARRAY_FLOAT
Variant holds an Array<Value::Float>.
C16::Record::test_key
Result test_key(int key_number, bool reverse=false) const
Tests the existence of a record by means of a key.
C16::Binary::CUSTOM_LENGTH_LIMIT
static const int CUSTOM_LENGTH_LIMIT
Custom property length limit.
Definition: Binary.hpp:40
C16::Key::Field::field
virtual const C16::Field & field() const =0
Gets the field of the table of the field.
C16::Records
Generic record set.
Definition: Records.hpp:43
C16::Value::Moment::now
static Moment now()
Gets the current moment (UTC) of the system.
C16::Procedure::Compilation::Error::MISSING_OPERAND
@ MISSING_OPERAND
Missing operand.
C16::Value::Date::week_year
int week_year() const
Gets the year of the week (according to ISO 8601) of the date.
C16::Database::size
long int size() const
Gets the size of the database in units of kilobytes.
C16::Text::LineBreak::LF
@ LF
Line feed (ASCII: 10, 0xA)
C16::Table::keys
virtual const Series< Key > & keys() const =0
Gets the keys of the table.
C16::Tables::IteratorConst::operator->
pointer operator->() const
Gets the element of the iterator.
C16::Table::subordinated
virtual bool subordinated() const =0
Gets if the table is subordinated.
C16::BinaryDirectory
Binary directory buffer to operate on binary directories.
Definition: Binary.hpp:472
C16::Exception::Inaccessibility::Inaccessibility
Inaccessibility(const std::string &what)
Constructs an exception.
C16::Text::name
const std::string & name() const
Gets the name of the loaded text.
C16::BinaryObject
Binary object buffer to operate on binary objects.
Definition: Binary.hpp:575
C16::Transaction::~Transaction
~Transaction()
Aborts and destructs the transaction.
C16::Variant::array_time
const Array< Value::Time > & array_time() const
Short name alias for array<Value::Time>() const.
C16::Key::Field::reverse
virtual bool reverse() const =0
Gets if the field is treated in reverse order.
C16::Procedure::Execution::Error::PROCEDURE_INEXISTENT
@ PROCEDURE_INEXISTENT
Procedure inexistent.
C16::Texts::rename
virtual Result rename(const std::string &name, const std::string &name_renamed)=0
Renames a text.
C16::Selection::unload
void unload()
Unloads the loaded selection.
C16::Type::DECIMAL
@ DECIMAL
Value::Decimal.
C16::Fields::get
virtual Field & get(int table_number, int subrecord_number, int number) const =0
Gets a field by means of the number of the table, the number of the subrecord and the number of the f...
C16::Procedure::Execution::Error::DATA_AREA_DIFFERENT
@ DATA_AREA_DIFFERENT
Data area different.
C16::Value::Time::now_local
static Time now_local()
Gets the current time of the local timezone of the system.
C16::Variant::Space::VALUE
@ VALUE
Variant holds a Value.
C16::Value::Date::validate_throw
static void validate_throw(int year, int month, int day)
Validates a date by means of its year, month and day (of the month).
C16::Subrecord::table
virtual const Table & table() const =0
Gets the table of the subrecord.
C16::Variant::value
const Value & value() const
Gets the holded value of the variant.
C16::Procedure::Compilation::Error::TYPE_OF_EXPRESSION_IS_WRONG
@ TYPE_OF_EXPRESSION_IS_WRONG
Type of expression is wrong.
C16::Database::Connection::Error::DATABASE_IN_STANDBY_MODE
@ DATABASE_IN_STANDBY_MODE
Database in standby mode.
C16::Table::NUMBER_MAXIMUM
static const int NUMBER_MAXIMUM
Maximum number of a table.
Definition: Table.hpp:36
C16::Filesystem::Exception
Exception of a filesystem.
Definition: Filesystem.hpp:46
C16::Array::cend
IteratorConst cend() const noexcept
Gets a const-iterator of the element following the last element of the array.
C16::Procedure::Compilation::Error::MISSING_WHILE
@ MISSING_WHILE
Missing WHILE.
C16::Subrecords::get
virtual Subrecord & get(int table_number, int number) const =0
Gets a subrecord by means of the number of the table and the number of the subrecord.
C16::Procedure::Compilation::Error::MISSING_COLON
@ MISSING_COLON
Missing colon.
C16::Array::cbegin
IteratorConst cbegin() const noexcept
Gets a const-iterator of the first element of the array.
C16::Database::Diagnosis::Callback
std::function< void(Status status, float progress) > Callback
Callback of a diagnosis of a database.
Definition: Database.hpp:385
C16::Procedure::Execution::Error::ARGUMENT_MISSING
@ ARGUMENT_MISSING
Argument missing.
C16::Value::Logic
bool Logic
Boolean value.
Definition: Native.hpp:18
C16::Key::Reorganization::Status::ABORTED
@ ABORTED
Reorganization aborted.
C16::Record::FieldConstGeneric
Generic constant field buffer of a record buffer.
Definition: Record.hpp:947
C16::Key::Reorganization::Result
Result
Result of a reorganization of a key.
Definition: Key.hpp:78
C16::Procedure::Compilation::Error::OPERANDS_ARE_DIFFERENT
@ OPERANDS_ARE_DIFFERENT
Operands are different.
C16::Array::IteratorConst::operator-=
IteratorConst & operator-=(difference_type offset)
Decrements the iterator.
C16::Exception::Internal
Internal exception.
Definition: Exception.hpp:24
C16::Database::Connection
Connection to a database.
Definition: Database.hpp:46
C16::Value::Decimal
Decimal number.
Definition: Decimal.hpp:12
C16::BinaryDirectory::clear_object
Result clear_object(const std::string &path) const
Clears a binary object within the loaded binary directory.
C16::Value::Time::validate_throw
static void validate_throw(int hours, int minutes, int seconds=0, int centiseconds=0)
Validates a time by means of its hours, minutes, seconds and centiseconds since midnight (00:00).
C16::Key::name
virtual const std::string & name() const =0
Gets the name of the key.
C16::Text::StreamInput::associate
void associate(const Text &text)
Associates a text buffer with the input stream.
C16::Filesystem::Error::INVALID_DRIVE
@ INVALID_DRIVE
Invalid drive.
C16::Selection::executed_time
const Value::Time & executed_time() const
Gets the time of the last execution of the loaded selection.
C16::BinaryObject::Compression::NONE
@ NONE
No compression.
C16::Type::LOGIC
@ LOGIC
Value::Logic.
C16::Transactions::abort_all
virtual void abort_all()=0
Aborts all active transactions.
C16::Records::read
Result read(Place place, Locking locking=Locking::NONE, bool reverse=false)
Reads a record by means of a place into the record buffer.
C16::Database::Connection::Error::DATABASE_LOCKED_FOR_ROLLBACK
@ DATABASE_LOCKED_FOR_ROLLBACK
Database locked for rollback.
C16::User::read
Result read(unsigned int id, Place place=Place::KEY)
Reads a user by means of a id into the user buffer.
C16::Selection::right_modify
int right_modify() const
Gets the right required by a user to modify the loaded selection.
C16::Array::end
IteratorConst end() const noexcept
Gets a const-iterator of the element following the last element of the array.
C16::Text::StreamBufferInput
Input stream buffer for reading text buffers.
Definition: Text.hpp:645
C16::Result::NO_RIGHTS
@ NO_RIGHTS
Permissions insufficient.
C16::Variant::Alternative::ARRAY_INT
@ ARRAY_INT
Variant holds an Array<Value::Int>.
C16::Value::Time::operator<
bool operator<(const Time &other) const
Gets if the time is earlier than another time.
C16::Array::Iterator
Iterator for elements of an array.
Definition: Array.hpp:410
C16::Keys
Keys of a database.
Definition: Keys.hpp:14
C16::Procedure::Compilation::Error::MISSING_INSTRUCTION
@ MISSING_INSTRUCTION
Missing instruction.
C16::Key::Reorganization
Reorganization of a key.
Definition: Key.hpp:57
C16::Procedure::Execution::Error::ARGUMENTS_DIFFERENT
@ ARGUMENTS_DIFFERENT
Arguments different.
C16::Procedure::Execution::Error::TABLE_INEXISTENT
@ TABLE_INEXISTENT
Table inexistent.
C16::Tables::IteratorConst::difference_type
int difference_type
Type of the difference of iterators.
Definition: Tables.hpp:112
C16::Value::Time
Point in time relative to midnight (00:00) of a day.
Definition: Time.hpp:11
C16::Value::Moment::YEAR_MINIMUM
static const int YEAR_MINIMUM
Minimum year of a moment.
Definition: Moment.hpp:27
C16::Result::EXISTS
@ EXISTS
Entity already existent.
C16::Variant::value_word_const
const Value::Word & value_word_const() const
Short name alias for value<Value::Word>() const.
C16::Text::loaded
bool loaded() const
Gets if a text is loaded into the text buffer.
C16::Text::StreamBufferInput::StreamBufferInput
StreamBufferInput()
Constructs an input stream buffer.
C16::Variant::value_byte_const
const Value::Byte & value_byte_const() const
Short name alias for value<Value::Byte>() const.
C16::Database::Database
Database(const Client &client, const std::string &server_name, const std::string &name, const std::string &user_name, const std::string &user_password=std::string(), const std::string &server_password=std::string())
Constructs and connects to a database.
C16::Flags::set
void set(Enumeration enumerator, bool set)
Sets a single enumerator of the flags.
Definition: Flags.hpp:147
C16::User::Logout::Result::USER_INEXISTENT
@ USER_INEXISTENT
User inexistent.
C16::User::Logout
Logout of a user from a database.
Definition: User.hpp:258
C16::Key::Field::key
virtual const Key & key() const =0
Gets the key of the field.
C16::Database::Connection::Error::USER_PASSWORD_INCORRECT
@ USER_PASSWORD_INCORRECT
User password incorrect.
C16::ArrayGeneric::IteratorGeneric::difference_type
std::ptrdiff_t difference_type
Type of the difference of iterators.
Definition: Array.hpp:49
C16::Tables::rbegin
IteratorConst rbegin() const noexcept
Gets a const-iterator of the last table.
C16::Transaction::abort
void abort()
Aborts the transaction if it is active.
C16::Tables::IteratorConst::operator>
bool operator>(const IteratorConst &other) const
Gets if the iterator is greater than another iterator.
C16::Database::fields
const Fields & fields() const
Gets the fields of the database.
C16::Database::Diagnosis::Option::KEY_ANALYSIS
@ KEY_ANALYSIS
Option to perform a key analysis.
C16::Binary::Error::CIPHER_KEY_INCORRECT
@ CIPHER_KEY_INCORRECT
Cipher key incorrect.
C16::Procedure::Compilation::Error::PROCEDURE_UNKNOWN
@ PROCEDURE_UNKNOWN
Procedure unknown.
C16::Variant::value_float_const
const Value::Float & value_float_const() const
Short name alias for value<Value::Float>() const.
C16::Procedure::Compilation::Error::MISSING_COMMA
@ MISSING_COMMA
Missing comma.
C16::Value::Date::leap_year
bool leap_year() const
Gets if the date lies in a leap year.
C16::Array::Iterator::operator+=
Iterator & operator+=(difference_type offset)
Increments the iterator.
C16::Procedure::Compilation::Error::FIELD_NOT_EXISTING
@ FIELD_NOT_EXISTING
Field not exisiting.
C16::RecordsKey::RecordsKey
RecordsKey(const Key &key, bool reverse=false)
Constructs a record set by means of a key.
C16::Text::Text
Text(Database &database)
Constructs a text buffer.
C16::Users::log_out
virtual User::Logout::Result log_out(unsigned int id, unsigned int number, const std::string &server_password=std::string()) const =0
Logs a user out of the database.
C16::Text::StreamBuffer::associated
virtual bool associated() const =0
Gets if there is text buffer associated with the stream buffer.
C16::BinaryObject::Compression::MAXIMUM
@ MAXIMUM
Maximum compression.
C16::Flags::toggle
void toggle(Enumeration enumerator)
Toggles a single enumerator of the flags.
Definition: Flags.hpp:178
C16::Text::rename
Result rename(const std::string &name)
Renames the loaded text.
C16::Text::Stream::dissociate
void dissociate()
Dissociates an associated text buffer from the stream.
C16::Binary::locked
bool locked() const
Gets if the loaded binary is locked by the user accessing the database.
C16::Tables
Tables of a database.
Definition: Tables.hpp:34
C16::Array::back
const_reference back() const
Gets the last element of the array.
C16::Procedure::Execution::Exception::error
Error error() const
Gets the error of the execution of a procedure.
C16::Text::Stream::line_break_set
void line_break_set(LineBreak line_break)
Sets the line break of the stream.
C16::Database::Connection::Error::DATABASE_LOCKED_SHUTDOWN
@ DATABASE_LOCKED_SHUTDOWN
Database locked (Database is shutting down).
C16::Variant::reference
bool reference() const
Gets if the variant holds a reference.
C16::Value::Moment::YEAR_EPOCH
static const int YEAR_EPOCH
Epoch year of moments.
Definition: Moment.hpp:21
C16::Tables::IteratorConst::IteratorConst
IteratorConst()
Constructs an invalid iterator.
C16::Database::Diagnosis::Result::CORRECTED
@ CORRECTED
Diagnosis succeeded. Database corrected.
C16::Record::reload
Result reload(Locking locking=Locking::NONE)
Reloads the loaded record.
C16::RecordsSelection::RecordsSelection
RecordsSelection(const Selection &selection, bool reverse=false)
Constructs a record set by means of a selection buffer.
C16::Record::operator=
Record & operator=(const Record &other)
Assigns the record buffer from another record buffer.
C16::Procedures::execute
Variant execute(const std::string &function_name, Arguments &&... arguments) const
Executes a function of a procedure.
Definition: Procedures.hpp:142
C16::Tables::get_if_existent
virtual const Table * get_if_existent(int number) const =0
Gets a table by means of its number, if existent.
C16::Text::write
Result write(Locking locking=Locking::NONE)
Writes the loaded text.
C16::Client::Client
Client()
Constructs a client.
C16::Client::release
const std::string & release() const
Gets the release of the client.
C16::Procedure::Execution::Error::KEY_FIELD_INEXISTENT
@ KEY_FIELD_INEXISTENT
Key field inexistent.
C16::Place::LAST
@ LAST
Operate on the last entity.
C16::Procedure::Compilation::Error::VARIABLE_DIFFERS
@ VARIABLE_DIFFERS
Variable differs.
C16::Database::users
const Users & users() const
Gets the users accessing the database.
C16::Tables::IteratorConst::operator*
reference operator*() const
Gets the element of the iterator.
C16::Procedure::Execution::Error::LINK_INEXISTENT
@ LINK_INEXISTENT
Link inexistent.
C16::User::Logout::Result
Result
Result of a logout of a user from the database.
Definition: User.hpp:267
C16::Selection::name
const std::string & name() const
Gets the name of the loaded selection.
C16::Procedure::Compilation::Error::COMPILER_INSTRUCTION_INVALID
@ COMPILER_INSTRUCTION_INVALID
Compiler instruction invalid.
C16::Array::Iterator::operator*
reference operator*() const
Gets the element of the iterator.
C16::Tables::IteratorConst::operator+=
IteratorConst & operator+=(difference_type offset)
Increments the iterator.
C16::Value::Moment::EMPTY
static const Moment EMPTY
Empty moment (00000-00-00, 00:00:00).
Definition: Moment.hpp:39
C16::Value::Moment::validate
static bool validate(int year, int month, int day, int hours=0, int minutes=0, int seconds=0, long int decimicroseconds=0)
Validates a moment by means of its year, month, day (of the month), hours, minutes,...
C16::Field::number
virtual int number() const =0
Gets the number of the field.
C16::BinaryObject::BinaryObject
BinaryObject()
Constructs a binary object buffer.
C16::Database::Diagnosis::Result::REPAIRED
@ REPAIRED
Diagnosis succeeded. Database repaired.
C16::Value::Time::empty
bool empty() const
Gets if the time is empty.
C16::Procedure::Execution::Error::CONVERSION_FAILED
@ CONVERSION_FAILED
Conversion failed.
C16::Record::length_packed
long int length_packed() const
Gets the length of the loaded, packed record.
C16::Text::modified_date
const Value::Date & modified_date() const
Gets the date of the last modification of the loaded text.
C16::Procedure::Compilation::Error::INVALID_VALUE
@ INVALID_VALUE
Invalid value.
C16::Procedure::Compilation::Error::UNKNOWN_TYPE
@ UNKNOWN_TYPE
Unknown type.
C16::Tables::IteratorConst::operator+
IteratorConst operator+(difference_type offset) const
Gets an incremented iterator.
C16::Flags::contains
constexpr bool contains(Enumeration enumerator) const
Gets if the flags contain an enumerator.
Definition: Flags.hpp:62
C16::Procedure::Compilation::Error::MISSING_OF
@ MISSING_OF
Missing OF.
C16::Array::IteratorConst
const-Iterator for elements of an array.
Definition: Array.hpp:263
C16::Tables::IteratorConst::operator=
IteratorConst & operator=(const IteratorConst &other)
Assigns the iterator from another iterator.
C16::Text::content_set
Result content_set(const std::string &content, LineBreak line_break=LineBreak::LF)
Sets the content of the loaded text.
C16::Locking::LOCK_SHARED
@ LOCK_SHARED
Applies a shared lock to the entity.
C16::Procedure::Execution::result
const Variant & result() const
Gets the result of the execution.
C16::Value::Moment::hours
int hours() const
Gets the hours of the moment.
C16::Value::Time::now
static Time now()
Gets the current time (UTC) of the system.
C16::Texts::database
virtual Database & database() const =0
Gets the database of the texts.
C16::Value::Byte
std::uint8_t Byte
Integer number (unsigned, 8 bits).
Definition: Native.hpp:20
C16::Procedure::Procedure
Procedure(Database &database)
Constructs a procedure buffer.
C16::Table::prime_counter
virtual long long int prime_counter() const =0
Gets the prime counter of the table.
C16::Database::user_count
int user_count() const
Gets the count of users currently accessing the database.
C16::Database::texts
const Texts & texts() const
Gets the texts of the database.
C16::User::number
unsigned int number() const
Gets the number of the loaded user.
C16::Procedure::Execution::Error::HANDLE_INVALID
@ HANDLE_INVALID
Handle invalid.
C16::Procedure::Execution::Execution
Execution(const Database &database, const std::string &procedure_name, const std::string &function_name)
Constructs an execution of procedure.
C16::Binary::move_to
virtual Result move_to(const BinaryDirectory &directory)
Moves the loaded binary to another directory.
C16::Array::Iterator::operator++
Iterator & operator++()
Increments the iterator.
C16::Record::read_id
Result read_id(long long int id, Locking locking=Locking::NONE)
Reads a record by means of its id into the record buffer.
C16::Text::StreamBuffer
Generic stream buffer for text buffers.
Definition: Text.hpp:584
C16::User::system_name
const std::string & system_name() const
Gets the name of the system of the loaded user.
C16::Server
Server hosting databases.
Definition: Server.hpp:11
C16::Database::Connection::Error::DATABASE_LOCKED_STANDBY_UNREACHABLE
@ DATABASE_LOCKED_STANDBY_UNREACHABLE
Database locked (Standby server unreachable).
C16::User::system_account_name
const std::string & system_account_name() const
Gets the name of the system account of the loaded user.
C16::Text::StreamBufferOutput::dissociate
void dissociate() override
Dissociates an associated text buffer from the output stream buffer.
C16::Filesystem::Exception::error
Error error() const
Gets the error of a filesystem.
C16::Database::Connection::Error::SERVER_STARTING_FAILED
@ SERVER_STARTING_FAILED
Server starting failed.
C16::Value::Date::operator>=
bool operator>=(const Date &other) const
Gets if the date is equal to or later than another date.
C16::Variant::Alternative::ARRAY_BYTE
@ ARRAY_BYTE
Variant holds an Array<Value::Byte>.
C16::Field::Collation::BINARY
@ BINARY
Binary collation.
C16::Text::right_write_set
void right_write_set(int right_write)
Sets the right required by a user to write the loaded text.
C16::Text::group
const std::string & group() const
Gets the group of the loaded text.
C16::Tables::IteratorConst
const-Iterator for tables of a database.
Definition: Tables.hpp:102
C16::Procedure::Compilation::Error::MISSING_BRACKET
@ MISSING_BRACKET
Missing bracket.
C16::Array::rbegin
IteratorConst rbegin() const noexcept
Gets a const-iterator of the last element of the array.
C16::User::Logout::Result::SERVER_PASSWORD_INCORRECT
@ SERVER_PASSWORD_INCORRECT
Server password incorrect.
C16::Procedure::Execution::Error::VALUE_OUT_OF_DOMAIN
@ VALUE_OUT_OF_DOMAIN
Value out of domain.
C16::Database::Connection::Error::DATABASE_LOCKED_FOR_LOGIN
@ DATABASE_LOCKED_FOR_LOGIN
Database locked for login.
C16::Database::Connection::Error::DATA_STRUCTURE_NOT_LOADABLE
@ DATA_STRUCTURE_NOT_LOADABLE
Data structure not loadable.
C16::Type::TIME
@ TIME
Value::Time.
C16::Exception::Unavailability::Unavailability
Unavailability(const std::string &what)
Constructs an exception.
C16::Transaction::commit
void commit()
Commits the transaction if it is active.
C16::Procedure::Compilation::Error::MISSING_FUNCTION_CODE
@ MISSING_FUNCTION_CODE
Missing function code.
C16::Variant::value_bigint
const Value::Bigint & value_bigint() const
Short name alias for value<Value::Bigint>() const.
C16::Server::release
virtual const std::string & release() const =0
Gets the release of the server.
C16::Selection::record_remove
Result record_remove(const Record &record) const
Removes a record from the loaded selection.
C16::Database::Diagnosis::Result::DATABASE_READ_ONLY
@ DATABASE_READ_ONLY
Database in read-only mode.
C16::Database::Connection::Exception::error
Error error() const
Gets the error of the connection to a database.
C16::Procedure::Compilation::Error::DEFINITION_INCOMPLETE
@ DEFINITION_INCOMPLETE
Definition incomplete.
C16::Procedure::Execution::error
const Error & error() const
Gets the error of the execution.
C16::Tables::begin
IteratorConst begin() const noexcept
Gets a const-iterator of the first table.
C16::Variant::Alternative::VALUE_WORD
@ VALUE_WORD
Variant holds a Value::Word.
C16::Selection::clear
Result clear() const
Clears the loaded selection (i.e. removes all records from the selection).
C16::RecordsKey::key
const Key & key() const
Gets the key of the record set.
C16::Key::table
virtual const Table & table() const =0
Gets the table of the key.
C16::Value::Moment::leap_year
bool leap_year() const
Gets if the moment lies in a leap year.
C16::Procedure::Compilation::Error::INVALID_CHARACTER
@ INVALID_CHARACTER
Invalid character.
C16::Selection::modified_date
const Value::Date & modified_date() const
Gets the date of the last modification of the loaded selection.
C16::Text::StreamBufferOutput::associated
bool associated() const override
Gets if there is text buffer associated with the output stream buffer.
C16::Array::IteratorConst::operator*
reference operator*() const
Gets the element of the iterator.
C16::Procedure::Compilation::Result
Result of a compilation of a procedure.
Definition: Procedure.hpp:666
C16::Value::Date::day
int day() const
Gets the day (of the month) of the date.
C16::Procedure::Compilation::Error::MISSING_BEGIN
@ MISSING_BEGIN
Missing BEGIN.
C16::ArrayGeneric::IteratorGeneric::operator<
bool operator<(const IteratorGeneric &other) const
Gets if the iterator is lower than another iterator.
C16::ArrayGeneric::IteratorGeneric::operator>
bool operator>(const IteratorGeneric &other) const
Gets if the iterator is greater than another iterator.
C16::SeriesGeneric
Generic series.
Definition: Series.hpp:11
C16::Procedure::Compilation::ErrorLanguage::ENGLISH_US
@ ENGLISH_US
English (US)
C16::Procedure::Compilation::Error::UNEXPECTED_END_OF_TEXT
@ UNEXPECTED_END_OF_TEXT
Unexpected end of text.
C16::Record::Field::operator=
Field & operator=(const Value &value)
Sets the value of the field buffer.
C16::Value::Time::EMPTY
static const Time EMPTY
Empty time (00:00:00).
Definition: Time.hpp:20
C16::Transaction
Transaction of a database.
Definition: Transaction.hpp:49
C16::Value::Time::operator=
Time & operator=(const Time &other)
Assigns the time from another time.
C16::Locking::LOCK_EXCLUSIVE_SINGLE
@ LOCK_EXCLUSIVE_SINGLE
C16::Field::Collation::UMLAUTS
@ UMLAUTS
Umlaut converting collation.
C16::Procedure::Compilation::Error::INVALID_LABEL
@ INVALID_LABEL
Invalid label.
C16::Array::const_reference
const Element & const_reference
Type of a constant reference to an element of the array.
Definition: Array.hpp:190
C16::Tables::IteratorConst::operator!=
bool operator!=(const IteratorConst &other) const
Gets if the iterator is unequal to another iterator.
C16::User::network_account_name
const std::string & network_account_name() const
Gets the name of the network account of the loaded user.
C16::Database::Status::BACKUP
@ BACKUP
Database in backup mode.
C16::Transaction::State
State
State of a transaction.
Definition: Transaction.hpp:57
C16::User::log_out
Logout::Result log_out(const std::string &server_password=std::string()) const
Logs the loaded user out of the database.
C16::Value::Moment::operator>
bool operator>(const Moment &other) const
Gets if the moment is later than another moment.
C16::Database::Diagnosis::Result::OK
@ OK
Diagnosis succeeded. Database okay.
C16::Series::get
const Element & get(size_type number) const
Gets an element of the series by meants if its number.
C16::Text::StreamBufferOutput::associate
void associate(Text &text)
C16::Records::record
const Record & record() const
Gets the record buffer of the record set.
C16::Value::Moment::serial
long long int serial() const
Gets the serial of the moment in units of decimicroseconds since the epoch.
C16::Record::field
FieldConst< Value > field(const C16::Field &field) const
Convenience alias for Record::FieldConst<Value>(const Record& record, const Field& field).
C16::Tables::IteratorConst::operator<
bool operator<(const IteratorConst &other) const
Gets if the iterator is lower than another iterator.
C16::Variant::Space::NONE
@ NONE
Variant holds nothing.
C16::BinaryObject::modified_user
const std::string & modified_user() const
Gets the user who last modified the loaded binary object.
C16::Array::Iterator::operator=
Iterator & operator=(const Iterator &other)
Assigns the iterator from another iterator.
C16::Variant::Alternative::ARRAY_DATE
@ ARRAY_DATE
Variant holds an Array<Value::Date>.
C16::Key::Field::database
virtual Database & database() const =0
Gets the database of the field.
C16::Server::operating_system
virtual const std::string & operating_system() const =0
Gets the operating system of the server.
C16::Procedure::Execution::Error::MEMORY_EXHAUSTED
@ MEMORY_EXHAUSTED
Memory exhausted.
C16::Database::procedures
const Procedures & procedures() const
Gets the procedures of the database.
C16::Filesystem::Error::TOO_MANY_OPEN_FILES
@ TOO_MANY_OPEN_FILES
Too many open files.
C16::Selection::NAME_LENGTH_LIMIT
static const int NAME_LENGTH_LIMIT
Name length limit.
Definition: Selection.hpp:66
C16::BinaryObject::modified_moment_file_set
void modified_moment_file_set(const Value::Moment &moment)
Sets the moment of the last file modification of the loaded binary object.
C16::Table::fields
virtual const Fields & fields() const =0
Gets the fields of the table.
C16::Procedure::Compilation::Result::error
Error error
Error of the result of the compilation.
Definition: Procedure.hpp:672
C16::Value::Date::now
static Date now()
Gets the current date (UTC) of the system.
C16::Array::reference
Element & reference
Type of a reference to an element of the array.
Definition: Array.hpp:195
C16::Transaction::State::ACTIVE
@ ACTIVE
Transaction is active.
C16::Procedure::Execution::Error::DATA_AREA_NOT_INSTANCED
@ DATA_AREA_NOT_INSTANCED
Data area not instanced.
C16::Field::Collation::SPECIAL_CHARACTERS
@ SPECIAL_CHARACTERS
Special character converting collation.
C16::Text::StreamOutput::associate
void associate(Text &text)
Associates a text buffer with the output stream.
C16::Variant::value_date
const Value::Date & value_date() const
Short name alias for value<Value::Date>() const.
C16::Database::Status::UPDATE
@ UPDATE
Database in update mode.
C16::Transaction::State::ABORTED
@ ABORTED
Transaction was aborted.
C16::Place::PREVIOUS
@ PREVIOUS
Operate on the previous entity.
C16::Value::Moment::week
int week() const
Gets the week (according to ISO 8601) of the moment.
C16::BinaryObject::modified_moment
Value::Moment modified_moment() const
Gets the moment of the last modification of the loaded binary object.
C16::BinaryObject::content_copy_from
Result content_copy_from(const BinaryObject &other)
Copies the contents from another binary object to the loaded binary object.
C16::Procedure::Execution::execute_error_throw
const Variant & execute_error_throw()
Executes the execution and throws an exception if the execution has an error.
C16::Array::Iterator::operator--
Iterator & operator--()
Decrements the iterator.
C16::Binary::NAME_LENGTH_LIMIT
static const int NAME_LENGTH_LIMIT
Name length limit.
Definition: Binary.hpp:34
C16::Record::FieldCommon
Common field buffer of a record buffer.
Definition: Record.hpp:904
C16::Binary::path
const std::string & path() const
Gets the path of the loaded binary.
C16::ArrayGeneric::empty
virtual bool empty() const
Gets if the array is empty.
C16::Procedure::Execution::Error::FRAME_DIFFERENT
@ FRAME_DIFFERENT
Frame different.
C16::Database::status
Flags< Status > status() const
Gets the status of the database.
C16::Value::Moment::validate_throw
static void validate_throw(int year, int month, int day, int hours=0, int minutes=0, int seconds=0, long int decimicroseconds=0)
Validates a moment by means of its year, month, day (of the month), hours, minutes,...
C16::Subrecord::number
virtual int number() const =0
Gets the number of the subrecord.
C16::Value::Date::YEAR_MAXIMUM
static const int YEAR_MAXIMUM
Maximum year of a date.
Definition: Date.hpp:32
C16::Variant::Alternative::VALUE_DECIMAL
@ VALUE_DECIMAL
Variant holds a Value::Decimal.
C16::Flags::add
void add(const std::initializer_list< Enumeration > &enumerators)
Adds multiple enumerators to the flags.
Definition: Flags.hpp:95
C16::Text::right_read
int right_read() const
Gets the right required by a user to read the loaded text.
C16::Client::memory_usage
unsigned long long int memory_usage() const
Gets the memory usage of the client in units of bytes.
C16::Database::Status::DIAGNOSIS
@ DIAGNOSIS
Database diagnosing.
C16::User::unload
void unload()
Unloads the loaded user.
C16::Key::Reorganization::Status::DONE
@ DONE
Reorganization done.
C16::Record::Field::value
Value value() const
Gets the value of the field buffer.
C16::Type::BYTE
@ BYTE
Value::Byte.
C16::Record::length
long int length() const
Gets the length of the loaded record.
C16::Procedure::Compilation::Error::MISSING_ENDIF_DIRECTIVE
@ MISSING_ENDIF_DIRECTIVE
Missing @ENDIF directive.
C16::Text::Stream::text
const Text * text() const
Gets the text buffer associated with the stream, if associated.
C16::Procedure::Compilation::Error::MISSING_PARENTHESIS
@ MISSING_PARENTHESIS
Missing parenthesis.
C16::Database::size_free
long int size_free() const
Gets the size of free space of the database in units of kilobytes.
C16::Record::table
const Table & table() const
Gets the table of the record buffer.
C16::User::database
const Database & database() const
Gets the database the user buffer relates to.
C16::Flags::add
void add(Enumeration enumerator)
Adds a single enumerator to the flags.
Definition: Flags.hpp:83
C16::Database::Diagnosis::Option
Option
Option for a diagnosis of a database.
Definition: Database.hpp:325
C16::Variant::Space
Space
Space of a variant.
Definition: Variant.hpp:86
C16::Array::Iterator::Iterator
Iterator()
Constructs an invalid iterator.
C16::Key::Reorganization::Result::SERVER_DATA_STRUCTURE
@ SERVER_DATA_STRUCTURE
Server could not load data structure.
C16::Value::Date::year
int year() const
Gets the year of the date.
C16::Variant::Alternative::ARRAY_WORD
@ ARRAY_WORD
Variant holds an Array<Value::Word>.
C16::Table::records_count
virtual long int records_count() const =0
Gets the count of records of the table.
C16::Procedure::Execution
Execution of a procedure.
Definition: Procedure.hpp:126
C16::Procedure::Compilation::Error::MISSING_SEMICOLON
@ MISSING_SEMICOLON
Missing semicolon.
C16::Procedure::Execution::Error::KEY_INEXISTENT
@ KEY_INEXISTENT
Key inexistent.
C16::Table::number
virtual int number() const =0
Gets the number of the table.
C16::Records::table
const Table & table() const
Gets the table of the record set.
C16::Variant::array_decimal
const Array< Value::Decimal > & array_decimal() const
Short name alias for array<Value::Decimal>() const.
C16::Binary::read
virtual Result read(const BinaryDirectory &directory, const std::string &name, Place place=Place::KEY, Locking locking=Locking::NONE)=0
Reads a binary by means of a base binary directory, a reference name and a place into the binary buff...
C16::Value::Moment::milliseconds
int milliseconds() const
Gets the milliseconds of the moment since the last second.
C16::Procedure::Execution::Error::SUBRECORD_INEXISTENT
@ SUBRECORD_INEXISTENT
Subrecord inexistent.
C16::Flags::set
void set(const std::initializer_list< Enumeration > &enumerators, bool set)
Sets multiple enumerators of the flags.
Definition: Flags.hpp:166
C16::Variant::Alternative::VALUE_DATE
@ VALUE_DATE
Variant holds a Value::Date.
C16::Database::Connection::Error::USER_UNAUTHORIZED
@ USER_UNAUTHORIZED
User unauthorized.
C16::Selection::read
Result read(const std::string &name, Place place=Place::KEY, Locking locking=Locking::NONE)
Reads a selection by means of a reference name and a place into the selection buffer.
C16::Database::Connection::Error::SERVER_USER_LIMIT_REACHED
@ SERVER_USER_LIMIT_REACHED
Server user limit reached.
C16::Procedure::Execution::Error::STACK_OVERFLOW
@ STACK_OVERFLOW
Stack overflow occurred.
C16::Flags::remove
void remove(Enumeration enumerator)
Removes a single enumerator from the flags.
Definition: Flags.hpp:107
C16::BinaryObject::modified_user_set
void modified_user_set(const std::string &user)
Sets the user who last modified the loaded binary object.
C16::Procedure::Execution::Error::VALUE_INVALID
@ VALUE_INVALID
Value invalid.
C16::Variant::Alternative::VALUE_FLOAT
@ VALUE_FLOAT
Variant holds a Value::Float.
C16::Selection::modified_user
const std::string & modified_user() const
Gets the user who last modified the loaded selection.
C16::ArrayGeneric::IteratorGeneric::operator>=
bool operator>=(const IteratorGeneric &other) const
Gets if the iterator is greater than or equal to another iterator.
C16::Array::Iterator::operator+
Iterator operator+(difference_type offset) const
Gets an incremented iterator.
C16::Flags::toggle
void toggle(const std::initializer_list< Enumeration > &enumerators)
Toggles multiple enumerators of the flags.
Definition: Flags.hpp:190
C16::Value::Time::MINIMUM
static const Time MINIMUM
Minimum time (00:00:00).
Definition: Time.hpp:26
C16::Text::StreamBuffer::line_break_set
void line_break_set(LineBreak line_break)
Sets the line break of the stream buffer.
C16::Procedure::Compilation::Error::INVALID_CONSTANT
@ INVALID_CONSTANT
Invalid constant.
C16::Procedure
Procedure buffer to operate on procedures of a database.
Definition: Procedure.hpp:108
C16::Variant::array_word
const Array< Value::Word > & array_word() const
Short name alias for array<Value::Word>() const.
C16::Value::Time::compare
int compare(const Time &other) const
Compares the time with another time.
C16::Array::Iterator::operator-=
Iterator & operator-=(difference_type offset)
Decrements the iterator.
C16::BinaryObject::create
Result create(const BinaryDirectory &directory, const std::string &path, Locking locking=Locking::LOCK_SHARED, bool overwrite=false) override
Creates and loads a binary.
C16::Value::Time::minutes
int minutes() const
Gets the minutes of the time since the last hour.
C16::Exception::Unavailability
Exception caused by unavailability.
Definition: Exception.hpp:55
C16::Field::Collation
Collation
Collation of a field.
Definition: Field.hpp:80
C16::Variant::Alternative
Alternative
Alternative of a variant.
Definition: Variant.hpp:37
C16::Field::Collation::CASE
@ CASE
Case insensitive collation.
C16::Database::server
const Server & server() const
Gets the server hosting the database.
C16::Value::Moment::days_in_month
static int days_in_month(int year, int month)
Gets the days in a month.
C16::Record::replace
Result replace(Locking locking=Locking::NONE)
Replaces the loaded record.
C16::Records::reverse
bool reverse() const
Gets if the order of the records is reverted.
C16::Value::Moment::operator==
bool operator==(const Moment &other) const
Gets if the moment is equal to another moment.
C16::Procedure::Execution::Error::PROPERTY_INVALID
@ PROPERTY_INVALID
Property invalid.
C16::Server::license
virtual const std::string & license() const =0
Gets the license of the server.
C16::User::login_date
const Value::Date & login_date() const
Gets the date of the login of the loaded user to the database.
C16::Procedure::Execution::Error::FRAME_INEXISTENT
@ FRAME_INEXISTENT
Frame inexistent.
C16::Text::StreamOutput::StreamOutput
StreamOutput()
Constructs an output stream.
C16::Value::Time::seconds
int seconds() const
Gets the seconds of the time since the last minute.
C16::BinaryObject::Compression::HIGH
@ HIGH
High compression.
C16::Key::reorganize
virtual Reorganization::Result reorganize(const Reorganization::Callback &callback=Reorganization::Callback()) const
Reorganizes the key.
C16::ArrayGeneric::IteratorGeneric
Generic iterator of an array.
Definition: Array.hpp:39
C16::Procedure::Compilation::Error::TOO_FEW_ARGUMENTS
@ TOO_FEW_ARGUMENTS
Too few arguments.
C16::Keys::database
virtual Database & database() const =0
Gets the database of the keys.
C16::Selection::database
const Database & database() const
Gets the database of the selection buffer.
C16::Procedure::Execution::Error::DECIMAL_ARITHMETIC_FAILED
@ DECIMAL_ARITHMETIC_FAILED
Decimal arithmetic failed.
C16::Text::modified_user
const std::string & modified_user() const
Gets the user who last modified the loaded text.
C16::Result::LIMIT_REACHED
@ LIMIT_REACHED
Limit reached.
C16::User
User buffer to operate on users of a database.
Definition: User.hpp:57
C16::Flags::Flags
constexpr Flags(const std::initializer_list< Enumeration > &enumerators)
Constructs flags by means of enumerators.
Definition: Flags.hpp:49
C16::Flags::value
constexpr value_type value() const
Gets the value of the flags.
Definition: Flags.hpp:71
C16::Variant::value_date_const
const Value::Date & value_date_const() const
Short name alias for value<Value::Date>() const.
C16::Tables::IteratorConst::operator-
IteratorConst operator-(difference_type offset) const
Gets a decremented iterator.
C16::Array::begin
IteratorConst begin() const noexcept
Gets a const-iterator of the first element of the array.
C16::Value::Moment::compare
int compare(const Moment &other) const
Compares the moment with another moment.
C16::Text::StreamBufferInput::text
const Text * text() const override
Gets the text buffer associated with the input stream buffer, if associated.
C16::Selection::created_date
const Value::Date & created_date() const
Gets the date of the creation of the loaded selection.
C16::Array::IteratorConst::value_type
const Element value_type
Type of the elements of the iterator.
Definition: Array.hpp:271
C16::Place::NEXT
@ NEXT
Operate on the next entity.
C16::Array::Iterator::operator-
Iterator operator-(difference_type offset) const
Gets a decremented iterator.
C16::Key::Field::table
virtual const Table & table() const =0
Gets the table of the field.
C16::Procedure::Execution::Exception
Exception of the execution of a procedure.
Definition: Procedure.hpp:399
C16::Tables::IteratorConst::operator==
bool operator==(const IteratorConst &other) const
Gets if the iterator is equal to another iterator.
C16::Procedure::Execution::Error::DATA_AREA_INEXISTENT
@ DATA_AREA_INEXISTENT
Data area inexistent.
C16::Locking::LOCK_EXCLUSIVE
@ LOCK_EXCLUSIVE
C16::ArrayGeneric::size
virtual size_type size() const =0
Gets the size of the array.
C16::Variant::Alternative::ARRAY_DECIMAL
@ ARRAY_DECIMAL
Variant holds an Array<Value::Decimal>.
C16::Procedure::Compilation::Error::NONE
@ NONE
No error occurred.
C16::Key::number
virtual int number() const =0
Gets the number of the key.
C16::User::system_ip_address
const std::string & system_ip_address() const
Gets the IP address of the system of the loaded user.
C16::Value::Date::EMPTY
static const Date EMPTY
Empty date (0000-00-00).
Definition: Date.hpp:38
C16::BinaryObject::created_moment
Value::Moment created_moment() const
Gets the moment of the creation of the loaded binary object.
C16::Text::StreamBuffer::text
virtual const Text * text() const =0
Gets the text buffer associated with the stream buffer, if associated.
C16::Value::Moment::operator<=
bool operator<=(const Moment &other) const
Gets if the moment is equal to or earlier than another moment.
C16::Database::tables
const Tables & tables() const
Gets the tables of the database.
C16::Procedure::Compilation::Error::ERROR_READING_COMPILE_TABLE
@ ERROR_READING_COMPILE_TABLE
Error reading compile table.
C16::Procedure::Compilation::Error::COMPILE_TABLE_NOT_DEFINED
@ COMPILE_TABLE_NOT_DEFINED
Compile table not defined.
C16::Table::database
virtual Database & database() const =0
Gets the database of the table.
C16::Array::crbegin
IteratorConst crbegin() const noexcept
Gets a const-iterator of the last element of the array.
C16::Array::IteratorConst::operator+=
IteratorConst & operator+=(difference_type offset)
Increments the iterator.
C16::Value::Moment::decimicroseconds
long int decimicroseconds() const
Gets the decimicroseconds of the moment since the last second.
C16::Texts::create
virtual Result create(const std::string &name, Locking locking=Locking::NONE)=0
Creates a text.
C16::Variant::value_decimal
const Value::Decimal & value_decimal() const
Short name alias for value<Value::Decimal>() const.
C16::BinaryObject::TYPE_LENGTH_LIMIT
static const int TYPE_LENGTH_LIMIT
Type length limit.
Definition: Binary.hpp:584
C16::Array::IteratorConst::pointer
const Element * pointer
Type of a pointer to an element of the iterator.
Definition: Array.hpp:281
C16::Key::Reorganization::Status
Status
Status of a reorganization of a key.
Definition: Key.hpp:65
C16::Records::count
virtual long int count() const =0
Gets the count of records of the record set.
C16::Flags::Flags
constexpr Flags()
Constructs empty flags.
Definition: Flags.hpp:38
C16::Table::master_table
virtual const Table * master_table() const =0
Gets the master table of the table, if subordinated.
C16::Procedure::Compilation::Error::MISSING_ASSIGNMENT
@ MISSING_ASSIGNMENT
Missing assignment.
C16::Value::Moment::operator>=
bool operator>=(const Moment &other) const
Gets if the moment is equal to or later than another moment.
C16::Array::value_type
Element value_type
Type of the elements of the array.
Definition: Array.hpp:185
C16::BinaryObject::USER_LENGTH_LIMIT
static const int USER_LENGTH_LIMIT
User length limit.
Definition: Binary.hpp:590
C16::Procedure::Compilation::Error
Error
Error of the compilation of a procedure.
Definition: Procedure.hpp:547
C16::Transaction::aborted
bool aborted() const
Gets if the transaction was aborted.
C16::Procedure::Execution::Error::TYPE_DIFFERENT
@ TYPE_DIFFERENT
Type different.
C16::Procedure::Compilation::Error::WRONG_COMPILE_TABLE_VERSION
@ WRONG_COMPILE_TABLE_VERSION
Wrong compile table version.
C16::Transaction::active
bool active() const
Gets if the transaction is active.
C16::BinaryObject::type_custom
const std::string & type_custom() const
Gets the custom type the loaded binary object.
C16::Variant::value_word
const Value::Word & value_word() const
Short name alias for value<Value::Word>() const.
C16::Value::Date::compare
int compare(const Date &other) const
Compares the date with another date.
C16::Record::erase
Result erase()
Deletes a record from the table.
C16::Key::database
virtual Database & database() const =0
Gets the database of the key.
C16::Procedure::Compilation
Compilation of a procedure.
Definition: Procedure.hpp:525
C16::Database::Diagnosis::Result
Result
Result of a diagnosis of a database.
Definition: Database.hpp:359
C16::Variant::value_float
const Value::Float & value_float() const
Short name alias for value<Value::Float>() const.
C16::Database::Diagnosis::Status::KEY_ANALYSIS
@ KEY_ANALYSIS
Key analysation.
C16::Records::reverse_set
void reverse_set(bool reverse)
Sets if the order of the records is reverted.
C16::Texts::erase
virtual Result erase(const std::string &name)=0
Deletes a text.
C16::Filesystem::Error::ACCESS_DENIED
@ ACCESS_DENIED
Access denied.
C16::BinaryObject::created_moment_set
void created_moment_set(const Value::Moment &moment)
Sets the moment of the creation of the loaded binary object.
C16::Record::FieldGeneric
Generic field buffer of a record buffer.
Definition: Record.hpp:971
C16::Array::at
const_reference at(size_type index) const
Gets an element of the array by means of its index.
C16::Exception::Inaccessibility
Exception caused by inaccessibility.
Definition: Exception.hpp:135
C16::Database::Status::READ_ONLY
@ READ_ONLY
Database in read-only mode.
C16::Filesystem::Error::PATH_NOT_FOUND
@ PATH_NOT_FOUND
Path not found.
C16::Place::FIRST
@ FIRST
Operate on the first entity.
C16::BinaryDirectory::create
Result create(const BinaryDirectory &directory, const std::string &path, Locking locking=Locking::LOCK_SHARED, bool overwrite=false) override
Creates and loads a binary.
C16::Selection::reload
Result reload(Locking locking=Locking::NONE)
Reloads the loaded selection.
C16::Procedure::Execution::Error::SELECTIONS_HAVE_VALUE_SET
@ SELECTIONS_HAVE_VALUE_SET
Selections have value set.
C16::BinaryObject::Compression::LOW
@ LOW
Low compression.
C16::Variant::alternative
Alternative alternative() const
Gets the alternative of the variant.
C16::Key::Field::length_limit
virtual int length_limit() const =0
Gets the length limit of the field.
C16::Database::Diagnosis
Diagnosis of a database.
Definition: Database.hpp:317
C16::Array::crend
IteratorConst crend() const noexcept
Gets a const-iterator of the element preceding the first element of the array.
C16::Text::Stream
Generic stream for text buffers.
Definition: Text.hpp:783
C16::Locking::LOCK_EXCLUSIVE_FORCE
@ LOCK_EXCLUSIVE_FORCE
C16::Database::backup
void backup(unsigned int duration_minutes) const
Transfers the database to backup mode.
C16::Value::Date::empty
bool empty() const
Gets if the date is empty.
C16::Database::links
const Links & links() const
Gets the links of the database.
C16::Binary::Error
Error
Error of an operation on a binary.
Definition: Binary.hpp:45
C16::Binary::Error::CONTENT_EMPTY
@ CONTENT_EMPTY
Content empty.
C16::Value::Date::operator>
bool operator>(const Date &other) const
Gets if the date is later than another date.
C16::Place
Place
Place of an database entity of an operation.
Definition: Place.hpp:12
C16::Fields::get_if_existent
virtual Field * get_if_existent(int table_number, int subrecord_number, int number) const =0
Gets a field by means of the number of the table, the number of the subrecord and the number of the f...
C16::User::id
unsigned int id() const
Gets the id of the loaded user.
C16::Variant::Alternative::VALUE_TIME
@ VALUE_TIME
Variant holds a Value::Time.
C16::Text
Text buffer to operate on texts of a database.
Definition: Text.hpp:64
C16::Flags::remove
void remove(const std::initializer_list< Enumeration > &enumerators)
Removes multiple enumerators from the flags.
Definition: Flags.hpp:119
C16::ArrayGeneric
Generic array.
Definition: Array.hpp:12
C16::Database::transactions
const Transactions & transactions() const
Gets the transactions performed by the user accessing the database.
C16::Variant
Container holding one of many alternatives.
Definition: Variant.hpp:29
C16::Record::lock_key
Result lock_key(int key_number, Locking locking=Locking::LOCK_EXCLUSIVE, bool reverse=false) const
Applies a locking to a record by means of a key.
C16::Text::right_write
int right_write() const
Gets the right required by a user to write the loaded text.
C16::Variant::Alternative::VALUE_INT
@ VALUE_INT
Variant holds a Value::Int.
C16::Value::Moment::MINIMUM
static const Moment MINIMUM
Minimum moment (01601-01-01, 00:00:00).
Definition: Moment.hpp:45
C16::User::Logout::Result::USER_SELF
@ USER_SELF
User is the user accessing the database.
C16::Text::reload
Result reload(Locking locking=Locking::NONE)
Reloads the loaded text.
C16::Table::links
virtual const Series< Link > & links() const =0
Gets the links of the table.
C16::Field::name
virtual const std::string & name() const =0
Gets the name of the field.
C16::Text::GROUP_LENGTH_LIMIT
static const int GROUP_LENGTH_LIMIT
Group length limit.
Definition: Text.hpp:79
C16::Record::read_position_link
Result read_position_link(const Record &record_source, int link_number, long int position, Locking locking=Locking::NONE, bool reverse=false)
Reads a record by means of its position dependent on a link into the record buffer.
C16::User::reload
Result reload()
Reloads the loaded user.
C16::Procedure::Compilation::ErrorLanguage::GERMAN
@ GERMAN
German.
C16::Database::Diagnosis::Status::RECOVER
@ RECOVER
Recovery.
C16::Variant::Alternative::ARRAY_ALPHA
@ ARRAY_ALPHA
Variant holds an Array<Value::Alpha>.
C16::Procedures::execution
Procedure::Execution execution(const std::string &procedure_name, const std::string &function_name) const
Gets an execution of a function of a procedure.
C16::Text::StreamBufferOutput::text
const Text * text() const override
Gets the text buffer associated with the output stream buffer, if associated.
C16::Database::Connection::Error::SERVER_PASSWORD_INCORRECT
@ SERVER_PASSWORD_INCORRECT
Server password incorrect.
C16::Database::Status
Status
Status of a database.
Definition: Database.hpp:254
C16::Value::Date
Period of time covering a day.
Definition: Date.hpp:11
C16::ArrayGeneric::IteratorGeneric::operator==
bool operator==(const IteratorGeneric &other) const
Gets if the iterator is equal to another iterator.
C16::Record::FieldConst
Constant field buffer of a record buffer.
Definition: Record.hpp:1004
C16::Procedure::Execution::Error::DIVISION_BY_ZERO
@ DIVISION_BY_ZERO
Division by zero occurred.
C16::Procedure::execution
Execution execution(const std::string &function_name) const
Gets an execution of a function of the procedure.
C16::Record::Record
Record(const Table &table)
Constructs a record buffer by means of its table.
C16::Procedures::compile
virtual Procedure::Compilation::Error compile(const std::string &name) const =0
Compiles a procedure and gets its error.
C16::Text::database
Database & database() const
Gets the database of the text buffer.
C16::BinaryDirectory::read
Result read(const BinaryDirectory &directory, const std::string &name, Place place=Place::KEY, Locking locking=Locking::NONE) override
Reads a binary by means of a base binary directory, a reference name and a place into the binary buff...
C16::Array::IteratorConst::operator--
IteratorConst & operator--()
Decrements the iterator.
C16::Variant::value_alpha
const Value::Alpha & value_alpha() const
Short name alias for value<Value::Alpha>() const.
C16::User::system_hostname
const std::string & system_hostname() const
Gets the hostname of the system of the loaded user.
Library.hpp
CONZEPT 16 C++ API.
C16::Database::Diagnosis::Status::NONE
@ NONE
Initialization.
C16::Table::records_count_link
virtual long int records_count_link(const Record &record_source, int link_number) const =0
Gets the count of records of a link to the table.
C16::Database::Diagnosis::Result::DEFECTIVE
@ DEFECTIVE
Diagnosis succeeded. Database defective.
C16::Text::StreamBuffer::line_break
LineBreak line_break() const
Gets the line break of the stream buffer.
C16::Text::personal
bool personal() const
Gets if the loaded text is private.
C16::Value::Date::assign
void assign(int year, int month, int day)
Assigns the date by means of its year, month and day (of the month).
C16::Record::FieldConst::value
Value value() const
Gets the value of the field buffer.
C16::Database::Diagnosis::Status::READ_2
@ READ_2
Structure diagnosis (phase 2).
C16::Value::Moment::day_of_year
int day_of_year() const
Gets the day of the year of the moment.
C16::Procedure::Compilation::Error::PROCEDURE_CODE_TOO_LONG
@ PROCEDURE_CODE_TOO_LONG
Procedure code too long.
C16::Tables::end
IteratorConst end() const noexcept
Gets a const-iterator of the table following the last table.
C16::Variant::array_float
const Array< Value::Float > & array_float() const
Short name alias for array<Value::Float>() const.
C16::Table::Fields::get_if_existent
virtual Field * get_if_existent(const std::string &name) const =0
Gets a field by means of its name, if existent.
C16::Table::record_lock_position_key
virtual Result record_lock_position_key(int key_number, long int position, Locking locking=Locking::LOCK_EXCLUSIVE, bool reverse=false) const =0
Applies a locking to a record by means of its position dependent on a key.
C16::Value::Moment::week_year
int week_year() const
Gets the year of the week (according to ISO 8601) of the moment.
C16::Procedure::Compilation::Error::MISSING_ARGUMENTS
@ MISSING_ARGUMENTS
Missing arguments.
C16::Value::Moment::seconds
int seconds() const
Gets the seconds of the moment since the last minute.
C16::Text::encrypted
bool encrypted() const
Gets if the loaded text is encrypted.
C16::Variant::Alternative::VALUE_BYTE
@ VALUE_BYTE
Variant holds a Value::Byte.
C16::Text::read
Result read(const std::string &name, Place place=Place::KEY, Locking locking=Locking::NONE)
Reads a text by means of a reference name and a place into the text buffer.
C16::Variant::Alternative::VALUE_ALPHA
@ VALUE_ALPHA
Variant holds a Value::Alpha.
C16::Filesystem::Error::WRITE_FAULT
@ WRITE_FAULT
Write fault occurred.
C16::Exception::Generic
Generic exception.
Definition: Exception.hpp:10
C16::Value::Time::milliseconds
int milliseconds() const
Gets the milliseconds of the time since the last second.
C16::Value::Date::now_local
static Date now_local()
Gets the current date of the local timezone of the system.
C16::Database::Connection::Error::CLIENT_USER_LIMIT_REACHED
@ CLIENT_USER_LIMIT_REACHED
Client user limit reached.
C16::Procedure::Compilation::Error::MISSING_END
@ MISSING_END
Missing END.
C16::Table::record_test_id
virtual Result record_test_id(long long int id) const =0
Tests the existence of a record by means of its id.
C16::RecordsKey
Record set of records ordered by a key.
Definition: RecordsKey.hpp:14
C16::Flags
Set of enumerators.
Definition: Flags.hpp:15
C16::Value::Time::serial
long int serial() const
Gets the serial of the time in units of centiseconds since midnight (00:00).
C16::Procedure::Execution::Error::LINK_INVALID
@ LINK_INVALID
Link valid.
C16::Value::Date::day_of_week
int day_of_week() const
Gets the day of the week of the date.
C16::Database::Connection::Error::SERVER_UNREACHABLE
@ SERVER_UNREACHABLE
Server unreachable.
C16::Database::user_id
int user_id() const
Gets the id of the user accessing the database.
C16::Procedure::Execution::reset
void reset()
Resets the execution.
C16::Value::Time::MAXIMUM
static const Time MAXIMUM
Maximum time (23:59:59.99).
Definition: Time.hpp:32
C16::Result::NO_KEY
@ NO_KEY
Entity inexistent but following entity existent.
C16::Value::Moment
Absolute point in time.
Definition: Moment.hpp:12
C16::Key::Reorganization::Status::RUNNING
@ RUNNING
Reorganization running.
C16::Type::BIGINT
@ BIGINT
Value::Bigint.
C16::User::Logout::Result::OK
@ OK
Logout succeeded.
C16::Procedure::Execution::Error::DEADLOCK
@ DEADLOCK
Deadlock occurred.
C16::Database::Diagnosis::Status::READ_1
@ READ_1
Structure diagnosis (phase 1).
C16::Text::LineBreak
LineBreak
Line break.
Definition: Text.hpp:84
C16::Place::KEY
@ KEY
Operate on the entity identified by its key value.
C16::Type::ALPHA
@ ALPHA
Value::Alpha.
C16::Value::Moment::MAXIMUM
static const Moment MAXIMUM
Maximum moment (30000-12-31, 23:59:59.9999999).
Definition: Moment.hpp:51
C16::Flags::NOTHING
static constexpr Enumeration NOTHING
Valueless enumerator.
Definition: Flags.hpp:32
C16::BinaryObject::modified_moment_set
void modified_moment_set(const Value::Moment &moment)
Sets the moment of the last modification of the loaded binary object.
C16::Value::Moment::day
int day() const
Gets the day (of the month) of the moment.
C16::Selection::records_count
long int records_count() const
Gets the count of records of the loaded selection.
C16::Value::Time::validate
static bool validate(int hours, int minutes, int seconds=0, int centiseconds=0)
Validates a time by means of its hours, minutes, seconds and centiseconds since midnight (00:00).
C16::Server::user_limit
virtual int user_limit() const =0
Gets the user limit of the server.
C16::Text::StreamInput::StreamInput
StreamInput()
Constructs an input stream.
C16::Procedure::Compilation::Error::INVALID_PROPERTY
@ INVALID_PROPERTY
Invalid property.
C16::Variant::Variant
Variant()
Constructs a variant holding nothing.
C16::Value::Moment::year
int year() const
Gets the year of the moment.
C16::Text::erase
Result erase() const
Deletes the loaded text.
C16::Procedure::Compilation::Error::EXPRESSION_NOT_CONSTANT
@ EXPRESSION_NOT_CONSTANT
Expression not constant.
C16::Text::encrypted_set
void encrypted_set(bool encrypted)
Sets if the loaded text is encrypted.
C16::Procedure::Compilation::Error::PROCEDURE_DOES_NOT_EXIST
@ PROCEDURE_DOES_NOT_EXIST
Procedure does not exist.
C16::Binary::Exception::Exception
Exception(Error error)
Constructs an exception of an operation on a binary.
C16::Filesystem::Error::FILE_NOT_FOUND
@ FILE_NOT_FOUND
File not found.
C16::Type::NONE
@ NONE
No value.
C16::Array::front
const_reference front() const
Gets the first element of the array.
C16::ArrayGeneric::size_type
std::size_t size_type
Type of the size of the array.
Definition: Array.hpp:20
C16::Procedure::Execution::Error::LINK_FIELD_INEXISTENT
@ LINK_FIELD_INEXISTENT
Link field inexistent.
C16::Database::Connection::Error::DATABASE_IN_USE
@ DATABASE_IN_USE
Database in use.
C16::Variant::value_byte
const Value::Byte & value_byte() const
Short name alias for value<Value::Byte>() const.
C16::Value::Moment::assign
void assign(int year, int month, int day, int hours=0, int minutes=0, int seconds=0, long int decimicroseconds=0)
Assigns the moment by means of its year, month, day (of the month), hours, minutes,...
C16::Value::Time::Time
Time()
Constructs a zeroed time.
C16::Record::FieldConstGeneric::record
const Record & record() const override
Gets the record buffer of the field buffer.
C16::Value::Date::MINIMUM
static const Date MINIMUM
Minimum date (1900-01-01).
Definition: Date.hpp:44
C16::Database::Connection::Error::DATABASE_LOCKED
@ DATABASE_LOCKED
Database locked.
C16::Database::Connection::Error::DATABASE_OPENING_FAILED
@ DATABASE_OPENING_FAILED
Database opening failed.
C16::Procedure::Compilation::Error::PROCEDURE_CURRENTLY_PROCESSED
@ PROCEDURE_CURRENTLY_PROCESSED
Procedure currently processed.
C16::Database::Connection::Error::DATABASE_INEXISTENT
@ DATABASE_INEXISTENT
Database inexistent.
C16::Value::Moment::microseconds
long int microseconds() const
Gets the microseconds of the moment since the last second.
C16::Transactions
Transactions performed by the user accessing the database.
Definition: Transactions.hpp:12
C16::Value::Moment::operator<
bool operator<(const Moment &other) const
Gets if the moment is earlier than another moment.
C16::Value::Moment::clear
void clear()
Empties the moment.
C16::Value::Date::MAXIMUM
static const Date MAXIMUM
Maximum date (2154-12-31).
Definition: Date.hpp:50
C16::Value::Moment::operator=
Moment & operator=(const Moment &other)
Assigns the moment from another moment.
C16::Type::FLOAT
@ FLOAT
Value::Float.
C16::User::last_request_duration
long long int last_request_duration() const
Gets the duration since the last request of the loaded user to the database in units of seconds.
C16::Database::Connection::Error::DATABASE_INCOMPATIBLE
@ DATABASE_INCOMPATIBLE
Database incompatible.
C16::Array::IteratorConst::operator-
IteratorConst operator-(difference_type offset) const
Gets a decremented iterator.
C16::Database::Connection::Exception::Exception
Exception(Error error)
Constructs an exception of the connection to a database.
C16::Database::name
const std::string & name() const
Gets the name of the database.
C16::Variant::array_bigint
const Array< Value::Bigint > & array_bigint() const
Short name alias for array<Value::Bigint>() const.
C16::Tables::rend
IteratorConst rend() const noexcept
Gets a const-iterator of the table preceding the first table.
C16::Procedure::Compilation::Result::column_number
int column_number
Number of the column within the line of the procedure that caused the error.
Definition: Procedure.hpp:692
C16::BinaryObject::Compression
Compression
Compression of a binary object.
Definition: Binary.hpp:595
C16::Record::read_key
Result read_key(int key_number, Place place=Place::KEY, Locking locking=Locking::NONE, bool reverse=false)
Reads a record by means of a key and a place into the record buffer.
C16::Text::LineBreak::CR
@ CR
Carriage return (ASCII: 13, 0xD)
C16::Keys::get_if_existent
virtual const Key * get_if_existent(int table_number, int number) const =0
Gets a key by means of the number of the table and the number of the key, if existent.
C16::Value::Moment::operator!=
bool operator!=(const Moment &other) const
Gets if the moment is unequal to another moment.
C16::Database::user_number
int user_number() const
Gets the number of user accessing the database.
C16::Filesystem::Error::OPEN_FAILED
@ OPEN_FAILED
Open failed.
C16::Procedure::Compilation::Error::NOT_ENOUGH_MEMORY
@ NOT_ENOUGH_MEMORY
Not enough memory.
C16::Database::Connection::Error::DATABASE_LOCKED_BY_ADMINISTRATOR
@ DATABASE_LOCKED_BY_ADMINISTRATOR
Database locked by administrator.
C16::Procedure::Execution::ARGUMENT_COUNT_LIMIT
static const int ARGUMENT_COUNT_LIMIT
Argument count limit.
Definition: Procedure.hpp:167
C16::Table::subrecords
virtual const Series< Subrecord > & subrecords() const =0
Gets the subrecords of the table.
C16::Database::Diagnosis::Result::SERVER_MEMORY_INSUFFICIENT
@ SERVER_MEMORY_INSUFFICIENT
Memory of server insufficient.
C16::Locking
Locking
Locking to apply to a database entity.
Definition: Locking.hpp:12
C16::Database::diagnose
Diagnosis::Result diagnose(const Flags< Diagnosis::Option > &options, const Diagnosis::Callback &callback=Diagnosis::Callback()) const
Diagnoses the database.
C16::Exception::Invalidity::Invalidity
Invalidity(const std::string &what)
Constructs an exception.
C16::Key::Field::number
virtual int number() const =0
Gets the number of the field.
C16::Value::Date::operator==
bool operator==(const Date &other) const
Gets if the date is equal to another date.
C16::Binary::create
virtual Result create(const BinaryDirectory &directory, const std::string &path, Locking locking=Locking::LOCK_SHARED, bool overwrite=false)=0
Creates and loads a binary.
C16::Value::Alpha
std::string Alpha
String.
Definition: Native.hpp:16
C16::Text::group_set
void group_set(const std::string &group)
Sets the group of the loaded text.
C16::Record::insert
Result insert(Locking locking=Locking::NONE)
Inserts a record into the table.
C16::Value::Date::operator=
Date & operator=(const Date &other)
Assigns the date from another date.
C16::Text::right_read_set
void right_read_set(int right_read)
Sets the right required by a user to read the loaded text.
C16::Text::created_date
const Value::Date & created_date() const
Gets the date of the creation of the loaded text.
C16::Record::position_key
long int position_key(int key_number, bool reverse=false) const
Gets the position of the loaded record dependent on a key.
C16::Procedure::Compilation::Error::MISSING_CASE
@ MISSING_CASE
Missing CASE.
C16::Locking::NONE
@ NONE
Does not change the lock of the entity.
C16::Value::Date::Date
Date()
Constructs an empty date.
C16::Procedure::Compilation::Error::TOO_MANY_ARGUMENTS
@ TOO_MANY_ARGUMENTS
Too many arguments.
C16::Procedure::Execution::Error::FIELD_INEXISTENT
@ FIELD_INEXISTENT
Field inexistent.
C16::Variant::value_const
const Value & value_const() const
Gets the holded value of the variant.
C16::Texts
Texts of a database.
Definition: Texts.hpp:15
C16::User::loaded
bool loaded() const
Gets if a user is loaded into the user buffer.
C16::Variant::array_alpha
const Array< Value::Alpha > & array_alpha() const
Short name alias for array<Value::Alpha>() const.
C16::Record::operator==
bool operator==(const Record &other) const
Gets if the loaded record equals another record.
C16::Field::table
virtual const Table & table() const =0
Gets the table of the field.
C16::Exception::Difference
Exception caused by difference.
Definition: Exception.hpp:115
C16::BinaryObject::type_custom_set
void type_custom_set(const std::string &type_custom)
Sets the custom type of the loaded binary object.
C16::Binary::custom_set
virtual void custom_set(const std::string &custom)
Sets the custom property of the loaded binary.
C16::Client::memory_usage_peak
unsigned long long int memory_usage_peak() const
Gets the peak memory usage of the client in units of bytes.
C16::Record::Field::Field
Field(Record &record, const C16::Field &field)
Constructs a field buffer of a record buffer by means of its corresponing field.
C16::Filesystem::Error::READ_FAULT
@ READ_FAULT
Read fault occurred.
C16::Value::Moment::now_local
static Moment now_local()
Gets the current moment of the local timezone of the system.
C16::Procedure::Execution::Error::PROCEDURE_CODE_INCOMPATIBLE
@ PROCEDURE_CODE_INCOMPATIBLE
Procedure code incompatible.
C16::Value::Time::assign
void assign(int hours, int minutes, int seconds=0, int centiseconds=0)
Assigns the time by means of its hours, minutes, seconds and centiseconds since midnight (00:00).
C16::Procedure::Execution::Error::OPERATION_ILLEGAL
@ OPERATION_ILLEGAL
Operation illegal.
C16::ArrayGeneric::IteratorGeneric::operator<=
bool operator<=(const IteratorGeneric &other) const
Gets if the iterator is lower than or equal to another iterator.
C16::Text::modified_time
const Value::Time & modified_time() const
Gets the time of the last modification of the loaded text.
C16::Record
Record buffer to operate on records of a table.
Definition: Record.hpp:173
C16::Keys::get
virtual const Key & get(int table_number, int number) const =0
Gets a key by means of the number of the table and the number of the key.
C16::Selection::Selection
Selection(const Database &database, int table_number)
Constructs a selection buffer by means of the database and the number of its table.
C16::Table::record_lock_position_link
virtual Result record_lock_position_link(const Record &record_source, int link_number, long int position, Locking locking=Locking::LOCK_EXCLUSIVE, bool reverse=false) const =0
Applies a locking to a record by means of its position dependent on a link.
C16::User::User
User(const Database &database)
Constructs a user buffer.
C16::Tables::IteratorConst::operator-=
IteratorConst & operator-=(difference_type offset)
Decrements the iterator.
C16::Database::backup_duration_remaining
int backup_duration_remaining() const
Gets the remaining backup duration of the database in units of seconds.
C16::Database::Diagnosis::Status::DONE
@ DONE
Diagnosis done.
C16::Field::right_output
virtual int right_output() const =0
Gets the right required by a user to output the field.
C16::Procedure::execute
Variant execute(const std::string &function_name, Arguments &&... arguments) const
Executes a function of the procedure.
Definition: Procedure.hpp:509
C16::Tables::IteratorConst::operator--
IteratorConst & operator--()
Decrements the iterator.
C16::Procedure::Compilation::Error::MISSING_DO
@ MISSING_DO
Missing DO.
C16::BinaryObject::type
const std::string & type() const
Gets the type the loaded binary object.
C16::Database::version
const std::string & version() const
Gets the version of the database.
C16::Procedure::Execution::argument_add_reference
void argument_add_reference(Value::Alpha &argument)
Adds a single argument to the execution which is passed by reference.
C16::Text::create
Result create(const std::string &name, Locking locking=Locking::NONE)
Creates and loads a text.
C16::Binary::custom
const std::string & custom() const
Gets the custom property of the loaded binary.
C16::Server::name
virtual const std::string & name() const =0
Gets the name of the server.
C16::Type::WORD
@ WORD
Value::Word.
C16::Table::NUMBER_MINIMUM
static const int NUMBER_MINIMUM
Minimum number of a table.
Definition: Table.hpp:30
C16::Procedure::Compilation::Result::line_number
int line_number
Number of the line of the procedure that caused the error.
Definition: Procedure.hpp:685
C16::Transaction::comitted
bool comitted() const
Gets if the transaction was comitted.
C16::Procedure::Compilation::Error::UNKNOWN_LABEL
@ UNKNOWN_LABEL
Unknown label.
C16::Database::Diagnosis::Result::OTHER
@ OTHER
Other error occurred.
C16::Filesystem::Exception::Exception
Exception(Error error)
Constructs an exception of a filesystem.
C16::Filesystem::Error::SHARING_VIOLATION
@ SHARING_VIOLATION
Sharing violation occurred.
C16::Database
Database hosted by a server.
Definition: Database.hpp:38
C16::Key::Reorganization::Result::ABORTED
@ ABORTED
Reorganization aborted.
C16::BinaryObject::created_user
const std::string & created_user() const
Gets the user who created the loaded binary object.
C16::Array::IteratorConst::operator=
IteratorConst & operator=(const IteratorConst &other)
Assigns the iterator from another iterator.
C16::Procedure::Compilation::Error::INVALID_INSTRUCTION
@ INVALID_INSTRUCTION
Invalid instruction.
C16::Procedures
Procedures of a database.
Definition: Procedures.hpp:74
C16::Selection::created_time
const Value::Time & created_time() const
Gets the time of the creation of the loaded selection.
C16::Result
Result
Result of an operation related to a database entity.
Definition: Result.hpp:12
C16::Record::position_link
long int position_link(const Record &record_source, int link_number, bool reverse=false) const
Gets the position of the loaded record dependent on a link.
C16::Array::Iterator::operator->
pointer operator->() const
Gets the element of the iterator.
C16::Selection::executed_date
const Value::Date & executed_date() const
Gets the date of the last execution of the loaded selection.
C16::Text::LineBreak::CR_LF
@ CR_LF
Carriage return & line feed (ASCII: 13 10, 0xD 0xA)
C16::Selection::record_insert
Result record_insert(const Record &record) const
Inserts a record into the loaded selection.
C16::Record::FieldCommon::field
const Field & field() const
Gets the field of the field buffer.
C16::BinaryObject::content_import_from_file
Result content_import_from_file(const std::string &file_path, Compression compression=Compression::NONE, const std::string &cipher_key=std::string())
Imports the content of the loaded binary object from a file.
C16::Text::StreamBufferInput::associated
bool associated() const override
Gets if there is text buffer associated with the input stream buffer.
C16::Text::created_time
const Value::Time & created_time() const
Gets the time of the creation of the loaded text.
C16::Procedure::Compilation::Result::line_text
std::string line_text
Text of the line of the procedure that caused the error.
Definition: Procedure.hpp:698
C16::Exception::Difference::Difference
Difference(const std::string &what)
Constructs an exception.
C16::Value::Date::operator!=
bool operator!=(const Date &other) const
Gets if the date is unequal to another date.
C16::Key::unique
virtual bool unique() const =0
Gets if the key is unique.
C16::Text::StreamInput
Input stream for reading texts.
Definition: Text.hpp:871
C16::Field::Collation::SOUNDEX_2
@ SOUNDEX_2
Soundex 2 collation.
C16::Database::origin
bool origin() const
Gets if the database is the origin database.
C16::Value::Date::YEAR_MINIMUM
static const int YEAR_MINIMUM
Minimum year of a date.
Definition: Date.hpp:26
C16::Result::LAST_REC
@ LAST_REC
Entity and following entity inexistent but preceding entity existent.
C16::BinaryObject::read
Result read(const BinaryDirectory &directory, const std::string &name, Place place=Place::KEY, Locking locking=Locking::NONE) override
Reads a binary by means of a base binary directory, a reference name and a place into the binary buff...
C16::Variant::value_bigint_const
const Value::Bigint & value_bigint_const() const
Short name alias for value<Value::Bigint>() const.
C16::BinaryObject::modified_moment_file
Value::Moment modified_moment_file() const
Gets the moment of the last file modification of the loaded binary object.
C16::Text::copy
Result copy(const std::string &name) const
Copies the loaded text.
C16::Value::Date::serial
long int serial() const
Gets the serial of the date in units of days since the epoch.
C16::Binary::write
virtual Result write() const =0
Writes the loaded binary.
C16::Tables::database
virtual Database & database() const =0
Gets the database of the tables.
C16::Procedure::Execution::Error::TABLE_INVALID
@ TABLE_INVALID
Table invalid.
C16::Database::binary_directory_root
const BinaryDirectory & binary_directory_root() const
Gets the root binary directory of the database.
C16::Text::NAME_LENGTH_LIMIT
static const int NAME_LENGTH_LIMIT
Name length limit.
Definition: Text.hpp:73
C16::Value::Moment::month
int month() const
Gets the month of the moment.
C16::Procedure::compile_result
Compilation::Result compile_result(Compilation::ErrorLanguage error_language=Compilation::ErrorLanguage::ENGLISH_US) const
Compiles the procedure and gets its result.
C16::Procedure::Compilation::ErrorLanguage::SYSTEM_ACCOUNT
@ SYSTEM_ACCOUNT
Language of the system account.
C16::Text::Stream::associated
bool associated() const
Gets if there is text buffer associated with the stream.
C16::Text::Stream::line_break
LineBreak line_break() const
Gets the line break of the stream.
C16::Database::Diagnosis::Option::RECOVERY
@ RECOVERY
Option to perform a recovery.
C16::Table::Fields
Fields of a table.
Definition: Table.hpp:341
C16::Procedure::Compilation::Error::INVALID_SECTION
@ INVALID_SECTION
Invalid section.
C16::Array::IteratorConst::operator++
IteratorConst & operator++()
Increments the iterator.
C16::Text::StreamBufferInput::associate
void associate(const Text &text)
C16::Value::Time::clear
void clear(bool empty=false)
Zeros or empties the time.
C16::Client
Client to access a server hosting databases.
Definition: Client.hpp:21
C16::Value::Word
std::uint16_t Word
Integer number (unsigned, 16 bits).
Definition: Native.hpp:22
C16::Variant::array_int
const Array< Value::Int > & array_int() const
Short name alias for array<Value::Int>() const.
C16::Subrecord::database
virtual Database & database() const =0
Gets the database of the subrecord.
C16::Filesystem::Error::LOCK_VIOLATION
@ LOCK_VIOLATION
Lock violation occurred.
C16::RecordsSelection
Record set of records restricted and ordered by a selection.
Definition: RecordsSelection.hpp:16
C16::BinaryObject::unload
void unload() override
Unloads the loaded binary.
C16::BinaryDirectory::write
Result write() const override
Writes the loaded binary.
C16::Procedure::Execution::Error::VALUE_OUT_OF_RANGE
@ VALUE_OUT_OF_RANGE
Value out of range.
C16::User::login_time
const Value::Time & login_time() const
Gets the time of the login of the loaded user to the database.
C16::Binary::Exception
Exception of an operation on a binary.
Definition: Binary.hpp:58
C16::Value::Date::month
int month() const
Gets the month of the date.
C16::Value::Moment::day_of_week
int day_of_week() const
Gets the day of the week of the moment.
C16::Procedure::Execution::Error::SELECTIONS_IDENTICAL
@ SELECTIONS_IDENTICAL
Selections idenctical.
C16::Database::Connection::Error::DATABASE_IN_ROLLBACK_MODE
@ DATABASE_IN_ROLLBACK_MODE
Database in rollback mode.
C16::ArrayGeneric::IteratorGeneric::operator!=
bool operator!=(const IteratorGeneric &other) const
Gets if the iterator is unequal to another iterator.
C16::Variant::array_date
const Array< Value::Date > & array_date() const
Short name alias for array<Value::Date>() const.
C16::Record::field_const
FieldConst< Value > field_const(const C16::Field &field) const
Convenience alias for Record::FieldConst<Value>(const Record& record, const Field& field).
C16::Value::Time::centiseconds
int centiseconds() const
Gets the centiseconds of the time since the last second.
C16::Procedure::Execution::error_throw
void error_throw() const
Throws an exception if the execution has an error.
C16::Record::FieldConst::FieldConst
FieldConst(const Record &record, const C16::Field &field)
Constructs a constent field buffer of a record buffer by means of its corresponing field.
C16::Text::size
long int size() const
Gets the size of the loaded text in units of bytes.
C16::Value::Date::validate
static bool validate(int year, int month, int day)
Validates a date by means of its year, month and day (of the month).
C16::Variant::value_time
const Value::Time & value_time() const
Short name alias for value<Value::Time>() const.
C16::Table::record_lock_id
virtual Result record_lock_id(long long int id, Locking locking=Locking::LOCK_EXCLUSIVE) const =0
Applies a locking to a record by means of its id.
C16::Value::Date::days_in_month
static int days_in_month(int year, int month)
Gets the days in a month.
C16::Value::Time::operator<=
bool operator<=(const Time &other) const
Gets if the time is equal to or earlier than another time.
C16::Transaction::Transaction
Transaction(Database &database)
Constructs and starts a transaction.
C16::Transactions::depth
virtual int depth() const =0
Gets the depth of the transactions.
C16::Flags::clear
void clear()
Empties the flags.
Definition: Flags.hpp:128
C16::Procedure::Execution::Error::FUNCTION_INEXISTENT
@ FUNCTION_INEXISTENT
Function inexistent.
C16::Subrecords::get_if_existent
virtual Subrecord * get_if_existent(int table_number, int number) const =0
Gets a subrecord by means of the number of the table and the number of the subrecord,...
C16::Procedure::Execution::Error::SELECTIONS_SORT_DIFFERENT
@ SELECTIONS_SORT_DIFFERENT
Sort of selections different.
C16::Procedure::Execution::Error::VALUE_OVERFLOW
@ VALUE_OVERFLOW
Value overflow occurred.
C16::Binary::loaded
bool loaded() const
Gets if a binary is loaded into the binary buffer.
C16::Exception::Invalidity
Exception caused by invalidity.
Definition: Exception.hpp:75
C16::Key::Reorganization::Callback
std::function< void(Status status, long long int record_id_processed_last, long int key_entries_processed, long int records_defective, long int key_entry_collisions, bool &abort) > Callback
Callback of a reorganization of a key.
Definition: Key.hpp:111
C16::BinaryObject::storage_id
long long int storage_id() const
Gets the storage id of the loaded binary object.
C16::Procedure::Compilation::Error::DATA_LIMIT_EXCEEDED
@ DATA_LIMIT_EXCEEDED
Data limit exceeded.
C16::BinaryObject::write
Result write() const override
Writes the loaded binary.
C16::Text::StreamOutput
Output stream for writing texts.
Definition: Text.hpp:945
C16::Procedure::Compilation::Error::MISSING_END_OF_COMMENT
@ MISSING_END_OF_COMMENT
Missing end of comment.
C16::Procedure::Compilation::Error::UNKNOWN_NAME
@ UNKNOWN_NAME
Unknown name.
C16::Procedure::Execution::arguments_add
void arguments_add(Arguments &&... arguments)
Adds multiple arguments to the execution.
Definition: Procedure.hpp:250
C16::Field::database
virtual Database & database() const =0
Gets the database of the field.
C16::Filesystem::Error::OTHER
@ OTHER
Other error occurred.
C16::Record::read_link
Result read_link(const Record &record_source, int link_number, Place place, Locking locking=Locking::NONE, bool reverse=false)
Reads a record by means of a link and a place into the record buffer.
C16::Value::Moment::date
Date date() const
Gets the date of the moment.
C16::Database::Connection::Error::DATABASE_LOCKED_STANDBY
@ DATABASE_LOCKED_STANDBY
Database locked (Database in standby mode).
C16::Value::Date::clear
void clear()
Empties the date.
C16::Variant::Alternative::VALUE_LOGIC
@ VALUE_LOGIC
Variant holds a Value::Logic.
C16::Variant::array_byte
const Array< Value::Byte > & array_byte() const
Short name alias for array<Value::Byte>() const.
C16::Variant::value_logic
const Value::Logic & value_logic() const
Short name alias for value<Value::Logic>() const.
C16::Variant::Alternative::VALUE_BIGINT
@ VALUE_BIGINT
Variant holds a Value::Bigint.
C16::Text::personal_user
const std::string & personal_user() const
Gets the user who set the loaded text to private.
C16::Variant::Alternative::NONE
@ NONE
Variant holds nothing.
C16::Variant::space
Space space() const
Gets the space of the variant.
C16::BinaryObject::size
long long int size() const
Gets the size of the loaded binary object in units of bytes.
C16::Field::length
virtual int length() const =0
Gets the length of the field.
C16::Text::StreamBufferOutput::StreamBufferOutput
StreamBufferOutput()
Constructs an output stream buffer.
C16::Exception::Inexistence::Inexistence
Inexistence(const std::string &what)
Constructs an exception.
C16::Value::Time::hours
int hours() const
Gets the hours of the time.
C16::Locking::UNLOCK
@ UNLOCK
Removes a lock applied by the accessing user from the entity.
C16::Transaction::state
State state() const
Gets the state of the transaction.
C16::Key
Key of a table.
Definition: Key.hpp:17
C16::Value::Time::operator!=
bool operator!=(const Time &other) const
Gets if the time is unequal to another time.
C16::Tables::IteratorConst::operator<=
bool operator<=(const IteratorConst &other) const
Gets if the iterator is lower than or equal to another iterator.
C16::Variant::value_alpha_const
const Value::Alpha & value_alpha_const() const
Short name alias for value<Value::Alpha>() const.
C16::Value::Date::week
int week() const
Gets the week (according to ISO 8601) of the date.
C16::Transaction::State::COMMITTED
@ COMMITTED
Transaction was commited.
C16
Namespace.
Definition: Array.hpp:6
C16::Value::Moment::empty
bool empty() const
Gets if the moment is empty.
C16::Value::Date::operator<=
bool operator<=(const Date &other) const
Gets if the date is equal to or earlier than another date.
C16::Subrecord::fields
virtual const Series< Field > & fields() const =0
Gets the fields of the subrecord.
C16::Variant::array_logic
const Array< Value::Logic > & array_logic() const
Short name alias for array<Value::Logic>() const.
C16::Procedure::Execution::Error::PROCEDURE_CALL_OLD
@ PROCEDURE_CALL_OLD
Old procedure (A-) called.
C16::Subrecord::name
virtual const std::string & name() const =0
Gets the name of the subrecord.
C16::User::login_duration
long long int login_duration() const
Gets the duration since the login of the loaded user to the database in units of seconds.
C16::Value::Date::day_of_year
int day_of_year() const
Gets the day of the year of the date.
C16::Variant::value_int
const Value::Int & value_int() const
Short name alias for value<Value::Int>() const.
C16::Record::Field
Field buffer of a record buffer.
Definition: Record.hpp:1115
C16::Text::StreamBuffer::dissociate
virtual void dissociate()=0
Dissociates an associated text buffer from the stream buffer.
C16::Procedure::Execution::Error::STRING_LENGTH_EXCEEDED
@ STRING_LENGTH_EXCEEDED
String length exceeded.
C16::Key::Reorganization::Result::OK
@ OK
Reorganization succeeded.
C16::Variant::array
const Array< Value > & array() const
Gets the holded array of the variant.
C16::BinaryObject::Compression::MEDIUM
@ MEDIUM
Medium compression.
C16::Procedure::Execution::Error
Error
Error of the execution of a procedure.
Definition: Procedure.hpp:288
C16::User::name
const std::string & name() const
Gets the name of the loaded user.
C16::Variant::Alternative::ARRAY_BIGINT
@ ARRAY_BIGINT
Variant holds an Array<Value::Bigint>.
C16::ArrayGeneric::IteratorGeneric::operator-
difference_type operator-(const IteratorGeneric &other) const
Gets the difference to another iterator.
C16::Variant::type
Type type() const
Gets the type of the variant.
C16::Record::database
const Database & database() const
Gets the database of the record buffer.
C16::Array
Array of elements.
Definition: Array.hpp:177
C16::Tables::IteratorConst::operator++
IteratorConst & operator++()
Increments the iterator.
C16::Text::content
std::string content(LineBreak line_break=LineBreak::LF) const
Gets the content of the loaded text.
C16::Text::personal_set
void personal_set(bool personal)
Sets if the loaded text is private.
C16::Subrecords::database
virtual Database & database() const =0
Gets the database of the subrecords.
C16::Variant::Space::ARRAY
@ ARRAY
Variant holds an Array.
C16::Record::FieldCommon::record
virtual const Record & record() const =0
Gets the record buffer of the field buffer.
C16::Table::Fields::get
virtual Field & get(int subrecord_number, int number) const =0
Gets a field by means of the number of the subrecord and the number of the field.
C16::Key::Reorganization::Result::SERVER_BUSY
@ SERVER_BUSY
Server busy.
C16::Field::right_input
virtual int right_input() const =0
Gets the right required by a user to input the field.
C16::Exception::Inexistence
Exception caused by inexistence.
Definition: Exception.hpp:95
C16::BinaryObject::storage_consumption
long long int storage_consumption() const
Gets the storage consumption of the loaded binary object in units of bytes.
C16::Selection::right_execute
int right_execute() const
Gets the right required by a user to execute the loaded selection.
C16::Value::Time::operator>=
bool operator>=(const Time &other) const
Gets if the time is equal to or later than another time.
C16::Variant::Alternative::ARRAY_LOGIC
@ ARRAY_LOGIC
Variant holds an Array<Value::Logic>.
C16::Procedure::Execution::Error::ARRAY_INDEX_INVALID
@ ARRAY_INDEX_INVALID
Array index invalid.
C16::BinaryDirectory::unload
void unload() override
Unloads the loaded binary.
C16::Exception::Internal::Internal
Internal(int code=-1)
Constructs an internal exception.
C16::Selection
Selection buffer to operate on selections of a table.
Definition: Selection.hpp:57
C16::Text::line_count
long int line_count() const
Gets the line count of the loaded text.
C16::Procedure::Execution::execute
const Variant & execute()
Executes the execution.
C16::Database::Diagnosis::Status
Status
Status of a diagnosis of a database.
Definition: Database.hpp:338
C16::RecordsKey::count
long int count() const override
Gets the count of records of the record set.
C16::Procedure::Compilation::Result::error_text
std::string error_text
Error text of the result.
Definition: Procedure.hpp:704
C16::Record::id
long long int id() const
Gets the id of the loaded record.
C16::Tables::IteratorConst::operator>=
bool operator>=(const IteratorConst &other) const
Gets if the iterator is greater than or equal to another iterator.
C16::Value::Bigint
std::int64_t Bigint
Integer number (signed, 64 bits).
Definition: Native.hpp:26
C16::Database::keys
const Keys & keys() const
Gets the keys of the database.
C16::Variant::value_time_const
const Value::Time & value_time_const() const
Short name alias for value<Value::Time>() const.
C16::Array::operator[]
const_reference operator[](size_type index) const
Gets an element of the array by means of its index.
C16::Result::OK
@ OK
Operation succeeded.
C16::Binary::Error::OPERATION_UNAVAILABLE
@ OPERATION_UNAVAILABLE
Operation unavailable.
C16::Variant::Alternative::ARRAY_TIME
@ ARRAY_TIME
Variant holds an Array<Value::Time>.
C16::Array::rend
IteratorConst rend() const noexcept
Gets a const-iterator of the element preceding the first element of the array.
C16::Table::name
virtual const std::string & name() const =0
Gets the name of the table.
C16::Field
Field of a table.
Definition: Field.hpp:16
C16::Selection::loaded
bool loaded() const
Gets if a selection is loaded into the selection buffer.
C16::Database::Diagnosis::Status::PRIMES
@ PRIMES
Prime diagnosis.
C16::Variant::array_const
const Array< Value > & array_const() const
Gets the holded array of the variant.
C16::Type
Type
Type of a value.
Definition: Type.hpp:12
C16::Variant::value_int_const
const Value::Int & value_int_const() const
Short name alias for value<Value::Int>() const.
C16::Result::NO_REC
@ NO_REC
Entity inexistent.
C16::Value::Moment::YEAR_MAXIMUM
static const int YEAR_MAXIMUM
Maximum year of a moment.
Definition: Moment.hpp:33
C16::Table
Table of a database.
Definition: Table.hpp:21
C16::BinaryObject::created_user_set
void created_user_set(const std::string &user)
Sets the user who created the loaded binary object.
C16::Binary::id
long long int id() const
Gets the id of the loaded binary.
C16::Subrecord
Subrecord of a table.
Definition: Subrecord.hpp:16
C16::Value::Moment::time
Time time() const
Gets the time of the moment.
C16::BinaryDirectory::erase_object
Result erase_object(const std::string &path) const
Deletes a binary object within the loaded binary directory.
C16::Array::IteratorConst::reference
const Element & reference
Type of a reference to an element of the iterator.
Definition: Array.hpp:276
C16::Text::LineBreak::NUL
@ NUL
Null character (ASCII: 0, 0x0)
C16::Type::DATE
@ DATE
Value::Date.
C16::Procedure::Compilation::Error::MISSING_LOOP
@ MISSING_LOOP
Missing LOOP.
C16::Procedure::Compilation::ErrorLanguage
ErrorLanguage
Error language of a compilation of a procedure.
Definition: Procedure.hpp:533
C16::Database::Connection::Exception
Exception of a connection to a database.
Definition: Database.hpp:105
C16::Procedures::compile_result
virtual Procedure::Compilation::Result compile_result(const std::string &name, Procedure::Compilation::ErrorLanguage error_language=Procedure::Compilation::ErrorLanguage::ENGLISH_US) const =0
Compiles a procedure and gets its result.
C16::Procedure::compile
Compilation::Error compile() const
Compiles the procedure and gets its error.
C16::Texts::copy
virtual Result copy(const std::string &name, const std::string &name_copy)=0
Copies a text.
C16::Result::DEADLOCK
@ DEADLOCK
Deadlock occurred.
C16::Exception::Internal::code
int code() const
Gets the code of the internal exception.
C16::Value::Time::operator>
bool operator>(const Time &other) const
Gets if the time is later than another time.
C16::Table::records_erase
virtual void records_erase() const =0
Deletes the records of the table.
C16::Flags::EMPTY
static const Flags< Enumeration > EMPTY
Empty flags.
Definition: Flags.hpp:26
C16::Value::Moment::minutes
int minutes() const
Gets the minutes of the moment since the last hour.
C16::Users
Users of a database.
Definition: Users.hpp:12
C16::Value::Moment::nanoseconds
long int nanoseconds() const
Gets the nanoseconds of the moment since the last second.