iceberg-cpp
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Attributes | List of all members
iceberg::ConfigBase< ConcreteConfig > Class Template Reference

Classes

class  Entry
 

Public Member Functions

template<typename T >
ConfigBaseSet (const Entry< T > &entry, const T &val)
 
template<typename T >
ConfigBaseUnset (const Entry< T > &entry)
 
ConfigBaseReset ()
 
template<typename T >
Get (const Entry< T > &entry) const
 
const std::unordered_map< std::string, std::string > & configs () const
 
std::unordered_map< std::string, std::string > & mutable_configs ()
 
std::unordered_map< std::string, std::string > Extract (std::string_view prefix) const
 Extracts the prefix from the configuration.
 

Protected Attributes

std::unordered_map< std::string, std::string > configs_
 

Member Function Documentation

◆ Extract()

template<class ConcreteConfig >
std::unordered_map< std::string, std::string > iceberg::ConfigBase< ConcreteConfig >::Extract ( std::string_view  prefix) const
inline

Extracts the prefix from the configuration.

Parameters
prefixThe prefix to extract.
Returns
A map of entries that match the prefix with prefix removed.

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