SourceForge.net Logo
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ptstring.h File Reference

#include <iostream>

Include dependency graph for ptstring.h:

This graph shows which files directly or indirectly include this file:

Compounds

struct  ptstring::_strrec
class  ptstring

Defines

#define _ptstring_strlen(x)   strlen(x)
#define STR_BASE(x)   (_pstrrec(x)-1)
#define STR_REFCOUNT(x)   (STR_BASE(x)->refcount)
#define STR_LENGTH(x)   (STR_BASE(x)->length)

Functions

template<class data_type> ptstring< data_type > & operator<< (ptstring< data_type > &s, const ptstring< data_type > &rhs)
template<class data_type> ptstring< data_type > & operator<< (ptstring< data_type > &s, const data_type *rhs)
template<class data_type> ptstring< data_type > & operator<< (ptstring< data_type > &s, const data_type rhs)
template<class data_type> ptstring< data_type > operator+ (data_type c, const ptstring< data_type > &s)
template<class data_type> ptstring< data_type > operator+ (const data_type *sc, const ptstring< data_type > &s)


Define Documentation

#define _ptstring_strlen      strlen(x)
 

#define STR_BASE      (_pstrrec(x)-1)
 

#define STR_LENGTH      (STR_BASE(x)->length)
 

#define STR_REFCOUNT      (STR_BASE(x)->refcount)
 


Function Documentation

template<class data_type>
ptstring<data_type> operator+ const data_type *    sc,
const ptstring< data_type > &    s
[inline]
 

template<class data_type>
ptstring<data_type> operator+ data_type    c,
const ptstring< data_type > &    s
[inline]
 

template<class data_type>
ptstring<data_type>& operator<< ptstring< data_type > &    s,
const data_type    rhs
[inline]
 

template<class data_type>
ptstring<data_type>& operator<< ptstring< data_type > &    s,
const data_type *    rhs
[inline]
 

template<class data_type>
ptstring<data_type>& operator<< ptstring< data_type > &    s,
const ptstring< data_type > &    rhs
[inline]
 

Last Updated: March 12, 2003 (rlr)
Copyright © 2003 Eastman Kodak Company All Rights Reserved.