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

#include <PropertyRepositoryEntry.h>

Inheritance diagram for lintel::PropertyRepositoryEntry:
lintel::Entry

Public Member Functions

 PropertyRepositoryEntry (std::string_view component, PropertyRepositoryType type, bool isMutable, bool isShadow)
 
bool isMutable ()
 
bool isShadow ()
 
PropertyRepositoryType getType ()
 
- Public Member Functions inherited from lintel::Entry
 Entry (std::string_view component)
 
constexpr std::string_view getConfigurationParserComponent () const
 

Friends

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

Detailed Description

Configuration entry for a property repository (type, mutability, shadow mode)

Constructor & Destructor Documentation

◆ PropertyRepositoryEntry()

lintel::PropertyRepositoryEntry::PropertyRepositoryEntry ( std::string_view  component,
PropertyRepositoryType  type,
bool  isMutable,
bool  isShadow 
)
Parameters
componentcomponent name
typerepository type
isMutablewhether the repository supports writes
isShadowwhether it is a shadow (read-only fallback) repository

Member Function Documentation

◆ getType()

PropertyRepositoryType lintel::PropertyRepositoryEntry::getType ( )
Returns
the repository type

◆ isMutable()

bool lintel::PropertyRepositoryEntry::isMutable ( )
Returns
true if the repository is mutable

◆ isShadow()

bool lintel::PropertyRepositoryEntry::isShadow ( )
Returns
true if the repository is a shadow

Friends And Related Symbol Documentation

◆ operator<<

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

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