class core_substring

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::core_substring Class Reference

#include <core_substring.h>

List of all members.

Detailed Description

mainly used to operate on literal strings

Public Member Functions

 core_substring ()
 core_substring (const char *text)
 core_substring (const char *b, const char *e)
 core_substring (const core_substring &other)
int length () const
core_substring substr (int startidx, int endidx=-1) const
bool equals (const char *ptr) const
bool equals (const core_substring &other) const
int compareTo (const char *ptr) const
int indexOf (char tk) const

Private Attributes

const char * _begin
const char * _end

Constructor & Destructor Documentation

acdk::lang::sys::core_substring::core_substring  )  [inline]

acdk::lang::sys::core_substring::core_substring const char *  text  )  [inline]

acdk::lang::sys::core_substring::core_substring const char *  b,
const char *  e

acdk::lang::sys::core_substring::core_substring const core_substring other  )  [inline]

Member Function Documentation

int acdk::lang::sys::core_substring::compareTo const char *  ptr  )  const [inline]

bool acdk::lang::sys::core_substring::equals const core_substring other  )  const [inline]

bool acdk::lang::sys::core_substring::equals const char *  ptr  )  const [inline]

int acdk::lang::sys::core_substring::indexOf char  tk  )  const [inline]

int acdk::lang::sys::core_substring::length  )  const [inline]

core_substring acdk::lang::sys::core_substring::substr int  startidx,
int  endidx = -1
const [inline]

Member Data Documentation

const char* acdk::lang::sys::core_substring::_begin [private]

const char* acdk::lang::sys::core_substring::_end [private]