Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
file_source.h File Reference
#include <filesystem>
#include <string>
#include <variant>
#include "drake/common/fmt.h"
#include "drake/common/memory_file.h"
Include dependency graph for file_source.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  formatter< drake::FileSource >
 Specializes the fmt::formatter<> class template for drake::FileSource. More...

Namespaces

namespace  drake
namespace  fmt

Typedefs

using FileSource = std::variant<std::filesystem::path, MemoryFile>
 Represents a file.

Functions

std::string to_string (const FileSource &source)
 Returns a string representation.