Minimal string class with std::string like behaviour that fulfills the JavaCC string requirements. More...
#include <vhdlstring.h>
Public Member Functions | |
VhdlString () | |
VhdlString (const VhdlString &other) | |
VhdlString & | operator= (const VhdlString &other) |
VhdlString (const char *s) | |
VhdlString (const char *s, int size) | |
~VhdlString () | |
VhdlString & | append (const char *s, int size) |
VhdlString & | append (const char *s) |
VhdlString & | append (const VhdlString &other) |
VhdlString | substr (int pos=0, int len=-1) |
int | copy (char *s, int len, int pos=0) const |
const char * | c_str () const |
const char * | data () const |
int | size () const |
int | length () const |
char & | operator[] (int i) |
const char & | operator[] (int i) const |
void | clear () |
VhdlString & | operator+= (char c) |
VhdlString & | operator+= (const char *s) |
Private Member Functions | |
void | init () |
Private Attributes | |
char * | m_str |
int | m_len |
Minimal string class with std::string like behaviour that fulfills the JavaCC string requirements.
Definition at line 12 of file vhdlstring.h.
|
inline |
Definition at line 15 of file vhdlstring.h.
|
inline |
Definition at line 19 of file vhdlstring.h.
|
inline |
Definition at line 38 of file vhdlstring.h.
|
inline |
Definition at line 44 of file vhdlstring.h.
|
inline |
Definition at line 51 of file vhdlstring.h.
|
inline |
Definition at line 55 of file vhdlstring.h.
|
inline |
Definition at line 67 of file vhdlstring.h.
|
inline |
Definition at line 71 of file vhdlstring.h.
|
inline |
Definition at line 87 of file vhdlstring.h.
|
inline |
Definition at line 93 of file vhdlstring.h.
|
inline |
Definition at line 79 of file vhdlstring.h.
|
inline |
Definition at line 88 of file vhdlstring.h.
|
inlineprivate |
Definition at line 98 of file vhdlstring.h.
|
inline |
Definition at line 90 of file vhdlstring.h.
|
inline |
Definition at line 94 of file vhdlstring.h.
|
inline |
Definition at line 95 of file vhdlstring.h.
|
inline |
Definition at line 26 of file vhdlstring.h.
|
inline |
Definition at line 91 of file vhdlstring.h.
|
inline |
Definition at line 92 of file vhdlstring.h.
|
inline |
Definition at line 89 of file vhdlstring.h.
|
inline |
Definition at line 75 of file vhdlstring.h.
|
private |
Definition at line 100 of file vhdlstring.h.
|
private |
Definition at line 99 of file vhdlstring.h.