Cinder  0.9.1
Namespaces | Functions
Utilities.cpp File Reference
#include "cinder/Cinder.h"
#include "cinder/Utilities.h"
#include "cinder/Unicode.h"
#include "cinder/app/Platform.h"
#include "cinder/cocoa/CinderCocoa.h"
#include <vector>
#include <boost/tokenizer.hpp>
#include <boost/algorithm/string.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::map< std::string, std::string > cinder::getEnvironmentVariables ()
 
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)
 
std::vector< std::string > cinder::stackTrace ()
 
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)