Strings::VerySimpleReadOnlyString Class Reference

#include <Strings.hpp>

List of all members.


Detailed Description

Well, the name says it all, this is a very simple read only string.


Public Member Functions

tCharPtr getData () const
 Get a pointer on the data.
const int getLength () const
 Get the string length.
bool limitTo (const int newLength)
 Limit the string length to the given value.
const bool operator!= (const VerySimpleReadOnlyString &copy) const
 Inverted compare operator.
const bool operator== (const VerySimpleReadOnlyString &copy) const
 Compare operator.
 VerySimpleReadOnlyString (const VerySimpleReadOnlyString &copy)
 Copy constructor.
 VerySimpleReadOnlyString (tCharPtr _data=0, const int _length=-1)
 Default constructor.
 ~VerySimpleReadOnlyString ()
 The destructor.


Constructor & Destructor Documentation

Strings::VerySimpleReadOnlyString::VerySimpleReadOnlyString ( tCharPtr  _data = 0,
const int  _length = -1 
) [inline]

Default constructor.

Strings::VerySimpleReadOnlyString::~VerySimpleReadOnlyString (  )  [inline]

The destructor.

Strings::VerySimpleReadOnlyString::VerySimpleReadOnlyString ( const VerySimpleReadOnlyString copy  )  [inline]

Copy constructor.


Member Function Documentation

tCharPtr Strings::VerySimpleReadOnlyString::getData (  )  const [inline]

Get a pointer on the data.

const int Strings::VerySimpleReadOnlyString::getLength (  )  const [inline]

Get the string length.

bool Strings::VerySimpleReadOnlyString::limitTo ( const int  newLength  )  [inline]

Limit the string length to the given value.

Parameters:
newLength the new length
Returns:
true on success

const bool Strings::VerySimpleReadOnlyString::operator!= ( const VerySimpleReadOnlyString copy  )  const [inline]

Inverted compare operator.

const bool Strings::VerySimpleReadOnlyString::operator== ( const VerySimpleReadOnlyString copy  )  const [inline]

Compare operator.


The documentation for this class was generated from the following file:

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is