#include "exports.h"#include "MRMesh/MRExpected.h"#include <cassert>#include <optional>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | MR::UI::TestEngine::Control::TypedEntry |
| struct | MR::UI::TestEngine::Control::Value< T > |
| Read/write values: (drags, sliders, etc) More... | |
Namespaces | |
| namespace | MR |
| only for bindings generation | |
| namespace | MR::UI |
| namespace | MR::UI::TestEngine |
| namespace | MR::UI::TestEngine::Control |
Typedefs | |
| using | MR::UI::TestEngine::Control::PathedEntry = std::pair<std::vector<std::string>, TypedEntry> |
| listAllEntries returns this: each element is (fullPath, entry) where fullPath.back() == entry.name. | |
| using | MR::UI::TestEngine::Control::ValueInt = Value<std::int64_t> |
| using | MR::UI::TestEngine::Control::ValueUint = Value<std::uint64_t> |
| using | MR::UI::TestEngine::Control::ValueReal = Value<double> |
| using | MR::UI::TestEngine::Control::ValueString = Value<std::string> |
Functions | |
| std::string_view | MR::UI::TestEngine::Control::toString (EntryType type) |
| std::string | MR::UI::TestEngine::Control::pathToString (const std::vector< std::string > &path) |
| Returns the elements of path combined into a single string. | |
| Expected< std::vector< TypedEntry > > | MR::UI::TestEngine::Control::listEntries (const std::vector< std::string > &path) |
| Returns the contents of path, or an error if the path is wrong. | |
| Expected< std::vector< PathedEntry > > | MR::UI::TestEngine::Control::listAllEntries (const std::vector< std::string > &rootPath) |
| Expected< std::string > | MR::UI::TestEngine::Control::pressButton (const std::vector< std::string > &path) |
| template<typename T> | |
| Expected< Value< T > > | MR::UI::TestEngine::Control::readValue (const std::vector< std::string > &path) |
| Returns the value at the path, or returns an error if the path or type is wrong. | |
| template Expected< Value< std::int64_t > > | MR::UI::TestEngine::Control::readValue (const std::vector< std::string > &path) |
| template<typename T> | |
| Expected< std::string > | MR::UI::TestEngine::Control::writeValue (const std::vector< std::string > &path, T value) |
| template Expected< std::string > | MR::UI::TestEngine::Control::writeValue (const std::vector< std::string > &path, std::int64_t value) |
| template Expected< std::string > | MR::UI::TestEngine::Control::writeValue (const std::vector< std::string > &path, std::uint64_t value) |
| template Expected< std::string > | MR::UI::TestEngine::Control::writeValue (const std::vector< std::string > &path, double value) |
| template Expected< std::string > | MR::UI::TestEngine::Control::writeValue (const std::vector< std::string > &path, std::string value) |