fstring.cc File Reference

#include "fstring.h"
#include "rutz/atomic.h"
#include <cstddef>
#include <cstring>
#include <iosfwd>
#include "rutz/algo.h"
#include "rutz/compat_snprintf.h"
#include "rutz/freelist.h"
#include "rutz/mutex.h"
#include <cctype>
#include <istream>
#include <ostream>
#include <pthread.h>
#include "rutz/trace.h"
#include "rutz/debug.h"
Include dependency graph for fstring.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GVX_NO_PROF
#define NUM_CONVERT(fmt, val)

Functions

static const char __attribute__ ((used)) vcid_groovx_rutz_fstring_cc_utc20050626084020[]

Variables

rutz::free_list
< rutz::string_rep > * 
GVX_DBG_REGISTER::g_rep_list
pthread_mutex_t GVX_DBG_REGISTER::g_rep_list_mutex = PTHREAD_MUTEX_INITIALIZER

Detailed Description

ref-counted string type that allows much faster compile times than std::string

Definition in file fstring.cc.


Define Documentation

#define NUM_CONVERT ( fmt,
val   ) 
Value:
const int SZ = 64;                            \
  char buf[SZ];                                 \
  int n = snprintf(buf, SZ, fmt, (val));        \
  GVX_ASSERT(n > 0 && n < SZ);                  \
  return fstring(&buf[0]);

Definition at line 413 of file fstring.cc.

Generated on Sun May 8 08:42:50 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3