SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Static Public Member Functions | Friends | List of all members
sc_dt::sc_string_old Class Reference

#include <sysc/utils/sc_string.h>

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_oldoperator= (const char *s)
 
sc_string_oldoperator= (const sc_string_old &s)
 
sc_string_oldoperator+= (const char *s)
 
sc_string_oldoperator+= (char c)
 
sc_string_oldoperator+= (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_oldfmt (const T &t)
 
sc_string_oldfmt (const sc_string_old &s)
 
int pos (const sc_string_old &sub_string) const
 
sc_string_oldremove (unsigned index, unsigned length)
 
sc_string_oldinsert (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_ostreamoperator<< (systemc_ostream &os, const sc_string_old &a)
 
systemc_istreamoperator>> (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 ( const sc_string_old s)
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
int sc_dt::sc_string_old::cmp ( const sc_string_old 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

Definition at line 155 of file sc_string.h.

sc_string_old& sc_dt::sc_string_old::fmt ( const sc_string_old s)
sc_string_old& sc_dt::sc_string_old::insert ( const sc_string_old sub_string,
unsigned  index 
)
bool sc_dt::sc_string_old::is_delimiter ( const sc_string_old str,
unsigned  index 
) const
int sc_dt::sc_string_old::length ( ) const
sc_string_old sc_dt::sc_string_old::lowercase ( ) 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 char *  s) const
bool sc_dt::sc_string_old::operator!= ( const sc_string_old s) const
sc_string_old sc_dt::sc_string_old::operator+ ( const char *  s) const
sc_string_old sc_dt::sc_string_old::operator+ ( char  c) const
sc_string_old sc_dt::sc_string_old::operator+ ( const sc_string_old s) const
sc_string_old& sc_dt::sc_string_old::operator+= ( const char *  s)
sc_string_old& sc_dt::sc_string_old::operator+= ( char  c)
sc_string_old& sc_dt::sc_string_old::operator+= ( const sc_string_old s)
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
sc_string_old& sc_dt::sc_string_old::operator= ( const char *  s)
sc_string_old& sc_dt::sc_string_old::operator= ( const sc_string_old s)
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
bool sc_dt::sc_string_old::operator>= ( const sc_string_old s) const
char sc_dt::sc_string_old::operator[] ( int  index) const
char& sc_dt::sc_string_old::operator[] ( int  index)
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
sc_string_old sc_dt::sc_string_old::uppercase ( ) const

Friends And Related Function Documentation

sc_string_old operator+ ( const char *  s,
const sc_string_old t 
)
friend
systemc_ostream& operator<< ( systemc_ostream os,
const sc_string_old a 
)
friend

Definition at line 229 of file sc_string.h.

systemc_istream& operator>> ( systemc_istream is,
sc_string_old a 
)
friend

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