ALBA
Public Member Functions | List of all members
albaCString Class Reference

#include <albaString.h>

Inheritance diagram for albaCString:
Inheritance graph
[legend]
Collaboration diagram for albaCString:
Collaboration graph
[legend]

Public Member Functions

 albaCString (const char *str)
 
- Public Member Functions inherited from albaString
const albaID Length () const
 
void Copy (const char *src)
 
void NCopy (const char *src, int n)
 
void Erase (int start, int end=-1)
 
char * Duplicate () const
 
int Compare (const char *str) const
 
bool Equals (const char *str) const
 
bool StartsWith (const char *str) const
 
bool EndsWith (const char *str) const
 
albaStringAppend (const char *str)
 
int FindChr (const int c) const
 
void Replace (char from, char to)
 
int FindLastChr (const int c) const
 
int FindFirst (const char *str) const
 
int FindLast (const char *str) const
 
const char * BaseName () const
 
void ExtractPathName ()
 
void SetPathName (const char *str)
 
void SetPathName (albaString *str)
 
char * ParsePathName ()
 
char * ParsePathName (albaString *str)
 
void ForceDuplicate ()
 
const char * GetCStr () const
 
char * GetNonConstCStr ()
 
int GetSize () const
 
int SetMaxLength (albaID len)
 
bool IsEmpty () const
 
albaStringSet (const char *a, bool release=false)
 
void SetCStr (char *a, bool release=false)
 
void Printf (const char *format,...)
 
void NPrintf (unsigned long size, const char *format,...)
 
 operator const char * () const
 
char & operator[] (const int i)
 
const char operator[] (const int i) const
 
const bool operator== (const char *src) const
 
const bool operator!= (const char *src) const
 
const bool operator< (const char *a) const
 
const bool operator> (const char *a) const
 
const bool operator<= (const char *a) const
 
const bool operator>= (const char *a) const
 
albaStringoperator<< (const char *a)
 
void operator<< (std::ostream &os)
 
void operator>> (std::istream &os)
 
albaStringoperator<< (int d)
 
albaStringoperator<< (long d)
 
albaStringoperator<< (float d)
 
albaStringoperator<< (double d)
 
albaStringoperator<< (albaMatrix d)
 
albaStringoperator<< (albaString *s)
 
albaStringoperator+= (const char *s)
 
 albaString (const albaString &src)
 
 albaString (const char *src)
 
 albaString (const double &num)
 
albaStringoperator= (const albaString &mat)
 
albaStringoperator= (const char *src)
 
albaStringoperator= (const double &num)
 
 albaString ()
 
 ~albaString ()
 

Additional Inherited Members

- Static Public Member Functions inherited from albaString
static albaID Length (const char *str)
 
static void Copy (char *dest, const char *src)
 
static char * Duplicate (const char *str)
 
static void Duplicate (char *&store, const char *src, bool release=true)
 
static int Compare (const char *str1, const char *str2)
 
static bool Equals (const char *str1, const char *str2)
 
static bool StartsWith (const char *str1, const char *str2)
 
static bool EndsWith (const char *str1, const char *str2)
 
static char * Append (const char *str1, const char *str2)
 
static const char * BaseName (const char *filename)
 
static char * ParsePathName (char *str)
 
static bool IsEmpty (const char *str)
 
static wxString Format (const char *format,...)
 
- Protected Member Functions inherited from albaString
int SetSize (albaID size)
 
void Initialize ()
 
- Protected Attributes inherited from albaString
char * m_CStr
 
const char * m_ConstCStr
 
albaID m_Size
 

Detailed Description

Class Name : albaCString.

this string class is thought to simply wrap a c-string: no memory copy.

Definition at line 290 of file albaString.h.

Constructor & Destructor Documentation

◆ albaCString()

albaCString::albaCString ( const char *  str)
inline

constructor.

Definition at line 294 of file albaString.h.

References albaString::Set().

Here is the call graph for this function:

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