\section{dynstring.C File Reference}
\label{dynstring_C}\index{dynstring.C@{dynstring.C}}
{\tt \#include "dynstring.h"}\par


Include dependency graph for dynstring.C:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=361pt]{dynstring_C_incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf Set\-DSDelim} (const {\bf Dyn\-String} \&delim)
\item 
void {\bf Add\-DSDelim} (char delim)
\item 
void {\bf Rem\-DSDelim} (char delim)
\item 
{\bf Dyn\-String} {\bf Get\-DSDelim} ()
\item 
{\bf Dyn\-String} {\bf Int\-To\-DS} (int i)
\item 
{\bf Dyn\-String} {\bf Reproduce} (char c, int n)
\end{CompactItemize}


\subsection{Function Documentation}
\index{dynstring.C@{dynstring.C}!AddDSDelim@{AddDSDelim}}
\index{AddDSDelim@{AddDSDelim}!dynstring.C@{dynstring.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Add\-DSDelim (char {\em delim})}\label{dynstring_C_a1}




Definition at line 45 of file dynstring.C.\footnotesize\begin{verbatim}00046   { DynString::Delimiter[(uint) delim] = 1; }
00047 \end{verbatim}\normalsize 
\index{dynstring.C@{dynstring.C}!GetDSDelim@{GetDSDelim}}
\index{GetDSDelim@{GetDSDelim}!dynstring.C@{dynstring.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Dyn\-String} Get\-DSDelim ()}\label{dynstring_C_a3}




Definition at line 51 of file dynstring.C.

Referenced by DSIterator::DSIterator(), j\-Vector::dynread(), and Int\-Vec::dynread().\footnotesize\begin{verbatim}00052   {
00053     DynString delim;
00054     delim.DestResizeToFit(256);
00055     int j=0;
00056     for(uint i=0; i<256; ++i)
00057       {
00058         if(DynString::Delimiter[i])
00059           {
00060             delim.innards[j] = (char) i;
00061             ++j;
00062           }
00063       }
00064 \end{verbatim}\normalsize 
\index{dynstring.C@{dynstring.C}!IntToDS@{IntToDS}}
\index{IntToDS@{IntToDS}!dynstring.C@{dynstring.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Dyn\-String} Int\-To\-DS (int {\em i})}\label{dynstring_C_a4}




Definition at line 351 of file dynstring.C.

Referenced by jd\-Iterator::run(), and Atom\-Buildup::run().\footnotesize\begin{verbatim}00352   {
00353     char s[100]; s[0] = '\0';
00354     sprintf(s, "%i", i);
00355     DynString ds(s);
00356     return ds;
00357 \end{verbatim}\normalsize 
\index{dynstring.C@{dynstring.C}!RemDSDelim@{RemDSDelim}}
\index{RemDSDelim@{RemDSDelim}!dynstring.C@{dynstring.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Rem\-DSDelim (char {\em delim})}\label{dynstring_C_a2}




Definition at line 47 of file dynstring.C.\footnotesize\begin{verbatim}00048   { DynString::Delimiter[(uint) delim] = 0; }
00049 \end{verbatim}\normalsize 
\index{dynstring.C@{dynstring.C}!Reproduce@{Reproduce}}
\index{Reproduce@{Reproduce}!dynstring.C@{dynstring.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Dyn\-String} Reproduce (char {\em c}, int {\em n})}\label{dynstring_C_a5}




Definition at line 745 of file dynstring.C.\footnotesize\begin{verbatim}00746   {
00747     DynString str;
00748     if(!str.DestResizeToFit(n)) return str;
00749     for(int i=0; i<n; ++i) str.innards[i] = c;
00750     str.innards[n] = '\0';
00751     str.L = n;
00752     return str;
00753 \end{verbatim}\normalsize 
\index{dynstring.C@{dynstring.C}!SetDSDelim@{SetDSDelim}}
\index{SetDSDelim@{SetDSDelim}!dynstring.C@{dynstring.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Set\-DSDelim (const {\bf Dyn\-String} \& {\em delim})}\label{dynstring_C_a0}




Definition at line 34 of file dynstring.C.

Referenced by j\-Vector::dynread(), and Int\-Vec::dynread().\footnotesize\begin{verbatim}00035   {
00036     uint j;
00037     for(int i=0; i<256; ++i) DynString::Delimiter[i] = 0;
00038     for(int i=0; i<delim.L; ++i)
00039       {
00040         j = (uint) delim.innards[i];
00041         DynString::Delimiter[j] = 1;
00042       }
00043 \end{verbatim}\normalsize 
