Cinder  0.9.1
Namespaces | Functions
Utilities.h File Reference
#include <string>
#include <vector>
#include <map>
#include "cinder/Cinder.h"
#include "cinder/Url.h"
#include "cinder/DataSource.h"
#include <boost/lexical_cast.hpp>

Namespaces

 cinder
 

Functions

fs::path cinder::expandPath (const fs::path &path)
 
fs::path cinder::getHomeDirectory ()
 
fs::path cinder::getDocumentsDirectory ()
 
void cinder::launchWebBrowser (const Url &url)
 
std::vector< std::string > cinder::split (const std::string &str, char separator, bool compress=true)
 
std::vector< std::string > cinder::split (const std::string &str, const std::string &separators, bool compress=true)
 
std::string cinder::loadString (const DataSourceRef &dataSource)
 
void cinder::sleep (float milliseconds)
 
char cinder::getPathSeparator ()
 
std::map< std::string, std::string > cinder::getEnvironmentVariables ()
 
template<typename T >
std::string cinder::toString (const T &t)
 
template<typename T >
cinder::fromString (const std::string &s)
 
template<>
Url cinder::fromString (const std::string &s)
 
std::vector< std::string > cinder::stackTrace ()
 
int8_t cinder::swapEndian (int8_t val)
 
uint8_t cinder::swapEndian (uint8_t val)
 
int16_t cinder::swapEndian (int16_t val)
 
uint16_t cinder::swapEndian (uint16_t val)
 
int32_t cinder::swapEndian (int32_t val)
 
uint32_t cinder::swapEndian (uint32_t val)
 
float cinder::swapEndian (float val)
 
double cinder::swapEndian (double val)
 
void cinder::swapEndianBlock (uint16_t *blockPtr, size_t blockSizeInBytes)
 
void cinder::swapEndianBlock (float *blockPtr, size_t blockSizeInBytes)