OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::SubStringRef Class Reference

#include <OgreHlmsCommon.h>

Public Member Functions

 SubStringRef (const String *original, size_t start)
 
 SubStringRef (const String *original, size_t start, size_t end_)
 
 SubStringRef (const String *original, String::const_iterator start)
 
String::const_iterator begin () const
 
String::const_iterator end () const
 
size_t find (const char *value) const
 
size_t find (const String &value) const
 
size_t getEnd (void) const
 
const StringgetOriginalBuffer () const
 
size_t getSize (void) const
 
size_t getStart (void) const
 
void setEnd (size_t newEnd)
 
void setStart (size_t newStart)
 

Private Attributes

size_t mEnd
 
String const * mOriginal
 
size_t mStart
 

Detailed Description

Definition at line 46 of file OgreHlmsCommon.h.

Constructor & Destructor Documentation

Ogre::SubStringRef::SubStringRef ( const String original,
size_t  start 
)
inline

Definition at line 53 of file OgreHlmsCommon.h.

Ogre::SubStringRef::SubStringRef ( const String original,
size_t  start,
size_t  end_ 
)
inline

Definition at line 61 of file OgreHlmsCommon.h.

Ogre::SubStringRef::SubStringRef ( const String original,
String::const_iterator  start 
)
inline

Definition at line 70 of file OgreHlmsCommon.h.

Member Function Documentation

String::const_iterator Ogre::SubStringRef::begin ( ) const
inline

Definition at line 104 of file OgreHlmsCommon.h.

References mOriginal, and mStart.

String::const_iterator Ogre::SubStringRef::end ( ) const
inline

Definition at line 105 of file OgreHlmsCommon.h.

References mEnd, and mOriginal.

size_t Ogre::SubStringRef::find ( const char *  value) const
inline

Definition at line 77 of file OgreHlmsCommon.h.

References mEnd, mOriginal, and mStart.

size_t Ogre::SubStringRef::find ( const String value) const
inline

Definition at line 88 of file OgreHlmsCommon.h.

References mEnd, mOriginal, and mStart.

size_t Ogre::SubStringRef::getEnd ( void  ) const
inline

Definition at line 102 of file OgreHlmsCommon.h.

References mEnd.

const String& Ogre::SubStringRef::getOriginalBuffer ( ) const
inline

Definition at line 106 of file OgreHlmsCommon.h.

References mOriginal.

size_t Ogre::SubStringRef::getSize ( void  ) const
inline

Definition at line 103 of file OgreHlmsCommon.h.

References mEnd, and mStart.

size_t Ogre::SubStringRef::getStart ( void  ) const
inline

Definition at line 101 of file OgreHlmsCommon.h.

References mStart.

void Ogre::SubStringRef::setEnd ( size_t  newEnd)
inline

Definition at line 100 of file OgreHlmsCommon.h.

References mEnd, Ogre::min(), and mOriginal.

void Ogre::SubStringRef::setStart ( size_t  newStart)
inline

Definition at line 99 of file OgreHlmsCommon.h.

References Ogre::min(), mOriginal, and mStart.

Member Data Documentation

size_t Ogre::SubStringRef::mEnd
private

Definition at line 50 of file OgreHlmsCommon.h.

Referenced by end(), find(), getEnd(), getSize(), and setEnd().

String const* Ogre::SubStringRef::mOriginal
private

Definition at line 48 of file OgreHlmsCommon.h.

Referenced by begin(), end(), find(), getOriginalBuffer(), setEnd(), and setStart().

size_t Ogre::SubStringRef::mStart
private

Definition at line 49 of file OgreHlmsCommon.h.

Referenced by begin(), find(), getSize(), getStart(), and setStart().


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