Doxygen
|
Minimal string class with std::string like behavior that fulfills the JavaCC string requirements. More...
#include <vhdlparser/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) |
VhdlString & | operator+= (VhdlString s) |
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 behavior that fulfills the JavaCC string requirements.
Definition at line 33 of file vhdlstring.h.
|
inline |
Definition at line 36 of file vhdlstring.h.
References init().
Referenced by append(), append(), append(), operator+(), operator+=(), operator+=(), operator+=(), operator=(), substr(), and VhdlString().
|
inline |
|
inline |
|
inline |
Definition at line 65 of file vhdlstring.h.
|
inline |
|
inline |
|
inline |
Definition at line 76 of file vhdlstring.h.
References m_len, m_str, size(), and VhdlString().
Referenced by append(), append(), operator+(), operator+(), operator+=(), operator+=(), and operator+=().
|
inline |
Definition at line 92 of file vhdlstring.h.
References append(), m_len, m_str, and VhdlString().
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 121 of file vhdlstring.h.
Referenced by clear(), and VhdlString().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 110 of file vhdlstring.h.
References m_len.
Referenced by append(), and VhdlString().
|
inline |
|
private |
Definition at line 123 of file vhdlstring.h.
Referenced by append(), append(), copy(), init(), length(), operator=(), size(), substr(), VhdlString(), VhdlString(), and VhdlString().
|
private |
Definition at line 122 of file vhdlstring.h.
Referenced by append(), append(), c_str(), clear(), copy(), data(), init(), operator=(), operator[](), operator[](), substr(), VhdlString(), VhdlString(), VhdlString(), and ~VhdlString().