ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnfw::misc::IConfigSource Struct Referenceabstract

#include <IConfigSource.h>

Public Member Functions

virtual ~IConfigSource ()=default
 Destroy the IConfigSource object.
 
virtual std::string get (const std::string &key) const =0
 get the value for the matching key
 

Detailed Description

Definition at line 27 of file IConfigSource.h.

Constructor & Destructor Documentation

◆ ~IConfigSource()

virtual nnfw::misc::IConfigSource::~IConfigSource ( )
virtualdefault

Destroy the IConfigSource object.

Member Function Documentation

◆ get()

virtual std::string nnfw::misc::IConfigSource::get ( const std::string &  key) const
pure virtual

get the value for the matching key

Parameters
keystring key to search
Returns
string value associated with the key

Implemented in nnfw::misc::EnvConfigSource, and nnfw::misc::GeneralConfigSource.


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