Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
path.hpp File Reference

Fixposition SDK: File and path utilities. More...

#include <cstdint>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for path.hpp:

Go to the source code of this file.

Classes

class  fpsdk::common::path::OutputFile
 Output file handle. More...
 

Namespaces

namespace  fpsdk
 Fixposition SDK.
 
namespace  fpsdk::common
 Fixposition SDK: Common library.
 
namespace  fpsdk::common::path
 File and path utilities.
 

Functions

bool fpsdk::common::path::PathExists (const std::string &path)
 Check if path exists.
 
std::size_t fpsdk::common::path::FileSize (const std::string &path)
 Get file size.
 
bool fpsdk::common::path::FileSlurp (const std::string &path, std::vector< uint8_t > &data)
 Read entire file into a string.
 
bool fpsdk::common::path::FileSpew (const std::string &path, const std::vector< uint8_t > &data)
 Write string to file.
 

Detailed Description

Fixposition SDK: File and path utilities.

* ___    ___
* \  \  /  /
*  \  \/  /   Copyright (c) Fixposition AG (www.fixposition.com) and contributors
*  /  /\  \   License: see the LICENSE file
* /__/  \__\
* 

Definition in file path.hpp.