Public Member Functions | Private Attributes | List of all members
cartographer::common::ConfigurationFileResolver Class Reference

#include <configuration_file_resolver.h>

Inheritance diagram for cartographer::common::ConfigurationFileResolver:
Inheritance graph
[legend]

Public Member Functions

 ConfigurationFileResolver (const std::vector< std::string > &configuration_files_directories)
 
std::string GetFileContentOrDie (const std::string &basename) override
 
std::string GetFullPathOrDie (const std::string &basename) override
 
- Public Member Functions inherited from cartographer::common::FileResolver
virtual ~FileResolver ()
 

Private Attributes

std::vector< std::string > configuration_files_directories_
 

Detailed Description

Definition at line 34 of file configuration_file_resolver.h.

Constructor & Destructor Documentation

◆ ConfigurationFileResolver()

cartographer::common::ConfigurationFileResolver::ConfigurationFileResolver ( const std::vector< std::string > &  configuration_files_directories)
explicit

Definition at line 29 of file configuration_file_resolver.cc.

Member Function Documentation

◆ GetFileContentOrDie()

std::string cartographer::common::ConfigurationFileResolver::GetFileContentOrDie ( const std::string &  basename)
overridevirtual

Implements cartographer::common::FileResolver.

Definition at line 48 of file configuration_file_resolver.cc.

◆ GetFullPathOrDie()

std::string cartographer::common::ConfigurationFileResolver::GetFullPathOrDie ( const std::string &  basename)
overridevirtual

Implements cartographer::common::FileResolver.

Definition at line 35 of file configuration_file_resolver.cc.

Member Data Documentation

◆ configuration_files_directories_

std::vector<std::string> cartographer::common::ConfigurationFileResolver::configuration_files_directories_
private

Definition at line 43 of file configuration_file_resolver.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59