Utility methods and classes.
More...
#include "array_data.h"
#include "local_time.h"
#include "warnings.h"
#include <asdcp/KM_log.h>
#include <boost/filesystem.hpp>
#include <boost/function.hpp>
#include <boost/optional.hpp>
#include <memory>
#include <string>
#include <stdint.h>
Go to the source code of this file.
|
| dcp |
| Namespace for everything in libdcp.
|
|
|
#define | LIBDCP_UNUSED(x) (void)(x) |
|
|
std::string | dcp::make_uuid () |
|
std::string | dcp::make_digest (boost::filesystem::path filename, boost::function< void(int64_t, int64_t)>) |
|
std::string | dcp::make_digest (ArrayData data) |
|
bool | dcp::ids_equal (std::string a, std::string b) |
|
std::string | dcp::remove_urn_uuid (std::string raw) |
|
void | dcp::init (boost::optional< boost::filesystem::path > resources_directory=boost::optional< boost::filesystem::path >()) |
|
int | dcp::base64_decode (std::string const &in, unsigned char *out, int out_length) |
|
boost::optional< boost::filesystem::path > | dcp::relative_to_root (boost::filesystem::path root, boost::filesystem::path file) |
|
std::string | dcp::file_to_string (boost::filesystem::path, uintmax_t max_length=1048576) |
|
void | dcp::write_string_to_file (std::string const &string, boost::filesystem::path const &path) |
|
std::string | dcp::private_key_fingerprint (std::string key) |
|
std::string | dcp::openjpeg_version () |
|
std::string | dcp::spaces (int n) |
|
void | dcp::indent (xmlpp::Element *element, int initial) |
|
bool | dcp::day_less_than_or_equal (LocalTime a, LocalTime b) |
|
bool | dcp::day_greater_than_or_equal (LocalTime a, LocalTime b) |
|
std::string | dcp::unique_string (std::vector< std::string > existing, std::string base) |
|
boost::filesystem::path | dcp::directory_containing_executable () |
|
boost::filesystem::path | dcp::resources_directory () |
|
template<class From , class To > |
void | dcp::add_to_container (To &container, From source) |
|
|
ASDCP::Dictionary const * | dcp::asdcp_smpte_dict = nullptr |
|
Utility methods and classes.
Definition in file util.h.