istring.cpp File Reference

#include "build_configuration.h"
#include "function.h"
#include "guards.h"
#include "istring.h"
#include "packable.h"
#include "sequence.cpp"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Include dependency graph for istring.cpp:

Go to the source code of this file.

Defines

#define static_class_name()   "istring"

Functions

const istring BASIS_EXTERN & __istring_empty_string ()
 externally stored version of istring::empty_string.
bool istring_comparator (const istring &a, const istring &b)
 implements a string comparator that just does simple istring ==.
char simple_lower (char input)
bool imatches_any (char to_check, const istring &list)
bool matches_any (char to_check, const istring &list)
bool matches_none (char to_check, const istring &list)

Variables

const int LONGEST_SPRINTF = 600
const char CASE_DIFFERENCE = char('A' - 'a')
const int MAX_FIELD_FUDGE_FACTOR = 64
const byte empty_char_star [] = ""


Define Documentation

 
#define static_class_name (  )     "istring"

Definition at line 65 of file istring.cpp.


Function Documentation

const istring BASIS_EXTERN& __istring_empty_string (  ) 

externally stored version of istring::empty_string.

Definition at line 65 of file static_memory_gremlin.cpp.

Referenced by istring::empty_string().

bool imatches_any ( char  to_check,
const istring list 
)

Definition at line 628 of file istring.cpp.

References istring::length(), and simple_lower().

bool istring_comparator ( const istring a,
const istring b 
)

implements a string comparator that just does simple istring ==.

Definition at line 60 of file istring.cpp.

Referenced by nodes::symbol_tree::find().

bool matches_any ( char  to_check,
const istring list 
)

Definition at line 635 of file istring.cpp.

References istring::length().

bool matches_none ( char  to_check,
const istring list 
)

Definition at line 642 of file istring.cpp.

References istring::length().

char simple_lower ( char  input  ) 

Definition at line 600 of file istring.cpp.

References CASE_DIFFERENCE.

Referenced by imatches_any(), and istring::slow_strncasecmp().


Variable Documentation

const char CASE_DIFFERENCE = char('A' - 'a')

Definition at line 41 of file istring.cpp.

Referenced by simple_lower(), istring::to_lower(), and istring::to_upper().

const byte empty_char_star[] = ""

Definition at line 52 of file istring.cpp.

const int LONGEST_SPRINTF = 600

Definition at line 39 of file istring.cpp.

const int MAX_FIELD_FUDGE_FACTOR = 64

Definition at line 49 of file istring.cpp.


Generated on Fri Oct 10 04:29:30 2008 for HOOPLE Libraries by  doxygen 1.5.1