#include <Resource.h>
Static Public Member Functions | |
static Resource * | resFromPlate (ResourcePointers &resources, ResourcePlate plate) |
search for the first resource with a plate in a vector of resource pointers | |
static Resource * | macroResFromPlate (ResourcePointers resources, ResourcePlate initPlate, ResourcePlate endPlate) |
search for the first resource belonging to a range of plates in a vector of resource pointers | |
static void | getPlatesFromFile (string fileName, ResourcePlates &plates) |
retrives a vector of plates from a file | |
static void | getPlatesFromWords (vector< string > &words, ResourcePlates &plates) |
retrives a vector of plates from a vector of strings | |
static void | getPluginsFromFile (string fileName, vector< string > &names, vector< string > &libraries) |
retrives a vector of plugin names and library names from file | |
static void | getPluginsFromWords (vector< string > &words, vector< string > &names, vector< string > &libraries) |
retrives a vector of plates from a vector of strings |
static Resource* MipResources::ResourceUtilities::resFromPlate | ( | ResourcePointers & | resources, | |
ResourcePlate | plate | |||
) | [inline, static] |
search for the first resource with a plate in a vector of resource pointers
resources | ResourcePointers in which search | |
plate | ResourcePlate to search |
static Resource* MipResources::ResourceUtilities::macroResFromPlate | ( | ResourcePointers | resources, | |
ResourcePlate | initPlate, | |||
ResourcePlate | endPlate | |||
) | [inline, static] |
search for the first resource belonging to a range of plates in a vector of resource pointers
resources | ResourcePointers in which search | |
initPlate | MacroResourcePlate init | |
endPlate | MacroResourcePlate end |
static void MipResources::ResourceUtilities::getPlatesFromFile | ( | string | fileName, | |
ResourcePlates & | plates | |||
) | [inline, static] |
retrives a vector of plates from a file
fileName | file name | |
plates | returned vector of strings, it is cleared before |
static void MipResources::ResourceUtilities::getPlatesFromWords | ( | vector< string > & | words, | |
ResourcePlates & | plates | |||
) | [inline, static] |
retrives a vector of plates from a vector of strings
words | vector of strings | |
plates | returned vector of strings, it is cleared before |
static void MipResources::ResourceUtilities::getPluginsFromFile | ( | string | fileName, | |
vector< string > & | names, | |||
vector< string > & | libraries | |||
) | [inline, static] |
retrives a vector of plugin names and library names from file
[in] | filename | Name of the fiile to open. |
[out] | &names | Returned vector of strings containing the names of the plugin Resources. It is cleared before the use. |
[out] | &libraries | Returned vector of strings containing the names of the libraries in which to look for the corresponding plugin Resources. It is cleared before the use. |
static void MipResources::ResourceUtilities::getPluginsFromWords | ( | vector< string > & | words, | |
vector< string > & | names, | |||
vector< string > & | libraries | |||
) | [inline, static] |
retrives a vector of plates from a vector of strings
words | vector of strings | |
plates | returned vector of strings, it is cleared before |