46 m_str = (
char*)malloc(size+1);
69 return append(s,strlen(s));
82 if (
pos>=
m_len) { s[0]=0;
return 0; }
VhdlString & operator+=(const char *s)
VhdlString & append(const VhdlString &other)
int copy(char *s, int len, int pos=0) const
VhdlString & operator=(const VhdlString &other)
VhdlString & append(const char *s, int size)
const char * data() const
VhdlString(const char *s)
VhdlString(const VhdlString &other)
VhdlString & append(const char *s)
const char * c_str() const
VhdlString & operator+=(char c)
VhdlString(const char *s, int size)
Minimal string class with std::string like behaviour that fulfills the JavaCC string requirements...
const char & operator[](int i) const
VhdlString substr(int pos=0, int len=-1)