lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
lintel::Entry Class Reference

#include <Entry.h>

Inheritance diagram for lintel::Entry:
lintel::DatabaseConnectionEntry lintel::EventBusEntry lintel::HistoryServiceEntry lintel::HttpEntry lintel::LoggerEntry lintel::MessageQueueEntry lintel::ProcessEntry lintel::PropertyEntry lintel::PropertyRepositoryEntry lintel::SharedMemorySegmentEntry

Public Member Functions

 Entry (std::string_view component)
 
constexpr std::string_view getConfigurationParserComponent () const
 

Friends

std::ostream & operator<< (std::ostream &os, const Entry &entry)
 

Detailed Description

Base class for all configuration entries

Constructor & Destructor Documentation

◆ Entry()

lintel::Entry::Entry ( std::string_view  component)
explicit

Construct an entry with the given component name

Parameters
componentThe configuration parser component name

Member Function Documentation

◆ getConfigurationParserComponent()

constexpr std::string_view lintel::Entry::getConfigurationParserComponent ( ) const
inlineconstexpr

Get the component name that produced this entry

Returns
The component name

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const Entry &  entry 
)
friend

Stream insertion operator

Parameters
osThe output stream
entryThe entry to output
Returns
The output stream

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