Sirikata
|
#include <sirikata/core/util/Standard.hh>
#include <sirikata/core/util/Paths.hpp>
#include <boost/filesystem.hpp>
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#include <sirikata/core/util/Random.hpp>
#include <boost/lexical_cast.hpp>
Namespaces | |
namespace | Sirikata |
Note: All the classes provided in this file are thin wrappers around the corresponding classes in ASIO. | |
namespace | Sirikata::Path |
Utilities for getting information about paths, such as the executable file, executable directory, current directory, etc. | |
namespace | Sirikata::Path::Placeholders |
Path placeholders are strings that can be automatically substituted with standard locations, e.g. | |
Defines | |
#define | MAX_PATH 1024 |
Typedefs | |
typedef std::pair< String, Key > | Sirikata::Path::Placeholders::PlaceholderPair |
Functions | |
const String | Sirikata::Path::Placeholders::DIR_EXE ("<bindir>") |
const String | Sirikata::Path::Placeholders::DIR_EXE_BUNDLE ("<bundledir>") |
const String | Sirikata::Path::Placeholders::DIR_CURRENT ("<currentdir>") |
const String | Sirikata::Path::Placeholders::DIR_USER ("<userdir>") |
const String | Sirikata::Path::Placeholders::DIR_USER_HIDDEN ("<hiddenuserdir>") |
const String | Sirikata::Path::Placeholders::DIR_TEMP ("<temp>") |
const String | Sirikata::Path::Placeholders::DIR_SYSTEM_CONFIG ("<sysconfig>") |
SIRIKATA_FUNCTION_EXPORT String | Sirikata::Path::Placeholders::RESOURCE (const String &intree, const String &resource) |
SIRIKATA_FUNCTION_EXPORT String | Sirikata::Path::Get (Key key) |
SIRIKATA_FUNCTION_EXPORT String | Sirikata::Path::Get (Key key, const String &relative_path) |
SIRIKATA_FUNCTION_EXPORT String | Sirikata::Path::Get (Key key, const String &relative_path, const String &alternate_base) |
SIRIKATA_FUNCTION_EXPORT bool | Sirikata::Path::Set (Key key, const String &path) |
SIRIKATA_FUNCTION_EXPORT String | Sirikata::Path::SubstitutePlaceholders (const String &path) |
Substitute full values for placeholders in the given path. | |
SIRIKATA_FUNCTION_EXPORT String | Sirikata::Path::GetTempFilename (const String &prefix) |
Get temporary filename, i.e. | |
Variables | |
const PlaceholderPair | Sirikata::Path::Placeholders::All [] |
#define MAX_PATH 1024 |
Referenced by Sirikata::Path::Get().