mistring.h File Reference

<mi32/mistring.h> MISTRING class definition More...

#include <mi32/milist.h>
#include <mi32/stdansic.h>
#include <mi32/ucstring.h>

Include dependency graph for mistring.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  MISTRING
 General string class. More...

Defines

#define CLASSLIBEXPORT   MI_DLLCLASSIMPORT

Typedefs

typedef MILIST< MISTRINGMISTRINGLIST

Enumerations

enum  STR_OP {
  STR_Clear = 0, STR_BoolL = 1, STR_BoolM = 2, STR_BoolU = 3,
  STR_FillA = 4, STR_FillB = 5, STR_FillD = 6, STR_Strip0 = 9,
  STR_FillSubs = 10, STR_FltE = 11, STR_FltF = 12, STR_FltG = 13,
  STR_Bin = 14, STR_Dec = 15, STR_Hex = 16, STR_FillSp = 17,
  STR_Fill0 = 18, STR_PrecA = 19, STR_Prec0 = 20, STR_Prec1 = 21,
  STR_Prec2 = 22, STR_Prec3 = 23, STR_Prec4 = 24, STR_Prec5 = 25,
  STR_Prec6 = 26, STR_Prec7 = 27, STR_Prec8 = 28, STR_Prec9 = 29,
  STR_Prec10 = 30, STR_Prec11 = 31, STR_Prec12 = 32, STR_Prec13 = 33,
  STR_Prec14 = 34, STR_Prec15 = 35, STR_Prec16 = 36, STR_Width0 = 40,
  STR_Width1 = 41, STR_Width2 = 42, STR_Width3 = 43, STR_Width4 = 44,
  STR_Width5 = 45, STR_Width6 = 46, STR_Width7 = 47, STR_Width8 = 48,
  STR_Width9 = 49, STR_Width10 = 50, STR_Width11 = 51, STR_Width12 = 52,
  STR_Width13 = 53, STR_Width14 = 54, STR_Width15 = 55
}

Functions

bool operator!= (const MISTRING &lhs, const MISTRING &rhs)
MISTRING operator+ (const MISTRING &lhs, const MISTRING &rhs)
bool operator< (const MISTRING &lhs, const MISTRING &rhs)
bool operator<= (const MISTRING &lhs, const MISTRING &rhs)
bool operator== (const MISTRING &lhs, const MISTRING &rhs)
bool operator> (const MISTRING &lhs, const MISTRING &rhs)
bool operator>= (const MISTRING &lhs, const MISTRING &rhs)
STR_FILL STR_Fill (UNICODE fill)
STR_PAD STR_Pad (UNICODE c, int numchars)
STR_PREC STR_Prec (int precision)
STR_WIDTH STR_Width (int width)


Detailed Description

<mi32/mistring.h> MISTRING class definition

Definition in file mistring.h.


Define Documentation

#define CLASSLIBEXPORT   MI_DLLCLASSIMPORT
 

GENERATING_DOXYGEN_OUTPUT.

Definition at line 202 of file mistring.h.


Typedef Documentation

typedef MILIST<MISTRING> MISTRINGLIST
 

Definition at line 945 of file mistring.h.


Enumeration Type Documentation

enum STR_OP
 

Convenience MISTRING operation and formatting enumerations for use with << operator.

Enumeration values:
STR_Clear  Clear the string.
STR_BoolL  Format bool as localized no/yes (default).
STR_BoolM  Format bool as localized No/Yes.
STR_BoolU  Format bool as localized NO/YES.
STR_FillA  Fill/pad AFTER value if width more than needed.
STR_FillB  Fill/pad BEFORE value if width more than needed.
STR_FillD  Fill/pad default (after strings, before numerics) (default).
STR_Strip0  Strip trailing 0's after decimal point for next formatted value ('fixed' and 'general').
STR_FillSubs  Fill substitution placeholders with '???' to avoid unwanted formatting.
STR_FltE  Set floating format to 'exponential'.
STR_FltF  Set floating format to 'fixed'.
STR_FltG  Set floating format to 'general'.
STR_Bin  Set integer base to 'binary' (2).
STR_Dec  Set integer base to 'decimal' (10).
STR_Hex  Set integer base to 'hexadecimal' (16).
STR_FillSp  Set fill character to ' ' (space).
STR_Fill0  Set fill character to '0'.
STR_PrecA  Set floating precision to 'automatic'.
STR_Prec0  Set floating precision to 0.
STR_Prec1  Set floating precision to 1.
STR_Prec2 
STR_Prec3 
STR_Prec4 
STR_Prec5 
STR_Prec6 
STR_Prec7 
STR_Prec8 
STR_Prec9 
STR_Prec10 
STR_Prec11 
STR_Prec12 
STR_Prec13 
STR_Prec14 
STR_Prec15 
STR_Prec16  Set floating precision to 16.
STR_Width0  Set width to minimum.
STR_Width1  Set minimum width to 1 for next formatted value only.
STR_Width2  Set minimum width to 2 for next formatted value only.
STR_Width3 
STR_Width4 
STR_Width5 
STR_Width6 
STR_Width7 
STR_Width8 
STR_Width9 
STR_Width10 
STR_Width11 
STR_Width12 
STR_Width13 
STR_Width14 
STR_Width15 

Definition at line 213 of file mistring.h.


Function Documentation

bool operator!= const MISTRING lhs,
const MISTRING rhs
[inline]
 

Inequality.

Definition at line 967 of file mistring.h.

MISTRING operator+ const MISTRING lhs,
const MISTRING rhs
[inline]
 

Concatenation of MISTRINGs.

Definition at line 949 of file mistring.h.

bool operator< const MISTRING lhs,
const MISTRING rhs
[inline]
 

Less than.

Definition at line 975 of file mistring.h.

bool operator<= const MISTRING lhs,
const MISTRING rhs
[inline]
 

Less than or equal.

Definition at line 983 of file mistring.h.

bool operator== const MISTRING lhs,
const MISTRING rhs
[inline]
 

Equality.

Definition at line 959 of file mistring.h.

bool operator> const MISTRING lhs,
const MISTRING rhs
[inline]
 

Greater than.

Definition at line 991 of file mistring.h.

bool operator>= const MISTRING lhs,
const MISTRING rhs
[inline]
 

Greater than or equal.

Definition at line 999 of file mistring.h.

STR_FILL STR_Fill UNICODE  fill  )  [inline]
 

String formatting helper to set fill character via << operator.

Use as str << STR_Fill(fill).

Definition at line 1056 of file mistring.h.

STR_PAD STR_Pad UNICODE  c,
int  numchars
[inline]
 

String formatting helper to pad specified number of characters.

Use as str << STR_Pad(c,numchars).

Parameters:
c  Character to pad with
numchars  Number of characters to pad

Definition at line 1062 of file mistring.h.

STR_PREC STR_Prec int  precision  )  [inline]
 

String formatting helper to set precision via << operator.

Use as str << STR_Prec(precision).

Definition at line 1069 of file mistring.h.

STR_WIDTH STR_Width int  width  )  [inline]
 

INC_MI32_MISTRING_H.

Definition at line 1075 of file mistring.h.


Generated on Tue Dec 14 13:19:07 2004 for TNTsdk by  doxygen 1.3.8-20040913