SST  15.1.0
StructuralSimulationToolkit
SST::ElemLoader Class Reference

Class to load Element Libraries. More...

#include <elemLoader.h>

Public Member Functions

 ElemLoader (const std::string &searchPaths)
 Create a new ElementLoader with a given searchpath of directories.
 
void updateSearchPaths (const std::string &paths)
 Update the search paths. More...
 
void loadLibrary (const std::string &elemlib, std::ostream &err_os)
 Attempt to load a library. More...
 
void getPotentialElements (std::vector< std::string > &potElems)
 Search paths for potential elements and add them to the provided vector. More...
 

Detailed Description

Class to load Element Libraries.

Member Function Documentation

◆ getPotentialElements()

void SST::ElemLoader::getPotentialElements ( std::vector< std::string > &  potElems)

Search paths for potential elements and add them to the provided vector.

Parameters
potElems- vector of potential elements that could contain elements
Returns
void

◆ loadLibrary()

void SST::ElemLoader::loadLibrary ( const std::string &  elemlib,
std::ostream &  err_os 
)

Attempt to load a library.

Parameters
elemlib- The name of the Element Library to load
err_os- Where to print errors associated with attempting to find and load the library
Returns
Informational structure of the library, or nullptr if it failed to load.

◆ updateSearchPaths()

void SST::ElemLoader::updateSearchPaths ( const std::string &  paths)

Update the search paths.

Parameters
searchPathsNew search paths to use

Referenced by SST::Factory::updateSearchPaths().


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