100 int copy(
char *
s,
int len,
int pos=0)
const
102 if (len==0)
return 0;
103 if (pos>=
m_len) {
s[0]=0;
return 0; }
Minimal string class with std::string like behavior that fulfills the JavaCC string requirements.
VhdlString & operator=(const VhdlString &other)
VhdlString & operator+=(const char *s)
VhdlString & operator+=(VhdlString s)
VhdlString operator+(const char *s)
VhdlString & append(const char *s, int size)
const char * c_str() const
const char & operator[](int i) const
VhdlString & operator+=(char c)
VhdlString & append(const char *s)
VhdlString(const VhdlString &other)
const char * data() const
VhdlString(const char *s, int size)
VhdlString substr(int pos=0, int len=-1)
VhdlString(const char *s)
VhdlString & append(const VhdlString &other)
int copy(char *s, int len, int pos=0) const
void setLexParser(VhdlParser *p)
Token literal values and constants.
VhdlString operator+(const char *s, VhdlString v)