Public Member Functions | Private Attributes | List of all members
MapPropertiesProvider Class Reference

#include <properties_providers.h>

Inheritance diagram for MapPropertiesProvider:
Inheritance graph
[legend]

Public Member Functions

bool get_bool (const std::string &id, bool dflt) const override
 
double get_dbl (const std::string &id, double dflt) const override
 
int get_int (const std::string &id, int dflt) const override
 
str get_str (const std::string &id, const str &dflt) const override
 
unsigned get_uint (const std::string &id, unsigned dflt) const override
 
bool has_property (const std::string &id) const
 
MapPropertiesProvideroperator+= (const MapPropertiesProvider &that)
 
void set_property (const std::string &id, const std::string &value)
 

Private Attributes

std::unordered_map< std::string, std::string > _props
 

Additional Inherited Members

- Protected Types inherited from PropertiesProvider
using str = std::string
 

Detailed Description

Definition at line 28 of file properties_providers.h.

Member Function Documentation

bool MapPropertiesProvider::get_bool ( const std::string &  id,
bool  dflt 
) const
inlineoverridevirtual

Implements PropertiesProvider.

Definition at line 55 of file properties_providers.h.

double MapPropertiesProvider::get_dbl ( const std::string &  id,
double  dflt 
) const
inlineoverridevirtual

Implements PropertiesProvider.

Definition at line 43 of file properties_providers.h.

int MapPropertiesProvider::get_int ( const std::string &  id,
int  dflt 
) const
inlineoverridevirtual

Implements PropertiesProvider.

Definition at line 39 of file properties_providers.h.

str MapPropertiesProvider::get_str ( const std::string &  id,
const str dflt 
) const
inlineoverridevirtual

Implements PropertiesProvider.

Definition at line 47 of file properties_providers.h.

unsigned MapPropertiesProvider::get_uint ( const std::string &  id,
unsigned  dflt 
) const
inlineoverridevirtual

Implements PropertiesProvider.

Definition at line 51 of file properties_providers.h.

bool MapPropertiesProvider::has_property ( const std::string &  id) const
inline

Definition at line 35 of file properties_providers.h.

MapPropertiesProvider& MapPropertiesProvider::operator+= ( const MapPropertiesProvider that)
inline

Definition at line 61 of file properties_providers.h.

void MapPropertiesProvider::set_property ( const std::string &  id,
const std::string &  value 
)
inline

Definition at line 31 of file properties_providers.h.

Member Data Documentation

std::unordered_map<std::string, std::string> MapPropertiesProvider::_props
private

Definition at line 68 of file properties_providers.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26