◆ LoadFromDirectory()
const RootPidStore * ola::rdm::PidStoreLoader::LoadFromDirectory |
( |
const std::string & |
directory, |
|
|
bool |
validate = true |
|
) |
| |
Load PID information from a directory, including overrides.
- Parameters
-
directory | the directory to load files from. |
validate | set to true if we should perform validation of the contents. |
- Returns
- A pointer to a new RootPidStore or NULL if loading failed.
This is an all-or-nothing load. Any error with cause us to abort the load.
◆ LoadFromFile()
const RootPidStore * ola::rdm::PidStoreLoader::LoadFromFile |
( |
const std::string & |
file, |
|
|
bool |
validate = true |
|
) |
| |
Load PID information from a file.
- Parameters
-
file | the path to the file to load |
validate | set to true if we should perform validation of the contents. |
- Returns
- A pointer to a new RootPidStore or NULL if loading failed.
◆ LoadFromStream()
const RootPidStore * ola::rdm::PidStoreLoader::LoadFromStream |
( |
std::istream * |
data, |
|
|
bool |
validate = true |
|
) |
| |
Load Pid information from a stream.
- Parameters
-
data | the input stream. |
validate | set to true if we should perform validation of the contents. |
- Returns
- A pointer to a new RootPidStore or NULL if loading failed.
The documentation for this class was generated from the following files: