|
λ61
|
Namespaces | |
| namespace | EventSystem |
| namespace | ExtensionSystem |
| namespace | literals |
| namespace | meta |
| namespace | RosettaSystem |
| namespace | ScriptEngine |
Classes | |
| struct | ConfigRecord |
| struct | l61_stat |
| class | Object |
| struct | ProgramStatus |
Typedefs | |
| using | c_signal_t = int |
| using | SignalQueue_t = std::queue<c_signal_t> |
| template<class K, class V> | |
| using | HashMap = std::unordered_map<K, V> |
| template<typename... T> | |
| using | AutoPointer = std::unique_ptr<T...> |
| using | flag_t = std::uint8_t |
Enumerations | |
| enum | { FLAG_SET , FLAG_UNSET } |
| enum class | ScriptMode : std::uint8_t { UndefMode = 0 , ShellScriptMode , BuildScriptMode } |
| enum class | LogLevel : std::uint8_t { INFO , WARN , ERROR , FATAL } |
Functions | |
| __inline std::string | scrModeToStr (ScriptMode script_mode) |
| __inline ScriptMode | toScriptMode (const std::string &str) |
| template<typename... vT> | |
| __inline void | cout_print (const vT &... vals) |
| l61_stat & | getCentralStatusObject () |
| template<typename... Ty> | |
| constexpr void | toLogger (LogLevel level, std::format_string< Ty... > fmt, Ty &&... args) |
| std::vector< char > | get_file (const std::string &f_name) |
| std::string | get_file_str (const std::string &f_name) |
| std::string | execEx (const char *cmd) |
| std::string | get_input (const std::string &prompt="") |
| template<typename FunctionSignature, typename Lambda> | |
| std::add_pointer_t< FunctionSignature > | lambdaToFunPtr (const Lambda &lambda) |
| Designed to help with C Apis that take function pointers. | |
| template<meta::CppObject T> | |
| constexpr void | deconstruct (T &val) |
| Deconstructs an object only use when necessary. | |
| template<typename T> | |
| constexpr T | runLambda (const std::function< T()> &lambda) |
| template<typename T> | |
| std::string | toAddressString (const T *ptr) |
| template<typename T> | |
| std::size_t | getHash (const T &v) |
| template<typename cast_type, typename obj_type, typename T = obj_type, typename Tx = std::conditional_t<std::is_pointer_v<cast_type>, cast_type, std::add_pointer_t<cast_type>>> | |
| __inline constexpr Tx | dyn_cast (obj_type obj) |
Variables | |
| constexpr nulling::null_t | null |
| using l61::AutoPointer = std::unique_ptr<T...> |
| using l61::c_signal_t = int |
| using l61::flag_t = std::uint8_t |
| using l61::HashMap = std::unordered_map<K, V> |
| using l61::SignalQueue_t = std::queue<c_signal_t> |
|
strong |
|
strong |
| __inline void l61::cout_print | ( | const vT &... | vals | ) |
|
constexpr |
Deconstructs an object only use when necessary.
| T | The type to deconstruct |
| val | The variable to deconstruct |
|
constexpr |
| std::string l61::execEx | ( | const char * | cmd | ) |
| std::vector< char > l61::get_file | ( | const std::string & | f_name | ) |
| std::string l61::get_file_str | ( | const std::string & | f_name | ) |
| std::string l61::get_input | ( | const std::string & | prompt = "" | ) |
| l61_stat & l61::getCentralStatusObject | ( | ) |
| std::size_t l61::getHash | ( | const T & | v | ) |
| std::add_pointer_t< FunctionSignature > l61::lambdaToFunPtr | ( | const Lambda & | lambda | ) |
Designed to help with C Apis that take function pointers.
| FunctionSignature | The function signature for the Lambda (not a Pointer type) |
| Lambda | The Lambda type |
| lambda | The Lambda |
|
constexpr |
| __inline std::string l61::scrModeToStr | ( | ScriptMode | script_mode | ) |
| std::string l61::toAddressString | ( | const T * | ptr | ) |
|
constexpr |
| Ty | Types of arguments passed to be logged |
| mstat | A pointer to the main status structure |
| level | The logging output level e.g l61::LogLevel::WARN |
| fmt | The format string using modern C++23 std::format |
| args | Values to be logged |
| __inline ScriptMode l61::toScriptMode | ( | const std::string & | str | ) |
|
inlineconstexpr |