Rapicorn - Experimental UI Toolkit - Source Code 10.08.1
Classes | Namespaces | Defines | Typedefs | Functions | Variables
utilities.hh File Reference
#include <rcore/rapicorncdefs.h>
#include <string>
#include <vector>
#include <map>
#include <tr1/memory>
#include <plic/runtime.hh>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Rapicorn::TraitConvertible< X, Y >
class  Rapicorn::VirtualTypeid
class  Rapicorn::NonCopyable
struct  Rapicorn::ClassDoctor
class  Rapicorn::Logging
class  Rapicorn::IdAllocator
class  Rapicorn::Deletable
class  Rapicorn::Deletable::DeletionHook
class  Rapicorn::ReferenceCountable
class  Rapicorn::Locatable
class  Rapicorn::DataKey< Type >
class  Rapicorn::DataList
class  Rapicorn::DataList::NodeBase
class  Rapicorn::DataList::Node< T >
class  Rapicorn::DataListContainer
interface  Rapicorn::BaseObject
class  Rapicorn::NullInterface
struct  Rapicorn::BaseObject::InterfaceMatcher
struct  Rapicorn::BaseObject::InterfaceMatch< C >
struct  Rapicorn::BaseObject::InterfaceMatch< C & >
struct  Rapicorn::BaseObject::InterfaceMatch< C * >

Namespaces

namespace  Rapicorn
namespace  Rapicorn::Path
 

The Rapicorn::Path namespace provides functions for file path manipulation and testing.


Defines

#define RAPICORN_STRINGIFY(macro_or_string)
#define RAPICORN_STRINGIFY_ARG(arg)
#define RAPICORN_CODELOC_STRING()
#define RAPICORN_CODELOC()
#define RAPICORN__FILE__
#define RAPICORN__FUNC__
#define RAPICORN_ASSERT_NOT_REACHED
#define RAPICORN_ASSERT_UNREACHED()
#define RAPICORN_RETURN_IF_FAIL(expr)
#define RAPICORN_RETURN_VAL_IF_FAIL(expr, rv)
#define RAPICORN_ASSERT(expr)
#define RAPICORN_PASSERT(expr)
#define RAPICORN_CHECK(expr)
#define RAPICORN_PCHECK(expr)
#define RAPICORN_DEBUG(...)
#define RAPICORN_PDEBUG(...)
#define RAPICORN_FIXME(...)

Typedefs

typedef RapicornUInt8 Rapicorn::uint8
typedef RapicornUInt16 Rapicorn::uint16
typedef RapicornUInt32 Rapicorn::uint32
typedef RapicornUInt64 Rapicorn::uint64
typedef RapicornInt8 Rapicorn::int8
typedef RapicornInt16 Rapicorn::int16
typedef RapicornInt32 Rapicorn::int32
typedef RapicornInt64 Rapicorn::int64
typedef RapicornUnichar Rapicorn::unichar
typedef std::string Rapicorn::String
typedef vector< String > Rapicorn::StringVector

Functions

template<typename T >
const T & Rapicorn::abs (const T &value)
template<typename T >
const T & Rapicorn::clamp (const T &value, const T &minimum, const T &maximum)
template<class T , size_t S>
std::vector< T > Rapicorn::vector_from_array (const T(&array_entries)[S])
 Construct a std::vector<T> from a C array of type T[].
void Rapicorn::printerr (const char *format,...)
void void Rapicorn::printerr (const std::string &msg)
void Rapicorn::printout (const char *format,...)
void void Rapicorn::breakpoint ()
String Rapicorn::process_handle ()
uint64 Rapicorn::timestamp_startup ()
uint64 Rapicorn::timestamp_realtime ()
uint64 Rapicorn::timestamp_benchmark ()
uint64 Rapicorn::timestamp_resolution ()
String Rapicorn::Path::dirname (const String &path)
String Rapicorn::Path::basename (const String &path)
String Rapicorn::Path::abspath (const String &path, const String &incwd)
bool Rapicorn::Path::isabs (const String &path)
bool Rapicorn::Path::isdirname (const String &path)
String Rapicorn::Path::skip_root (const String &path)
String Rapicorn::Path::join (const String &frag0, const String &frag1, const String &frag2, const String &frag3, const String &frag4, const String &frag5, const String &frag6, const String &frag7, const String &frag8, const String &frag9, const String &frag10, const String &frag11, const String &frag12, const String &frag13, const String &frag14, const String &frag15)
bool Rapicorn::Path::check (const String &file, const String &mode)
bool Rapicorn::Path::equals (const String &file1, const String &file2)
char * Rapicorn::Path::memread (const String &filename, size_t *lengthp)
void Rapicorn::Path::memfree (char *memread_mem)
String Rapicorn::Path::cwd ()
String Rapicorn::Path::vpath_find (const String &file, const String &mode)
String Rapicorn::Path::searchpath_find (const String &searchpath, const String &file, const String &mode)
StringVector Rapicorn::Path::searchpath_split (const String &searchpath)
void Rapicorn::url_show (const char *url)
void Rapicorn::url_show_with_cookie (const char *url, const char *url_title, const char *cookie)
bool Rapicorn::url_test_show (const char *url)
bool Rapicorn::url_test_show_with_cookie (const char *url, const char *url_title, const char *cookie)
uint Rapicorn::cleanup_add (uint timeout_ms, void(*destroy_data)(void *), void *data)
void Rapicorn::cleanup_force_handlers (void)
void * Rapicorn::malloc_aligned (size_t total_size, size_t alignment, uint8 **free_pointer)
char * Rapicorn::cxx_demangle (const char *mangled_identifier)
uint8 * Rapicorn::zintern_decompress (unsigned int decompressed_size, const unsigned char *cdata, unsigned int cdata_size)
void Rapicorn::zintern_free (uint8 *dc_data)
template<typename Type >
void Rapicorn::TEMPLATE_ERROR::invalid_type ()

Variables

static void Rapicorn::RAPICORN_NORETURN

Detailed Description

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines