sc_dt::sc_string_old Class Reference
#include <sysc/utils/sc_string.h>
List of all members.
Public Member Functions |
| sc_string_old (int size=16) |
| sc_string_old (const char *s) |
| sc_string_old (const char *s, int n) |
| sc_string_old (const sc_string_old &s) |
| ~sc_string_old () |
sc_string_old & | operator= (const char *s) |
sc_string_old & | operator= (const sc_string_old &s) |
sc_string_old & | operator+= (const char *s) |
sc_string_old & | operator+= (char c) |
sc_string_old & | operator+= (const sc_string_old &s) |
sc_string_old | operator+ (const char *s) const |
sc_string_old | operator+ (char c) const |
sc_string_old | operator+ (const sc_string_old &s) const |
sc_string_old | substr (int first, int last) const |
bool | operator== (const char *s) const |
bool | operator!= (const char *s) const |
bool | operator< (const char *s) const |
bool | operator<= (const char *s) const |
bool | operator> (const char *s) const |
bool | operator>= (const char *s) const |
bool | operator== (const sc_string_old &s) const |
bool | operator!= (const sc_string_old &s) const |
bool | operator< (const sc_string_old &s) const |
bool | operator<= (const sc_string_old &s) const |
bool | operator> (const sc_string_old &s) const |
bool | operator>= (const sc_string_old &s) const |
int | length () const |
const char * | c_str () const |
| operator const char * () const |
char | operator[] (int index) const |
char & | operator[] (int index) |
template<class T > |
sc_string_old & | fmt (const T &t) |
sc_string_old & | fmt (const sc_string_old &s) |
int | pos (const sc_string_old &sub_string) const |
sc_string_old & | remove (unsigned index, unsigned length) |
sc_string_old & | insert (const sc_string_old &sub_string, unsigned index) |
bool | is_delimiter (const sc_string_old &str, unsigned index) const |
bool | contains (char c) const |
sc_string_old | uppercase () const |
sc_string_old | lowercase () const |
void | set (int index, char c) |
int | cmp (const char *s) const |
int | cmp (const sc_string_old &s) const |
void | print (systemc_ostream &os=::std::cout) const |
Static Public Member Functions |
static sc_string_old | to_string (const char *format,...) |
static sc_string_old | make_str (long n) |
Friends |
systemc_ostream & | operator<< (systemc_ostream &os, const sc_string_old &a) |
systemc_istream & | operator>> (systemc_istream &is, sc_string_old &a) |
sc_string_old | operator+ (const char *s, const sc_string_old &t) |
Detailed Description
Definition at line 65 of file sc_string.h.
Constructor & Destructor Documentation
sc_dt::sc_string_old::sc_string_old |
( |
int |
size = 16 |
) |
[explicit] |
sc_dt::sc_string_old::sc_string_old |
( |
const char * |
s |
) |
|
sc_dt::sc_string_old::sc_string_old |
( |
const char * |
s, |
|
|
int |
n | |
|
) |
| | |
sc_dt::sc_string_old::~sc_string_old |
( |
|
) |
|
Member Function Documentation
const char* sc_dt::sc_string_old::c_str |
( |
|
) |
const |
int sc_dt::sc_string_old::cmp |
( |
const char * |
s |
) |
const |
bool sc_dt::sc_string_old::contains |
( |
char |
c |
) |
const |
template<class T >
sc_string_old& sc_dt::sc_string_old::fmt |
( |
const T & |
t |
) |
[inline] |
bool sc_dt::sc_string_old::is_delimiter |
( |
const sc_string_old & |
str, |
|
|
unsigned |
index | |
|
) |
| | const |
int sc_dt::sc_string_old::length |
( |
|
) |
const |
static sc_string_old sc_dt::sc_string_old::make_str |
( |
long |
n |
) |
[static] |
sc_dt::sc_string_old::operator const char * |
( |
|
) |
const |
bool sc_dt::sc_string_old::operator!= |
( |
const sc_string_old & |
s |
) |
const |
bool sc_dt::sc_string_old::operator!= |
( |
const char * |
s |
) |
const |
sc_string_old sc_dt::sc_string_old::operator+ |
( |
const char * |
s |
) |
const |
sc_string_old& sc_dt::sc_string_old::operator+= |
( |
const char * |
s |
) |
|
bool sc_dt::sc_string_old::operator< |
( |
const sc_string_old & |
s |
) |
const |
bool sc_dt::sc_string_old::operator< |
( |
const char * |
s |
) |
const |
bool sc_dt::sc_string_old::operator<= |
( |
const sc_string_old & |
s |
) |
const |
bool sc_dt::sc_string_old::operator<= |
( |
const char * |
s |
) |
const |
sc_string_old& sc_dt::sc_string_old::operator= |
( |
const char * |
s |
) |
|
bool sc_dt::sc_string_old::operator== |
( |
const sc_string_old & |
s |
) |
const |
bool sc_dt::sc_string_old::operator== |
( |
const char * |
s |
) |
const |
bool sc_dt::sc_string_old::operator> |
( |
const sc_string_old & |
s |
) |
const |
bool sc_dt::sc_string_old::operator> |
( |
const char * |
s |
) |
const |
bool sc_dt::sc_string_old::operator>= |
( |
const sc_string_old & |
s |
) |
const |
bool sc_dt::sc_string_old::operator>= |
( |
const char * |
s |
) |
const |
char& sc_dt::sc_string_old::operator[] |
( |
int |
index |
) |
|
char sc_dt::sc_string_old::operator[] |
( |
int |
index |
) |
const |
int sc_dt::sc_string_old::pos |
( |
const sc_string_old & |
sub_string |
) |
const |
void sc_dt::sc_string_old::print |
( |
systemc_ostream & |
os = ::std::cout |
) |
const |
sc_string_old& sc_dt::sc_string_old::remove |
( |
unsigned |
index, |
|
|
unsigned |
length | |
|
) |
| | |
void sc_dt::sc_string_old::set |
( |
int |
index, |
|
|
char |
c | |
|
) |
| | |
sc_string_old sc_dt::sc_string_old::substr |
( |
int |
first, |
|
|
int |
last | |
|
) |
| | const |
static sc_string_old sc_dt::sc_string_old::to_string |
( |
const char * |
format, |
|
|
|
... | |
|
) |
| | [static] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: