Bifrost SDK
Bifrost SDK documentation
BifrostGraph::Executor::Utility Namespace Reference

Classes

class  ConfigEnv
 ConfigEnv represents a map containing (key, values) pairs describing the current Bifrost configuration from known environment variables. More...
 

Functions

BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getTypeName (const Amino::Type &type) noexcept
 Return the fully qualified name of a given type. An empty string is returned to indicate any encountered error. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getInnermostElementTypeName (const Amino::Type &type) noexcept
 Given a type whose kind is an array, this function finds the type of the innermost element whose kind is not an array, and it returns its fully qualified name. For example, if the given type is an array of arrays of floats, then "float" is returned. Given a type whose kind is not an array, this function returns its fully qualified name. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL bool isArrayType (const Amino::Type &type) noexcept
 Check if a given type is of array kind. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getEnv (const Amino::String &evName) noexcept
 Get the value of an environment variable. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL bool getEnvBool (const Amino::String &evName) noexcept
 Get the boolean value of an environment variable. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL std::int32_t getEnvInt (const Amino::String &evName, std::int32_t defaultValue) noexcept
 Get the integer value of an environment variable. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getLibraryPrefix () noexcept
 Get the library prefix to be used on the current platform. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getLibraryExtension () noexcept
 Get the library extension to be used on the current platform. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getNormalizedPath (const Amino::String &path) noexcept
 Convert a path to a Bifrost normalized path. More...