libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moText0 Class Reference

clase de para manejar textos More...

#include <moText.h>

Public Member Functions

 moText0 ()
 
 moText0 (const moText0 &)
 
 moText0 (char *)
 
 moText0 (const char *)
 
 moText0 (wchar_t *)
 
 moText0 (int)
 
 moText0 (unsigned int)
 
 moText0 (long)
 
 moText0 (unsigned long)
 
 moText0 (long long)
 
 moText0 (unsigned long long)
 
 moText0 (float)
 
 moText0 (double)
 
virtual ~moText0 ()
 
MOuint Length () const
 
moText0operator= (const moText0 &txt)
 
moText0operator+= (const moText0 &txt)
 
int operator< (const moText0 &txt) const
 
int operator> (const moText0 &txt) const
 
int operator<= (const moText0 &txt) const
 
int operator>= (const moText0 &txt) const
 
int operator== (const moText0 &txt) const
 
int operator!= (const moText0 &txt) const
 
moText0operator= (const char *txt)
 
moText0operator= (const short *txt)
 
moText0operator+= (const char *txt)
 
int operator< (const char *txt) const
 
int operator> (const char *txt) const
 
int operator<= (const char *txt) const
 
int operator>= (const char *txt) const
 
int operator== (const char *txt) const
 
int operator!= (const char *txt) const
 
virtual operator char * () const
 
wchar_t * Unicode () const
 
moText0Left (MOuint)
 
moText0Right (MOuint)
 
moText0Mid (MOuint, MOuint)
 
moText0SubText (MOuint, MOuint)
 
moText0Insert (char *, MOuint)
 
moText0Delete (MOuint, MOuint)
 
moText0 Scan (char *)
 
moText0 ScanEx (char *)
 
moText0LTrim ()
 
moText0RTrim ()
 
moText0Trim ()
 
unsigned short * Short ()
 
void ToUpper ()
 
void ToLower ()
 
moTextArray Explode (char *separator) const
 
int Find (const moText0 &target)
 divide el texto separado por el caracter especificado More...
 
void ReplaceChar (const char *target, const char *replacement)
 
void Replace (const moText0 &target, const moText0 &replacement)
 
void txtcopy (const char *txt, MOuint pos=0, MOuint com=0, MOuint fin=MO_TXT_COMPLETE)
 
void txtcopy (const short *txt, MOuint pos=0, MOuint com=0, MOuint fin=MO_TXT_COMPLETE)
 
 moText0 ()
 
 moText0 (const moText0 &)
 
 moText0 (char *)
 
 moText0 (const char *)
 
 moText0 (wchar_t *)
 
 moText0 (int)
 
 moText0 (unsigned int)
 
 moText0 (long)
 
 moText0 (unsigned long)
 
 moText0 (long long)
 
 moText0 (unsigned long long)
 
 moText0 (float)
 
 moText0 (double)
 
virtual ~moText0 ()
 
MOuint Length () const
 
moText0operator= (const moText0 &txt)
 
moText0operator+= (const moText0 &txt)
 
int operator< (const moText0 &txt) const
 
int operator> (const moText0 &txt) const
 
int operator<= (const moText0 &txt) const
 
int operator>= (const moText0 &txt) const
 
int operator== (const moText0 &txt) const
 
int operator!= (const moText0 &txt) const
 
moText0operator= (const char *txt)
 
moText0operator= (const short *txt)
 
moText0operator+= (const char *txt)
 
int operator< (const char *txt) const
 
int operator> (const char *txt) const
 
int operator<= (const char *txt) const
 
int operator>= (const char *txt) const
 
int operator== (const char *txt) const
 
int operator!= (const char *txt) const
 
virtual operator char * () const
 
wchar_t * Unicode () const
 
moText0Left (MOuint)
 
moText0Right (MOuint)
 
moText0Mid (MOuint, MOuint)
 
moText0SubText (MOuint, MOuint)
 
moText0Insert (char *, MOuint)
 
moText0Delete (MOuint, MOuint)
 
moText0 Scan (char *)
 
moText0 ScanEx (char *)
 
moText0LTrim ()
 
moText0RTrim ()
 
moText0Trim ()
 
unsigned short * Short ()
 
void ToUpper ()
 
void ToLower ()
 
moTextArray Explode (char *separator) const
 
int Find (const moText0 &target)
 divide el texto separado por el caracter especificado More...
 
void ReplaceChar (const char *target, const char *replacement)
 
void Replace (const moText0 &target, const moText0 &replacement)
 
void txtcopy (const char *txt, MOuint pos=0, MOuint com=0, MOuint fin=MO_TXT_COMPLETE)
 
void txtcopy (const short *txt, MOuint pos=0, MOuint com=0, MOuint fin=MO_TXT_COMPLETE)
 

Friends

LIBMOLDEO_API moText0 operator+ (const moText0 &txt1, const moText0 &txt2)
 
LIBMOLDEO_API moText0 operator+ (const moText0 &txt1, const char *txt2)
 
LIBMOLDEO_API moText0 operator+ (const char *txt1, const moText0 &txt2)
 
