Rapicorn Interface Reference

/opt/src/rapicorn/rapicorn/utilities.hh

SYNOPSIS

class  Rapicorn::CheckDerivedFrom;
struct  Base * >,Rapicorn::CheckDerivedFrom< Child *, Base * >;
class  Rapicorn::Convertible;
class  Rapicorn::Convertible::InterfaceCast;
class  Rapicorn::Convertible::InterfaceMatch;
class  Rapicorn::Convertible::InterfaceType;
class  Rapicorn::Convertible::InterfaceType< Type & >;
class  Rapicorn::Convertible::InterfaceType< Type * >;
struct  Rapicorn::Dereference< Type * >;
struct  Rapicorn::Dereference< Type *const >;
struct  Rapicorn::Dereference< const Type * >;
struct  Rapicorn::Dereference< const Type *const >;
class  Rapicorn::EnforceDerivedFrom;
class  Base * >,Rapicorn::EnforceDerivedFrom< Derived *, Base * >;
class  Rapicorn::Exception;
class  Rapicorn::IteratorRange;
struct  Rapicorn::NullInterface;
struct  Rapicorn::NullPointer;
class  Rapicorn::PointerIterator;
class  Rapicorn::ValueIterator;
class  Rapicorn::ValueIteratorRange;
class  Rapicorn::Walker;
class  Rapicorn::Walker::Adapter;
class  Rapicorn::Walker::AdapterBase;
struct  std::exception;
   
void  assert_derived_from  ();
bool  is_derived  ();
IteratorRange< Iterator >  iterator_range  (begin, end);
double  max  (a, b);
double  max  (a, b);
double  min  (a, b);
double  min  (a, b);
bool  operator!=  (x, y);
bool  operator!=  (x, y);
PointerIterator< Value >  operator+  (n, x);
ValueIterator< Iterator >  operator+  (n, x);
PointerIterator< Value >::difference_type  operator-  (x, y);
ValueIterator< Iterator >::difference_type  operator-  (x, y);
bool  operator<  (x, y);
bool  operator<  (x, y);
bool  operator<=  (x, y);
bool  operator<=  (x, y);
bool  operator==  (x, y);
bool  operator==  (x, y);
bool  operator>  (x, y);
bool  operator>  (x, y);
bool  operator>=  (x, y);
bool  operator>=  (x, y);
PointerIterator< Value >  pointer_iterator  (val);
const char*  rapicorn_gettext  (text);
void  rapicorn_init  (argcp, argvp, app_name);
void  rapicorn_thread_enter  ();
bool  rapicorn_thread_entered  ();
void  rapicorn_thread_leave  ();
bool  rapicorn_thread_try_enter  ();
bool  text_convert  (to_charset, output_string, from_charset, input_string, fallback_charset, output_mark);
void  throw_if_null  (data);
ValueIterator< Iterator >  value_iterator  (iter);
ValueIteratorRange< Iterator >  value_iterator_range  (begin, end);
Walker< typename Dereference< const typename Container::const_iterator::value_type >::Value >  value_walker  (container);
Walker< typename Dereference< typename Container::iterator::value_type >::Value >  value_walker  (container);
Walker< typename Dereference< typename Iterator::value_type >::Value >  value_walker  (begin, end);
Walker< const typename Container::const_iterator::value_type >  walker  (container);
Walker< typename Container::iterator::value_type >  walker  (container);
Walker< typename Iterator::value_type >  walker  (begin, end);

DESCRIPTION

Rapicorn::CheckDerivedFrom

/opt/src/rapicorn/rapicorn/utilities.hh:109
class Rapicorn::CheckDerivedFrom
{
  bool  is_derived  ();
  bool  is_derived  ();
  bool  is_derived  ();
};

   
bool  is_derived 
();

bool  is_derived 
();

bool  is_derived 
();

Rapicorn::CheckDerivedFrom< Child *, Base * >

/opt/src/rapicorn/rapicorn/utilities.hh:116

Rapicorn::Convertible

/opt/src/rapicorn/rapicorn/utilities.hh:420
class Rapicorn::Convertible
{
    Convertible  ();
  bool  match_interface  (imatch);
  InterfaceType< Type >::Result  interface  (ident, nt);
  InterfaceType< Type >::Result  interface  (nt);
};

   
  Convertible 
