Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

SubString::SharedData Class Reference

Inheritance diagram for SubString::SharedData:

Inheritance graph
[legend]
Collaboration diagram for SubString::SharedData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SharedData ()
 ----------------- SharedData methods -----------------

 SharedData (const SharedData &rhs)
 ~SharedData ()
void pStr (String *strRef)
StringpStr ()
void start (int start)
size_t start ()
void subStrLen (int val)
size_t subStrLen ()
size_t getRefCnt ()

Private Member Functions

void copy (const SharedData &rhs)

Private Attributes

StringpStr_
size_t start_
size_t subStrLen_

Constructor & Destructor Documentation

SubString::SharedData::SharedData  )  [inline]
 

----------------- SharedData methods -----------------

Definition at line 261 of file SubString.h.

References pStr_, start_, and subStrLen_.

00262 {
00263   pStr_ = 0;
00264   start_ = 0;
00265   subStrLen_ = 0;
00266 }

SubString::SharedData::SharedData const SharedData rhs  )  [inline]
 

Definition at line 176 of file SubString.h.

References copy().

00176 { copy( rhs ); }

SubString::SharedData::~SharedData  )  [inline]
 

Definition at line 177 of file SubString.h.

00177 {}


Member Function Documentation

void SubString::SharedData::copy const SharedData rhs  )  [inline, private]
 

Definition at line 269 of file SubString.h.

References pStr_, start_, and subStrLen_.

Referenced by SharedData().

00270 {
00271   pStr_ = rhs.pStr_;
00272   start_ = rhs.start_;
00273   subStrLen_ = subStrLen_;
00274 } // copy

size_t SubString::SharedData::getRefCnt  )  [inline]
 

Definition at line 188 of file SubString.h.

References RCObject::refCnt().

00188 { return refCnt(); }

String* SubString::SharedData::pStr  )  [inline]
 

Definition at line 180 of file SubString.h.

References pStr_.

00180 { return pStr_; }

void SubString::SharedData::pStr String strRef  )  [inline]
 

Definition at line 179 of file SubString.h.

References pStr_.

00179 { pStr_ = strRef; }

size_t SubString::SharedData::start  )  [inline]
 

Definition at line 183 of file SubString.h.

References start_.

00183 { return start_; }

void SubString::SharedData::start int  start  )  [inline]
 

Definition at line 182 of file SubString.h.

References start_.

00182 { start_ = static_cast<size_t>(start); }

size_t SubString::SharedData::subStrLen  )  [inline]
 

Definition at line 186 of file SubString.h.

References subStrLen_.

00186 { return subStrLen_; }

void SubString::SharedData::subStrLen int  val  )  [inline]
 

Definition at line 185 of file SubString.h.

References subStrLen_.

00185 { subStrLen_ = static_cast<size_t>(val); }


Member Data Documentation

String* SubString::SharedData::pStr_ [private]
 

Definition at line 167 of file SubString.h.

Referenced by copy(), pStr(), and SharedData().

size_t SubString::SharedData::start_ [private]
 

Definition at line 168 of file SubString.h.

Referenced by copy(), SharedData(), and start().

size_t SubString::SharedData::subStrLen_ [private]
 

Definition at line 169 of file SubString.h.

Referenced by copy(), SharedData(), and subStrLen().


The documentation for this class was generated from the following file:
Generated on Mon Sep 22 20:23:03 2003 by doxygen 1.3.3