userver: storages::postgres::CompositeTypeDescription Class Reference
No Matches
storages::postgres::CompositeTypeDescription Class Reference

#include <userver/storages/postgres/io/user_types.hpp>

Detailed Description

PostgreSQL composite type description.

Definition at line 19 of file user_types.hpp.

Public Types

using CompositeFieldDefs = std::vector<CompositeFieldDef>

Public Member Functions

 CompositeTypeDescription (CompositeFieldDefs::const_iterator begin, CompositeFieldDefs::const_iterator end)
std::size_t Size () const
bool Empty () const
const CompositeFieldDefoperator[] (std::size_t index) const

Member Typedef Documentation

◆ CompositeFieldDefs

using storages::postgres::CompositeTypeDescription::CompositeFieldDefs = std::vector<CompositeFieldDef>

Definition at line 21 of file user_types.hpp.

Constructor & Destructor Documentation

◆ CompositeTypeDescription()

storages::postgres::CompositeTypeDescription::CompositeTypeDescription ( CompositeFieldDefs::const_iterator begin,
CompositeFieldDefs::const_iterator end )

Definition at line 22 of file user_types.hpp.

Member Function Documentation

◆ Empty()

bool storages::postgres::CompositeTypeDescription::Empty ( ) const

Definition at line 26 of file user_types.hpp.

◆ operator[]()

const CompositeFieldDef & storages::postgres::CompositeTypeDescription::operator[] ( std::size_t index) const

Definition at line 27 of file user_types.hpp.

◆ Size()

std::size_t storages::postgres::CompositeTypeDescription::Size ( ) const

Definition at line 25 of file user_types.hpp.

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