();

bool  match_interface 
(InterfaceMatch  &imatch);

InterfaceType< Type >::Result  interface 
(const String          &ident,
 const std::nothrow_t  &nt);

InterfaceType< Type >::Result  interface 
(const std::nothrow_t  &nt);

Rapicorn::Convertible::InterfaceCast

/opt/src/rapicorn/rapicorn/utilities.hh:441
class Rapicorn::Convertible::InterfaceCast
{
  Interface *m_instance;
    InterfaceCast  (ident);
  bool  match  (obj, ident);
};

   
  InterfaceCast 
(const String  &ident);

bool  match 
(Convertible   *obj,
 const String  &ident);

Rapicorn::Convertible::InterfaceMatch

/opt/src/rapicorn/rapicorn/utilities.hh:423
class Rapicorn::Convertible::InterfaceMatch
{
  const String  &m_ident;
  bool           m_match_found;
    RAPICORN_PRIVATE_CLASS_COPY  ();
  virtual  ~InterfaceMatch  ();
    InterfaceMatch  (ident);
  bool  done  ();
  bool  match  (object, ident);
  const String &  identifier  ();
};

   

virtual  ~InterfaceMatch 
();

  InterfaceMatch 
(const String  &ident);

bool  done 
();

bool  match 
(Convertible   *object,
 const String  &ident);

const String &  identifier 
();

Rapicorn::Convertible::InterfaceType

/opt/src/rapicorn/rapicorn/utilities.hh:451

   
  InterfaceType 
(const String  &ident);

Type &  result 
(bool may_throw);

Rapicorn::Convertible::InterfaceType< Type & >

/opt/src/rapicorn/rapicorn/utilities.hh:457

Rapicorn::Convertible::InterfaceType< Type * >

/opt/src/rapicorn/rapicorn/utilities.hh:461

Rapicorn::Dereference< Type * >

/opt/src/rapicorn/rapicorn/utilities.hh:125

Rapicorn::Dereference< Type *const >

/opt/src/rapicorn/rapicorn/utilities.hh:129

Rapicorn::Dereference< const Type * >

/opt/src/rapicorn/rapicorn/utilities.hh:133

Rapicorn::Dereference< const Type *const >

/opt/src/rapicorn/rapicorn/utilities.hh:137

Rapicorn::EnforceDerivedFrom

/opt/src/rapicorn/rapicorn/utilities.hh:90

   
  EnforceDerivedFrom 
(Derived *derived,
 Base    *base);

Rapicorn::EnforceDerivedFrom< Derived *, Base * >

/opt/src/rapicorn/rapicorn/utilities.hh:96

Rapicorn::Exception

/opt/src/rapicorn/rapicorn/utilities.hh:58
class Rapicorn::Exception
{
  char *reason;
    Exception  (s1, s2, s3, s4, s5, s6, s7, s8);
  void  set  (s);
  const char*  what  ();
    Exception  (e);
    ~Exception  ();
  Exception &  operator=  ();
};

   
  Exception 
(const String  &s1,
 const String  &s2,
 const String  &s3,
 const String  &s4,
 const String  &s5,
 const String  &s6,
 const String  &s7,
 const String  &s8);

void  set 
(const String  &s);

const char*  what 
();

  Exception 
(const Exception  &e);

  ~Exception 
();

Exception &  operator= 
();

Rapicorn::IteratorRange

/opt/src/rapicorn/rapicorn/utilities.hh:245
class Rapicorn::IteratorRange
{
  Iterator ibegin;
  Iterator iend;
    IteratorRange  (cbegin, cend);
    IteratorRange  ();
  iterator  begin  ();
  iterator  end  ();
  bool  done  ();
  bool  has_next  ();
  reference  operator *  ();
  pointer  operator->  ();
  IteratorRange &  operator++  ();
  IteratorRange  operator++  ();
  bool  operator==  (w);
  bool  operator!=  (w);
};

   
  IteratorRange 
(const Iterator  &cbegin,
 const Iterator  &cend);

  IteratorRange 
();

iterator  begin 
();

iterator  end 
();

bool  done 
();

bool  has_next 
();

reference  operator * 
();

pointer  operator-> 
();

IteratorRange &  operator++ 
();

IteratorRange  operator++ 
();

bool  operator== 
(const IteratorRange  &w);

bool  operator!= 
(const IteratorRange  &w);

Rapicorn::NullInterface

/opt/src/rapicorn/rapicorn/utilities.hh:71

Rapicorn::NullPointer

/opt/src/rapicorn/rapicorn/utilities.hh:72

Rapicorn::PointerIterator

/opt/src/rapicorn/rapicorn/utilities.hh:144
class Rapicorn::PointerIterator
{
  Value *current;
    PointerIterator  ();
    PointerIterator  (v);
    PointerIterator  (x);
  Value*  base  ();
  reference  operator *  ();
  pointer  operator->  ();
  PointerIterator &  operator++  ();
  PointerIterator  operator++  ();
  PointerIterator &  operator--  ();
  PointerIterator  operator--  ();
  PointerIterator  operator+  (n);
  PointerIterator &  operator+=  (n);
  PointerIterator  operator-  (n);
  PointerIterator &  operator-=  (n);
  reference  operator[]  (n);
};

   
  PointerIterator 
();

  PointerIterator 
(value_type *v);

  PointerIterator 
(const PointerIterator  &x);

Value*  base 
();

reference  operator * 
();

pointer  operator-> 
();

PointerIterator &  operator++ 
();

PointerIterator  operator++ 
();

PointerIterator &  operator-- 
();

PointerIterator  operator-- 
();

PointerIterator  operator+ 
(difference_type n);

PointerIterator &  operator+= 
(difference_type n);

PointerIterator  operator- 
(difference_type n);

PointerIterator &  operator-= 
(difference_type n);

reference  operator[] 
(difference_type n);

Rapicorn::ValueIterator

/opt/src/rapicorn/rapicorn/utilities.hh:199
class Rapicorn::ValueIterator
{
  Iterator  base  ();
  reference  operator *  ();
  pointer  operator->  ();
  ValueIterator &  operator=  (it);
    ValueIterator  (it);
    ValueIterator  (dup);
    ValueIterator  ();
    ValueIterator  (src);
};

   
Iterator  base 
();

reference  operator * 
();

pointer  operator-> 
();

ValueIterator &  operator= 
(const Iterator  &it);

  ValueIterator 
(Iterator it);

  ValueIterator 
(const ValueIterator  &dup);

  ValueIterator 
();

  ValueIterator 
(const ValueIterator< Iter >  &src);

Rapicorn::ValueIteratorRange

/opt/src/rapicorn/rapicorn/utilities.hh:283
class Rapicorn::ValueIteratorRange
{
  Iterator ibegin;
  Iterator iend;
    ValueIteratorRange  (cbegin, cend);
    ValueIteratorRange  ();
  iterator  begin  ();
  iterator  end  ();
  bool  done  ();
  bool  has_next  ();
  reference  operator *  ();
  pointer  operator->  ();
  ValueIteratorRange &  operator++  ();
  ValueIteratorRange  operator++  ();
  bool  operator==  (w);
  bool  operator!=  (w);
};

   
  ValueIteratorRange 
(const Iterator  &cbegin,
 const Iterator  &cend);


iterator  begin 
();

iterator  end 
();

bool  done 
();

bool  has_next 
();

reference  operator * 
();

pointer  operator-> 
();

ValueIteratorRange &  operator++ 
();

ValueIteratorRange  operator++ 
();

bool  operator== 
(const ValueIteratorRange  &w);

bool  operator!= 
(const ValueIteratorRange  &w);

Rapicorn::Walker

/opt/src/rapicorn/rapicorn/utilities.hh:322
class Rapicorn::Walker
{
  AdapterBase *adapter;
  Walker &  operator=  (w);
  bool  done  ();
  bool  has_next  ();
  pointer  operator->  ();
  reference  operator *  ();
  Walker &  operator++  ();
  Walker  operator++  ();
  bool  operator==  (w);
  bool  operator!=  (w);
    ~Walker  ();
    Walker  (w);
    Walker  (cadapter);
};

   
Walker &  operator= 
(const Walker  &w);

bool  done 
();

bool  has_next 
();

pointer  operator-> 
();

reference  operator * 
();

Walker &  operator++ 
();

Walker  operator++ 
();

bool  operator== 
(const Walker  &w);

bool  operator!= 
(const Walker  &w);

  ~Walker 
();

  Walker 
(const Walker  &w);

  Walker 
(AdapterBase *cadapter);

Rapicorn::Walker::Adapter

/opt/src/rapicorn/rapicorn/utilities.hh:333
class Rapicorn::Walker::Adapter
{
  Iterator ibegin;
  Iterator iend;
    Adapter  (cbegin, cend);
  bool  done  ();
  void  inc  ();
  AdapterBase*  clone  ();
  void*  element  ();
  bool  equals  (eb);
};

   
  Adapter 
(const Iterator  &cbegin,
 const Iterator  &cend);

bool  done 
();

void  inc 
();

AdapterBase*  clone 
();

void*  element 
();

bool  equals 
(const AdapterBase  &eb);

Rapicorn::Walker::AdapterBase

/opt/src/rapicorn/rapicorn/utilities.hh:324
class Rapicorn::Walker::AdapterBase
{
  bool  done  ();
  void  inc  ();
  AdapterBase*  clone  ();
  void*  element  ();
  bool  equals  (eb);
};

   
bool  done 
();

void  inc 
();

AdapterBase*  clone 
();

void*  element 
();

bool  equals 
(const AdapterBase  &eb);

std::exception

/opt/src/rapicorn/rapicorn/utilities.hh:71

assert_derived_from

/opt/src/rapicorn/rapicorn/utilities.hh:103

is_derived

/opt/src/rapicorn/rapicorn/utilities.hh:119
bool  is_derived 
();

iterator_range

/opt/src/rapicorn/rapicorn/utilities.hh:278
IteratorRange< Iterator >  iterator_range 
(const Iterator  &begin,
 const Iterator  &end);

max

/opt/src/rapicorn/rapicorn/utilities.hh:46
double  max 
(double a,
 int64  b);

max

/opt/src/rapicorn/rapicorn/utilities.hh:47
double  max 
(int64  a,
 double b);

min

/opt/src/rapicorn/rapicorn/utilities.hh:44
double  min 
(double a,
 int64  b);

min

/opt/src/rapicorn/rapicorn/utilities.hh:45
double  min 
(int64  a,
 double b);

operator!=

/opt/src/rapicorn/rapicorn/utilities.hh:178
bool  operator!= 
(const PointerIterator< Value >  &x,
 const PointerIterator< Value >  &y);

operator!=

/opt/src/rapicorn/rapicorn/utilities.hh:224
bool  operator!= 
(const ValueIterator< Iterator >  &x,
 const ValueIterator< Iterator >  &y);

operator+

/opt/src/rapicorn/rapicorn/utilities.hh:196
PointerIterator< Value >  operator+ 
(typename PointerIterator< Value >::difference_type n,
 const PointerIterator< Value >                    &x);

operator+

/opt/src/rapicorn/rapicorn/utilities.hh:242
ValueIterator< Iterator >  operator+ 
(typename ValueIterator< Iterator >::difference_type n,
 const ValueIterator< Iterator >                    &x);

operator-

/opt/src/rapicorn/rapicorn/utilities.hh:193
PointerIterator< Value >::difference_type  operator- 
(const PointerIterator< Value >  &x,
 const PointerIterator< Value >  &y);

operator-

/opt/src/rapicorn/rapicorn/utilities.hh:239
ValueIterator< Iterator >::difference_type  operator- 
(const ValueIterator< Iterator >  &x,
 const ValueIterator< Iterator >  &y);

operator<

/opt/src/rapicorn/rapicorn/utilities.hh:181
bool  operator< 
(const PointerIterator< Value >  &x,
 const PointerIterator< Value >  &y);

operator<

/opt/src/rapicorn/rapicorn/utilities.hh:227
bool  operator< 
(const ValueIterator< Iterator >  &x,
 const ValueIterator< Iterator >  &y);

operator<=

/opt/src/rapicorn/rapicorn/utilities.hh:184
bool  operator<= 
(const PointerIterator< Value >  &x,
 const PointerIterator< Value >  &y);

operator<=

/opt/src/rapicorn/rapicorn/utilities.hh:230
bool  operator<= 
(const ValueIterator< Iterator >  &x,
 const ValueIterator< Iterator >  &y);

operator==

/opt/src/rapicorn/rapicorn/utilities.hh:175
bool  operator== 
(const PointerIterator< Value >  &x,
 const PointerIterator< Value >  &y);

operator==

/opt/src/rapicorn/rapicorn/utilities.hh:221
bool  operator== 
(const ValueIterator< Iterator >  &x,
 const ValueIterator< Iterator >  &y);

operator>

/opt/src/rapicorn/rapicorn/utilities.hh:187
bool  operator> 
(const PointerIterator< Value >  &x,
 const PointerIterator< Value >  &y);

operator>

/opt/src/rapicorn/rapicorn/utilities.hh:233
bool  operator> 
(const ValueIterator< Iterator >  &x,
 const ValueIterator< Iterator >  &y);

operator>=

/opt/src/rapicorn/rapicorn/utilities.hh:190
bool  operator>= 
(const PointerIterator< Value >  &x,
 const PointerIterator< Value >  &y);

operator>=

/opt/src/rapicorn/rapicorn/utilities.hh:236
bool  operator>= 
(const ValueIterator< Iterator >  &x,
 const ValueIterator< Iterator >  &y);

pointer_iterator

/opt/src/rapicorn/rapicorn/utilities.hh:172
PointerIterator< Value >  pointer_iterator 
(Value*const val);

rapicorn_gettext

/opt/src/rapicorn/rapicorn/utilities.hh:37

rapicorn_init

/opt/src/rapicorn/rapicorn/utilities.hh:32
void  rapicorn_init 
(int        *argcp,
 char     ***argvp,
 const char *app_name);

rapicorn_thread_enter

/opt/src/rapicorn/rapicorn/utilities.hh:33

rapicorn_thread_entered

/opt/src/rapicorn/rapicorn/utilities.hh:35

rapicorn_thread_leave

/opt/src/rapicorn/rapicorn/utilities.hh:36

rapicorn_thread_try_enter

/opt/src/rapicorn/rapicorn/utilities.hh:34

text_convert

/opt/src/rapicorn/rapicorn/utilities.hh:55
bool  text_convert 
(const char         *to_charset,
 std::string        &output_string,
 const char         *from_charset,
 const std::string  &input_string,
 const char         *fallback_charset,
 const std::string  &output_mark);

throw_if_null

/opt/src/rapicorn/rapicorn/utilities.hh:81
void  throw_if_null 
(Pointer data);

value_iterator

/opt/src/rapicorn/rapicorn/utilities.hh:218
ValueIterator< Iterator >  value_iterator 
(const Iterator  &iter);

value_iterator_range

/opt/src/rapicorn/rapicorn/utilities.hh:317
ValueIteratorRange< Iterator >  value_iterator_range 
(const Iterator  &begin,
 const Iterator  &end);

value_walker

/opt/src/rapicorn/rapicorn/utilities.hh:384
Walker< typename Dereference< const typename Container::const_iterator::value_type >::Value >  value_walker 
(const Container  &container);

value_walker

/opt/src/rapicorn/rapicorn/utilities.hh:394
Walker< typename Dereference< typename Container::iterator::value_type >::Value >  value_walker 
(Container  &container);

value_walker

/opt/src/rapicorn/rapicorn/utilities.hh:411
Walker< typename Dereference< typename Iterator::value_type >::Value >  value_walker 
(const Iterator  &begin,
 const Iterator  &end);

walker

/opt/src/rapicorn/rapicorn/utilities.hh:368
Walker< const typename Container::const_iterator::value_type >  walker 
(const Container  &container);

walker

/opt/src/rapicorn/rapicorn/utilities.hh:376
Walker< typename Container::iterator::value_type >  walker 
(Container  &container);

walker

/opt/src/rapicorn/rapicorn/utilities.hh:404
Walker< typename Iterator::value_type >  walker 
(const Iterator  &begin,
 const Iterator  &end);