Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBstring.cxx File Reference

Implemenation of CTBstring. More...

#include <string.h>
#include <ctype.h>
#include "CTB.hxx"
#include "CTB_Trace.hxx"
#include "CTBosFill.hxx"
#include "CTBstring.hxx"
#include "CTBnum.hxx"
#include "CTBcstringBase.hxx"

Include dependency graph for CTBstring.cxx:

Include dependency graph

Go to the source code of this file.

Functions

CTBint string_length (const char *c_str)
CTBint string_length (const char *c_str, CTBint i_max)


Detailed Description

Implemenation of CTBstring.

Version:
Id:
CTBstring.cxx,v 1.23 2001/01/14 19:44:55 mueller Exp

Definition in file CTBstring.cxx.


Function Documentation

CTBint string_length const char * c_str [static]
 

helper to determine string length.

Returns 0 if c_str is null, otherwise the result from strlen.

Definition at line 35 of file CTBstring.cxx.

CTBint string_length const char * c_str,
CTBint i_max
[static]
 

helper to determine substring length.

Returns 0 if str is null, otherwise the length of the string starting at c_str with at most i_max characters. The returned length is < i_max is a termination null characters is found in the first i_max characters, otherwise the result is i_max. If i_max is < 0, a length of 0 is returned.

Definition at line 50 of file CTBstring.cxx.

Referenced by CTBstring::Append(), CTBstring::CTBstring(), CTBstring::Compare(), CTBstring::CompareCaseBlind(), CTBstring::Copy(), CTBstring::FindCharacter(), and CTBstring::operator+().


Generated at Fri Oct 24 18:12:50 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001