userver: storages::postgres::CompositeTypeDescription Class Reference
Loading...
Searching...
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 )
inline

Definition at line 22 of file user_types.hpp.

Member Function Documentation

◆ Empty()

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

Definition at line 25 of file user_types.hpp.

◆ operator[]()

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

Definition at line 26 of file user_types.hpp.

◆ Size()

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

Definition at line 24 of file user_types.hpp.


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