LIBMOLDEO_API moText0 operator+ (const moText0 &txt1, const moText0 &txt2)
 
LIBMOLDEO_API moText0 operator+ (const moText0 &txt1, const char *txt2)
 
LIBMOLDEO_API moText0 operator+ (const char *txt1, const moText0 &txt2)
 

Detailed Description

clase de para manejar textos

Operaciones y funciones para la manipulación de cadenas de caracteres.

Definition at line 75 of file moText.h.

Constructor & Destructor Documentation

moText0::moText0 ( )
moText0::moText0 ( const moText0 txt)

Definition at line 62 of file moText.cpp.

moText0::moText0 ( char *  txt)

Definition at line 76 of file moText.cpp.

moText0::moText0 ( const char *  txt)

Definition at line 69 of file moText.cpp.

moText0::moText0 ( wchar_t *  wtxt)

Definition at line 83 of file moText.cpp.

moText0::moText0 ( int  p_num)

Definition at line 94 of file moText.cpp.

moText0::moText0 ( unsigned int  p_num)

Definition at line 100 of file moText.cpp.

moText0::moText0 ( long  p_num)

Definition at line 106 of file moText.cpp.

moText0::moText0 ( unsigned long  p_num)

Definition at line 111 of file moText.cpp.

moText0::moText0 ( long long  p_num)

Definition at line 116 of file moText.cpp.

moText0::moText0 ( unsigned long long  p_num)

Definition at line 121 of file moText.cpp.

moText0::moText0 ( float  p_num)

Definition at line 126 of file moText.cpp.

moText0::moText0 ( double  p_num)

Definition at line 131 of file moText.cpp.

moText0::~moText0 ( )
virtual

Definition at line 139 of file moText.cpp.

moText0::moText0 ( )
moText0::moText0 ( const moText0 )
moText0::moText0 ( char *  )
moText0::moText0 ( const char *  )
moText0::moText0 ( wchar_t *  )
moText0::moText0 ( int  )
moText0::moText0 ( unsigned  int)
moText0::moText0 ( long  )
moText0::moText0 ( unsigned  long)
moText0::moText0 ( long  long)
moText0::moText0 ( unsigned long  long)
moText0::moText0 ( float  )
moText0::moText0 ( double  )
virtual moText0::~moText0 ( )
virtual

Member Function Documentation

moText0& moText0::Delete ( MOuint  ,
MOuint   
)
moText0 & moText0::Delete ( MOuint  pos,
MOuint  cant 
)

Definition at line 519 of file moText.cpp.

moTextArray moText0::Explode ( char *  separator) const
moTextArray moText0::Explode ( char *  separator) const

Definition at line 655 of file moText.cpp.

int moText0::Find ( const moText0 target)

divide el texto separado por el caracter especificado

int moText0::Find ( const moText0 target)

divide el texto separado por el caracter especificado

Definition at line 683 of file moText.cpp.

moText0& moText0::Insert ( char *  ,
MOuint   
)
moText0 & moText0::Insert ( char *  txt,
MOuint  pos 
)

Definition at line 511 of file moText.cpp.

moText0& moText0::Left ( MOuint  )
moText0 & moText0::Left ( MOuint  cant)

Definition at line 484 of file moText.cpp.

MOuint moText0::Length ( ) const
MOuint moText0::Length ( ) const

Definition at line 347 of file moText.cpp.

moText0& moText0::LTrim ( )
moText0 & moText0::LTrim ( )

Definition at line 584 of file moText.cpp.

moText0& moText0::Mid ( MOuint  ,
MOuint   
)
moText0 & moText0::Mid ( MOuint  com,
MOuint  cant 
)

Definition at line 498 of file moText.cpp.

virtual moText0::operator char * ( ) const
inlinevirtual

Definition at line 124 of file moText.h.

virtual moText0::operator char * ( ) const
inlinevirtual

Definition at line 128 of file moText.h.

int moText0::operator!= ( const moText0 txt) const
int moText0::operator!= ( const moText0 txt) const

Definition at line 390 of file moText.cpp.

int moText0::operator!= ( const char *  txt) const
int moText0::operator!= ( const char *  txt) const

Definition at line 462 of file moText.cpp.

moText0& moText0::operator+= ( const moText0 txt)
moText0 & moText0::operator+= ( const moText0 txt)

Definition at line 358 of file moText.cpp.

moText0& moText0::operator+= ( const char *  txt)
moText0 & moText0::operator+= ( const char *  txt)

Definition at line 408 of file moText.cpp.

int moText0::operator< ( const moText0 txt) const
int moText0::operator< ( const moText0 txt) const

Definition at line 365 of file moText.cpp.

int moText0::operator< ( const char *  txt) const
int moText0::operator< ( const char *  txt) const

Definition at line 437 of file moText.cpp.

int moText0::operator<= ( const moText0 txt) const
int moText0::operator<= ( const moText0 txt) const

Definition at line 375 of file moText.cpp.

