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

CTBcstringBase.cxx File Reference

Implementation of CTBcstringBase. More...

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <float.h>
#include "CTB.hxx"
#include "CTB_Trace.hxx"
#include "CTBcstringBase.hxx"
#include "CTBnum.hxx"

Include dependency graph for CTBcstringBase.cxx:

Include dependency graph

Go to the source code of this file.

Functions

const char * trim_to_buffer (const char *c_src, CTBint i_size, char *c_buf, CTBint i_bufsize)


Detailed Description

Implementation of CTBcstringBase.

Version:
Id:
CTBcstringBase.cxx,v 1.14 2000/11/24 19:35:32 mueller Exp

Definition in file CTBcstringBase.cxx.


Function Documentation

const char* trim_to_buffer const char * c_src,
CTBint i_size,
char * c_buf,
CTBint i_bufsize
[static]
 

Helper: copies to c_buf if substring, returns effective buffer pointer.

Simply c_src is returned if i_size is < 0. If i_size is >=0, the trimmed part of this substring is copied to the buffer c_buf with size i_bufsize. If the buffer is not larger enough a null is returned, otherwise c_buf.

Definition at line 179 of file CTBcstringBase.cxx.

Referenced by CTBcstringBase::Get().


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