#include <assert.h>#include <ctype.h>#include <stdio.h>#include <stdarg.h>#include <string.h>#include "sysc/utils/sc_iostream.h"#include "sysc/utils/sc_string.h"#include "sysc/utils/sc_utils_ids.h"ネームスペース | |
| namespace | sc_dt |
構成 | |
| class | sc_dt::sc_string_rep |
マクロ定義 | |
| #define | DEFINE_RELOP(op) |
関数 | |
| int | sc_dt::sc_roundup (int n, int m) |
| const std::string | sc_dt::to_string (sc_numrep numrep) |
| sc_string_old | sc_dt::operator+ (const char *s, const sc_string_old &t) |
| ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_string_old &s) |
| #define DEFINE_RELOP | ( | op | ) |
値:
bool sc_string_old::operator op( const char* s ) const \ { \ return strcmp( rep->str, s ) op 0; \ } \ bool sc_string_old::operator op( const sc_string_old& s ) const \ { \ return strcmp( rep->str, s.rep->str ) op 0; \ }
sc_string.cpp の 383 行で定義されています。
1.5.6