Kanzi Connect  3.9.8
Kanzi Connect C++ API
kanzi::connect::ContentAdapterConfiguration::Field Class Reference

Describes a single column in database. More...

#include <content_adapter_configuration.hpp>

Public Member Functions

 Field (const string &column, DataObject::Type type, const string &name)
 Constructor. More...
 
 Field (const Field &other)=default
 Copy constructor. More...
 
 Field (Field &&other)
 Move constructor. More...
 
bool fillOverrideValues (const Field &overriderField)
 Override this fields data with data from another field. More...
 
Fieldoperator= (Field &&other)
 Move assignment. More...
 
Fieldoperator= (const Field &other)=default
 Copy assignment operator. More...
 

Public Attributes

string m_column
 The name of the database column. More...
 
string m_dynamicSourceName
 Name of a external object. More...
 
string m_lookupColumn
 The column that can be used to filter out certain results from the items. More...
 
string m_name
 The name of the data field. More...
 
string m_preloadUrl
 If resource, a placeholder resource to be shown while preloading. More...
 
DataObject::Type m_type
 The type of the data field. More...
 

Detailed Description

Describes a single column in database.

Constructor & Destructor Documentation

◆ Field() [1/3]

kanzi::connect::ContentAdapterConfiguration::Field::Field ( const string &  column,
DataObject::Type  type,
const string &  name 
)

Constructor.

Parameters
columnName of the column in table.
typeDatatype of the column.
nameName of the data object that holds the output value.

◆ Field() [2/3]

kanzi::connect::ContentAdapterConfiguration::Field::Field ( const Field other)
default

Copy constructor.

Parameters
otherOther field to copy

◆ Field() [3/3]

kanzi::connect::ContentAdapterConfiguration::Field::Field ( Field &&  other)

Move constructor.

Parameters
otherOther field to move from

Member Function Documentation

◆ fillOverrideValues()

bool kanzi::connect::ContentAdapterConfiguration::Field::fillOverrideValues ( const Field overriderField)

Override this fields data with data from another field.

Parameters
overriderFieldInstance whose data is used

◆ operator=() [1/2]

Field& kanzi::connect::ContentAdapterConfiguration::Field::operator= ( Field &&  other)

Move assignment.

Parameters
otherOther field to move from

◆ operator=() [2/2]

Field& kanzi::connect::ContentAdapterConfiguration::Field::operator= ( const Field other)
default

Copy assignment operator.

Parameters
otherOther field to assign to this

Member Data Documentation

◆ m_column

string kanzi::connect::ContentAdapterConfiguration::Field::m_column

The name of the database column.

◆ m_dynamicSourceName

string kanzi::connect::ContentAdapterConfiguration::Field::m_dynamicSourceName

Name of a external object.

◆ m_lookupColumn

string kanzi::connect::ContentAdapterConfiguration::Field::m_lookupColumn

The column that can be used to filter out certain results from the items.

◆ m_name

string kanzi::connect::ContentAdapterConfiguration::Field::m_name

The name of the data field.

◆ m_preloadUrl

string kanzi::connect::ContentAdapterConfiguration::Field::m_preloadUrl

If resource, a placeholder resource to be shown while preloading.

◆ m_type

DataObject::Type kanzi::connect::ContentAdapterConfiguration::Field::m_type

The type of the data field.


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