int moText0::operator<= ( const char *  txt) const
int moText0::operator<= ( const char *  txt) const

Definition at line 447 of file moText.cpp.

moText0& moText0::operator= ( const moText0 txt)
moText0 & moText0::operator= ( const moText0 txt)

Definition at line 352 of file moText.cpp.

moText0& moText0::operator= ( const char *  txt)
moText0& moText0::operator= ( const short *  txt)
moText0 & moText0::operator= ( const char *  txt)

Definition at line 396 of file moText.cpp.

moText0 & moText0::operator= ( const short *  txt)

Definition at line 402 of file moText.cpp.

int moText0::operator== ( const moText0 txt) const
int moText0::operator== ( const moText0 txt) const

Definition at line 385 of file moText.cpp.

int moText0::operator== ( const char *  txt) const
int moText0::operator== ( const char *  txt) const

Definition at line 457 of file moText.cpp.

int moText0::operator> ( const moText0 txt) const
int moText0::operator> ( const moText0 txt) const

Definition at line 370 of file moText.cpp.

int moText0::operator> ( const char *  txt) const
int moText0::operator> ( const char *  txt) const

Definition at line 442 of file moText.cpp.

int moText0::operator>= ( const moText0 txt) const
int moText0::operator>= ( const moText0 txt) const

Definition at line 380 of file moText.cpp.

int moText0::operator>= ( const char *  txt) const
int moText0::operator>= ( const char *  txt) const

Definition at line 452 of file moText.cpp.

void moText0::Replace ( const moText0 target,
const moText0 replacement 
)
void moText0::Replace ( const moText0 target,
const moText0 replacement 
)

Definition at line 729 of file moText.cpp.

void moText0::ReplaceChar ( const char *  target,
const char *  replacement 
)
void moText0::ReplaceChar ( const char *  target,
const char *  replacement 
)

Definition at line 796 of file moText.cpp.

moText0& moText0::Right ( MOuint  )
moText0 & moText0::Right ( MOuint  cant)

Definition at line 491 of file moText.cpp.

moText0& moText0::RTrim ( )
moText0 & moText0::RTrim ( )

Definition at line 594 of file moText.cpp.

moText0 moText0::Scan ( char *  )
moText0 moText0::Scan ( char *  cjto)

Definition at line 530 of file moText.cpp.

moText0 moText0::ScanEx ( char *  )
moText0 moText0::ScanEx ( char *  cjto)

Definition at line 543 of file moText.cpp.

unsigned short* moText0::Short ( )
unsigned short * moText0::Short ( )

Definition at line 467 of file moText.cpp.

moText0& moText0::SubText ( MOuint  ,
MOuint   
)
moText0 & moText0::SubText ( MOuint  com,
MOuint  fin 
)

Definition at line 504 of file moText.cpp.

void moText0::ToLower ( )
void moText0::ToLower ( )

Definition at line 632 of file moText.cpp.

void moText0::ToUpper ( )
void moText0::ToUpper ( )

Definition at line 611 of file moText.cpp.

moText0& moText0::Trim ( )
moText0 & moText0::Trim ( )

Definition at line 604 of file moText.cpp.

void moText0::txtcopy ( const char *  txt,
MOuint  pos = 0,
MOuint  com = 0,
MOuint  fin = MO_TXT_COMPLETE 
)
void moText0::txtcopy ( const short *  txt,
MOuint  pos = 0,
MOuint  com = 0,
MOuint  fin = MO_TXT_COMPLETE 
)
void moText0::txtcopy ( const char *  txt,
MOuint  pos = 0,
MOuint  com = 0,
MOuint  fin = MO_TXT_COMPLETE 
)

Definition at line 154 of file moText.cpp.

void moText0::txtcopy ( const short *  txt,
MOuint  pos = 0,
MOuint  com = 0,
MOuint  fin = MO_TXT_COMPLETE 
)

Definition at line 204 of file moText.cpp.

wchar_t* moText0::Unicode ( ) const
inline

Definition at line 125 of file moText.h.

wchar_t* moText0::Unicode ( ) const
inline

Definition at line 129 of file moText.h.

Friends And Related Function Documentation

LIBMOLDEO_API moText0 operator+ ( const moText0 txt1,
const moText0 txt2 
)
friend

Definition at line 415 of file moText.cpp.

LIBMOLDEO_API moText0 operator+ ( const moText0 txt1,
const char *  txt2 
)
friend

Definition at line 422 of file moText.cpp.

LIBMOLDEO_API moText0 operator+ ( const char *  txt1,
const moText0 txt2 
)
friend

Definition at line 429 of file moText.cpp.

LIBMOLDEO_API moText0 operator+ ( const moText0 txt1,
const moText0 txt2 
)
friend

Definition at line 415 of file moText.cpp.

LIBMOLDEO_API moText0 operator+ ( const moText0 txt1,
const char *  txt2 
)
friend

Definition at line 422 of file moText.cpp.

LIBMOLDEO_API moText0 operator+ ( const char *  txt1,
const moText0 txt2 
)
friend

Definition at line 429 of file moText.cpp.


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