16#ifndef BIFROSTGRAPH_EXECUTOR_UTILITY_H
17#define BIFROSTGRAPH_EXECUTOR_UTILITY_H
19#include <BifrostGraph/Executor/internal/ExecutorExport.h>
20#include <BifrostGraph/Executor/internal/PropagateConstPtr.h>
64 const Amino::Type& type)
noexcept;
69BIFROSTGRAPH_EXECUTOR_SHARED_DECL
bool isArrayType(
const Amino::Type& type)
noexcept;
112 std::int32_t defaultValue)
noexcept;
152class BIFROSTGRAPH_EXECUTOR_SHARED_DECL
ConfigEnv final {
174 bool isValid() const noexcept;
180 bool hasKey(const
Amino::String& key) const noexcept;
198 BifrostGraph::Executor::Internal::PropagateConstPtr<Impl, Internal::Owned::kYes> m_impl;
230 const
Amino::String& path) noexcept;
A resizable container of contiguous elements.
Smart pointers used to allow custom user classes (opaque classes) to be used within Amino graphs....
Provide factory functions for Executor core classes.
#define EXECUTOR_DECLARE_MAKE_OWNER_FRIENDSHIP()
Helper macro to declare friend the makeOwner<> factory functions.
BIFROSTGRAPH_EXECUTOR_SHARED_DECL bool isArrayType(const Amino::Type &type) noexcept
Check if a given type is of array kind.
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...
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getEnv(const Amino::String &evName) noexcept
Get the value of an environment variable.
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getLibraryPrefix() noexcept
Get the library prefix to be used on the current platform.
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getLibraryExtension() noexcept
Get the library extension to be used on the current platform.
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.
BIFROSTGRAPH_EXECUTOR_SHARED_DECL Amino::String getNormalizedPath(const Amino::String &path) noexcept
Convert a path to a Bifrost normalized path.
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 encounte...
BIFROSTGRAPH_EXECUTOR_SHARED_DECL bool getEnvBool(const Amino::String &evName) noexcept
Get the boolean value of an environment variable.
Define a Amino array of elements of type T.
The string class used by Amino.
ConfigEnv represents a map containing (key, values) pairs describing the current Bifrost configuratio...
BifrostGraph Executor common types.