Package smetana.core
Class CString
- java.lang.Object
-
- smetana.core.UnsupportedC
-
- smetana.core.CString
-
- All Implemented Interfaces:
__c__fields,__ptr__,Area
public class CString extends UnsupportedC implements __ptr__, Area
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description __ptr__addVirtualBytes(int bytes)charcharAt(int i)intcompareTo(CString other)intcompareTo(CString other, int num)voidcopyFrom(CString source, int nb)CStringduplicate()java.lang.StringgetContent()ST_refstr_tgetParent()intgetUid()booleanisSame(CString other)booleanisSameThan(CString other)intlength()voidmemcopyFrom(Area source)CStringplus(int pointerMove)charsetCharAt(int i, char c)voidsetParent(ST_refstr_t struct)CStringstrchr(char c)CStringstrdup()java.lang.StringtoString()-
Methods inherited from class smetana.core.UnsupportedC
castTo, comparePointer, copyDataFrom, copyDataFrom, getDebug, getDouble, getInt, getPtr, getStruct, minus, setDouble, setDouble, setInt, setInt, setPtr, setPtr, setStruct, setStruct, unsupported
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface smetana.core.__c__fields
setDouble, setInt, setPtr, setStruct
-
Methods inherited from interface smetana.core.__ptr__
castTo, comparePointer, copyDataFrom, copyDataFrom, getDebug, getDouble, getInt, getPtr, getStruct, minus, setDouble, setInt, setPtr, setStruct, unsupported
-
-
-
-
Method Detail
-
isSameThan
public boolean isSameThan(CString other)
-
memcopyFrom
public void memcopyFrom(Area source)
- Specified by:
memcopyFromin interfaceArea
-
duplicate
public CString duplicate()
-
strdup
public CString strdup()
-
addVirtualBytes
public __ptr__ addVirtualBytes(int bytes)
- Specified by:
addVirtualBytesin interface__ptr__- Overrides:
addVirtualBytesin classUnsupportedC
-
getParent
public ST_refstr_t getParent()
-
setParent
public void setParent(ST_refstr_t struct)
-
plus
public CString plus(int pointerMove)
- Specified by:
plusin interface__ptr__- Overrides:
plusin classUnsupportedC
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getContent
public java.lang.String getContent()
-
charAt
public char charAt(int i)
-
setCharAt
public char setCharAt(int i, char c)
-
length
public int length()
-
compareTo
public int compareTo(CString other)
-
compareTo
public int compareTo(CString other, int num)
-
copyFrom
public void copyFrom(CString source, int nb)
-
strchr
public CString strchr(char c)
-
isSame
public boolean isSame(CString other)
-
getUid
public int getUid()
-
-