Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 764

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

\section{ost::String\-Object Class Reference}
\label{classost_1_1_string_object}\index{ost::StringObject@{ost::StringObject}}
The {\bf String\-Object}{\rm (p.\,\pageref{classost_1_1_string_object})} class is used to derive subclasses that use the {\bf String}{\rm (p.\,\pageref{classost_1_1_string})} managed memory pool for all space allocations by overriding new and delete operators.Objects managed in reusable {\bf String}{\rm (p.\,\pageref{classost_1_1_string})} memory pools.  


{\tt \#include $<$string.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
void $\ast$ {\bf operator new} (size\_\-t size) NEW\_\-THROWS
\begin{CompactList}\small\item\em Create a new object in string managed space. \item\end{CompactList}\item 
void {\bf operator delete} (void $\ast$obj)
\begin{CompactList}\small\item\em Delete object from string managed space. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
The {\bf String\-Object}{\rm (p.\,\pageref{classost_1_1_string_object})} class is used to derive subclasses that use the {\bf String}{\rm (p.\,\pageref{classost_1_1_string})} managed memory pool for all space allocations by overriding new and delete operators.Objects managed in reusable {\bf String}{\rm (p.\,\pageref{classost_1_1_string})} memory pools. 

Due to size limits, {\bf String\-Object}{\rm (p.\,\pageref{classost_1_1_string_object})} should not hold very large objects.

\begin{Desc}
\item[Author:]David Sugar $<${\tt dyfet@ostel.com}$>$ \end{Desc}




\subsection{Member Function Documentation}
\index{ost::StringObject@{ost::String\-Object}!operator delete@{operator delete}}
\index{operator delete@{operator delete}!ost::StringObject@{ost::String\-Object}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ost::String\-Object::operator delete (void $\ast$ {\em obj})}\label{classost_1_1_string_object_6ba20af295d2b9025c014a21dc100543}


Delete object from string managed space. 

\index{ost::StringObject@{ost::String\-Object}!operator new@{operator new}}
\index{operator new@{operator new}!ost::StringObject@{ost::String\-Object}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ ost::String\-Object::operator new (size\_\-t {\em size})}\label{classost_1_1_string_object_127cc4a649378aef325220d2fb48a2b5}


Create a new object in string managed space. 



The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf string.h}\end{CompactItemize}