Detailed Description
Member Function Documentation
template<typename pb_object >
bool ola::rdm::PidStoreLoader::GetPidList |
( |
vector< const PidDescriptor * > * |
pids, |
|
|
const pb_object & |
store, |
|
|
bool |
validate, |
|
|
bool |
limit_pid_values |
|
) |
| |
Get a list of pids from a protobuf object.
const RootPidStore * ola::rdm::PidStoreLoader::LoadFromDirectory |
( |
const std::string & |
directory, |
|
|
bool |
validate = true |
|
) |
| |
Load Pid information from a directory. This is an all-or-nothing load. Any error with cause us to abort the load.
- 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.
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.
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: