astring.h File Reference

#include "base_string.h"
#include "byte_array.h"
#include "contracts.h"
#include <stdarg.h>
Include dependency graph for astring.h:

Go to the source code of this file.

Classes

class  basis::astring
 Provides a dynamically resizable ASCII character string. More...
class  basis::a_sprintf
 a_sprintf is a specialization of astring that provides printf style support. More...

Namespaces

namespace  basis
 

The guards collection helps in testing preconditions and reporting errors.


Typedefs

typedef bool basis::string_comparator_function (const astring &a, const astring &b)
 returns true if the strings "a" and "b" are considered equal.

Functions

bool basis::astring_comparator (const astring &a, const astring &b)
 implements a string comparator that just does simple astring ==.
void basis::attach (byte_array &packed_form, const char *to_attach)
 Packs a character string "to_attach" into "packed_form".
bool basis::detach (byte_array &packed_form, astring &to_detach)
 Unpacks a character string "to_attach" from "packed_form".
Generated on Sat Jan 28 04:23:13 2012 for hoople2 project by  doxygen 1.6.3