Namespaces | Typedefs | Functions | Variables
util.h File Reference
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <fstream>
#include <iomanip>
#include <sstream>
#include <string>
#include <limits.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "flatbuffers/base.h"
Include dependency graph for util.h:

Go to the source code of this file.

Namespaces

 flatbuffers
 

Typedefs

typedef bool(* flatbuffers::FileExistsFunction) (const char *filename)
 
typedef bool(* flatbuffers::LoadFileFunction) (const char *filename, bool binary, std::string *dest)
 

Functions

std::string flatbuffers::AbsolutePath (const std::string &filepath)
 
std::string flatbuffers::ConCatPathFileName (const std::string &path, const std::string &filename)
 
bool flatbuffers::DirExists (const char *name)
 
void flatbuffers::EnsureDirExists (const std::string &filepath)
 
bool flatbuffers::EscapeString (const char *s, size_t length, std::string *_text, bool allow_non_utf8, bool natural_utf8)
 
bool flatbuffers::FileExists (const char *name)
 
template<typename T >
std::string flatbuffers::FloatToString (T t, int precision)
 
int flatbuffers::FromUTF8 (const char **in)
 
std::string flatbuffers::GetExtension (const std::string &filepath)
 
std::string flatbuffers::IntToStringHex (int i, int xdigits)
 
bool flatbuffers::LoadFile (const char *name, bool binary, std::string *buf)
 
template<typename T >
std::string flatbuffers::NumToString (T t)
 
template<>
std::string flatbuffers::NumToString< double > (double t)
 
template<>
std::string flatbuffers::NumToString< float > (float t)
 
template<>
std::string flatbuffers::NumToString< signed char > (signed char t)
 
template<>
std::string flatbuffers::NumToString< unsigned char > (unsigned char t)
 
std::string flatbuffers::PosixPath (const char *path)
 
bool flatbuffers::SaveFile (const char *name, const char *buf, size_t len, bool binary)
 
bool flatbuffers::SaveFile (const char *name, const std::string &buf, bool binary)
 
FileExistsFunction flatbuffers::SetFileExistsFunction (FileExistsFunction file_exists_function)
 
LoadFileFunction flatbuffers::SetLoadFileFunction (LoadFileFunction load_file_function)
 
int64_t flatbuffers::StringToInt (const char *str, char **endptr=nullptr, int base=10)
 
uint64_t flatbuffers::StringToUInt (const char *str, char **endptr=nullptr, int base=10)
 
std::string flatbuffers::StripExtension (const std::string &filepath)
 
std::string flatbuffers::StripFileName (const std::string &filepath)
 
std::string flatbuffers::StripPath (const std::string &filepath)
 
int flatbuffers::ToUTF8 (uint32_t ucc, std::string *out)
 
std::string flatbuffers::WordWrap (const std::string in, size_t max_length, const std::string wrapped_line_prefix, const std::string wrapped_line_suffix)
 

Variables

static const char flatbuffers::kPathSeparator = '/'
 
static const char flatbuffers::kPathSeparatorWindows = '\\'
 
static const char * flatbuffers::PathSeparatorSet = "\\/"
 


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 04:01:55