Bifrost SDK
Bifrost SDK documentation
Utility.h File Reference

Helpers functions. More...

#include <BifrostGraph/Executor/internal/ExecutorExport.h>
#include <BifrostGraph/Executor/internal/PropagateConstPtr.h>
#include <BifrostGraph/Executor/Factory.h>
#include <BifrostGraph/Executor/Types.h>
#include <Amino/Core/Array.h>
#include <Amino/Core/Ptr.h>
#include <Amino/Core/String.h>
#include <cstdint>

Go to the source code of this file.

Classes

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

Namespaces

namespace  Amino
 
namespace  BifrostGraph
 
namespace  BifrostGraph::Executor
 
namespace  BifrostGraph::Executor::Utility
 

Functions

BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String BifrostGraph::Executor::Utility::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 BifrostGraph::Executor::Utility::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 BifrostGraph::Executor::Utility::isArrayType (const Amino::Type &type) noexcept
 Check if a given type is of array kind. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String BifrostGraph::Executor::Utility::getEnv (const Amino::String &evName) noexcept
 Get the value of an environment variable. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL bool BifrostGraph::Executor::Utility::getEnvBool (const Amino::String &evName) noexcept
 Get the boolean value of an environment variable. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL std::int32_t BifrostGraph::Executor::Utility::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 BifrostGraph::Executor::Utility::getLibraryPrefix () noexcept
 Get the library prefix to be used on the current platform. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String BifrostGraph::Executor::Utility::getLibraryExtension () noexcept
 Get the library extension to be used on the current platform. More...
 
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String BifrostGraph::Executor::Utility::getNormalizedPath (const Amino::String &path) noexcept
 Convert a path to a Bifrost normalized path. More...
 

Detailed Description

Helpers functions.

Note
The contents of this file belong to a feature that is still under development, and they may change in subsequent versions.

Definition in file Utility.h.